Cargo Features
[dependencies]
cephalon = { version = "0.0.10", default-features = false, features = ["doc-only", "no-ml", "rust-bert"] }
- default = rust-bert, tch
-
These default features are set whenever
cephalon
is added without
somewhere in the dependency tree.default-features = false - doc-only
-
Enables doc-only of tch ^0.13.0
- no-ml
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.
- rust-bert default
-
Enables rust-bert ^0.21.0
- tch default doc-only?
-
Enables tch ^0.13.0