Cargo Features
[dependencies]
nexers = { version = "0.1.6", default-features = false, features = ["db", "jemallocator"] }
- default = db
-
The
db
feature is set by default whenevernexers
is added without
somewhere in the dependency tree.default-features = false - db default = rusqlite
-
jemallocator: use the allocator (e.g. in examples), 30% speedup
enable the database writing codeAffects
nexers::db
…
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.
- jemallocator implicit feature
-
Enables jemallocator
jemallocator:
A Rust allocator backed by jemalloc
- rusqlite db
-
Enables rusqlite ^0.30