Cargo Features
[dependencies]
vaporetto = { version = "0.6.4", default-features = false, features = ["alloc", "std", "cache-type-score", "fix-weight-length", "tag-prediction", "charwise-pma", "kytea", "train", "portable-simd"] }
- default = cache-type-score, charwise-pma, fix-weight-length, std, tag-prediction
-
These default features are set whenever
vaporetto
is added without
somewhere in the dependency tree.default-features = false - alloc cache-type-score charwise-pma fix-weight-length std tag-prediction
-
default: on
- std default kytea? train? = alloc
-
MIT
- cache-type-score default = alloc
- fix-weight-length default portable-simd? = alloc
-
Affects
predictor::I32Simd
,utils::trim_end_zeros
,predictor::I32Simd
… - tag-prediction default = alloc
-
Affects
predictor::PositionalWeightWithTag
… - charwise-pma default = alloc
- kytea = std
-
Affects
dict_model::DictWeight
,utils::read_u8
,utils::read_u16
,utils::read_i16
,utils::read_u32
,utils::read_i32
,utils::read_f64
… - train = liblinear, std
- portable-simd = fix-weight-length
-
Affects
predictor::I32Simd
…
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.