11 lines
846 B
Markdown
11 lines
846 B
Markdown
<!-- snippet:skip reason="Elixir Rustler NIFs cannot host async Send + Sync + 'static Rust trait objects via callbacks; the BEAM actor-model boundary requires plugin work to live in the Rust core. The alef-generated Elixir trait_call macro additionally has a backslash/encoding bug (separate alef-codegen ticket). Custom plugins must be implemented in Rust." -->
|
|
Document extractor registration is not available in the Elixir binding. Custom extractors must be implemented in Rust using the `DocumentExtractor` trait and registered in the Rust core.
|
|
|
|
To use custom extractors in Elixir:
|
|
|
|
1. Implement the extractor in Rust using the `DocumentExtractor` trait
|
|
2. Register the extractor in the Rust core's registry
|
|
3. Call the extraction functions from Elixir
|
|
|
|
See the Rust plugin documentation for implementing custom `DocumentExtractor` plugins.
|