Cargo Features
[dependencies]
linkspace-common = { version = "0.1.1", default-features = false, features = ["full", "lmdb", "inmem", "fs", "cli"] }
- default = full, lmdb
-
These default features are set whenever
linkspace-common
is added without
somewhere in the dependency tree.default-features = false - full default = cli, fs
- lmdb default
-
Enables lmdb of linkspace-core
- inmem
-
Enables inmem of linkspace-core
- fs full = memmap2, notify
-
Affects
impex::blobmap
… - cli full = clap, rpassword
-
clap:
Use environment variables during arg parsing
Affects
linkspace-common::cli
…
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.
- memmap2 fs?
-
Enables memmap2 ^0.5.5
- notify fs?
-
Enables notify ^5.0
- rpassword cli?
- clap cli?