Cargo Features
rten-generate has no features set by default.
[dependencies]
rten-generate = { version = "0.13.1", features = ["text-decoder"] }
- text-decoder = rten-text
-
Enable text decoding using tokenizers from rten-text
Affects
generator::GeneratorUtils.decode
,rten-generate::text_decoder
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.