Cargo Features
[dependencies]
hallucination-detection = { version = "0.1.5", default-features = false, features = ["ner", "download-onnx", "onnx"] }
- default = ner
-
The
ner
feature is set by default wheneverhallucination-detection
is added without
somewhere in the dependency tree.default-features = false - ner default = rust-bert
-
Affects
hallucination-detection::EntityRecognizer
… - download-onnx
-
Enables download-binaries of optional ort
- onnx = ort
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.