Cargo Features
[dependencies]
natural_syntax = { version = "0.0.2", default-features = false, features = ["download-libtorch", "num", "serde"] }
- default = download-libtorch, num, serde
-
These default features are set whenever
natural_syntax
is added without
somewhere in the dependency tree.default-features = false - download-libtorch default
-
Enables download-libtorch of rust-bert ^0.22
- num default
-
Enables num-derive and num-traits
- serde default
-
Enables serde
natural_syntax has 4 features without comments.