Cargo Features
[dependencies]
necessist-core = { version = "1.0.0", default-features = false, features = ["limit_threads", "lock_root", "clap"] }
- default = limit_threads, lock_root
-
These default features are set whenever
necessist-core
is added without
somewhere in the dependency tree.default-features = false - limit_threads default = rlimit
- lock_root default = libc, windows-sys
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.
- clap implicit feature
-
Enables clap
clap:
A simple to use, efficient, and full-featured Command Line Argument Parser
Affects
necessist-core::cli
… - libc unix lock_root
- rlimit unix limit_threads
- windows-sys win lock_root