Cargo Features
KBNF has no features set by default.
[dependencies]
kbnf = { version = "0.5.5", features = ["wasm", "python", "mimalloc"] }
- wasm = js-sys, serde-wasm-bindgen, wasm-bindgen
-
getrandom:
Feature to enable JavaScript bindings on wasm*-unknown-unknown
Affects
ffi_bindings::CreateVocabularyErrorJs
… - python = pyo3, pyo3-log
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.
- wasm-bindgen wasm?
- serde-wasm-bindgen wasm?
- js-sys wasm?
- pyo3 python?
-
Enables pyo3 ^0.22
- mimalloc implicit feature
-
Enables mimalloc
mimalloc:
Performance and security oriented drop-in allocator
- pyo3-log python?
-
Enables pyo3-log ^0.11.0