Cargo Features
[dependencies]
libnotcurses-sys = { version = "3.11.0", default-features = false, features = ["std", "nightly", "nightly_docs", "keep_vendored", "use_vendored_bindings", "vendor_bindings", "vendor_csource", "compile_csource"] }
- default = keep_vendored, libc
-
These default features are set whenever
libnotcurses-sys
is added without
somewhere in the dependency tree.default-features = false - std nightly_docs? = libc
- nightly nightly_docs?
- nightly_docs = nightly, std, use_vendored_bindings
- keep_vendored default compile_csource? use_vendored_bindings?
-
enable this feature to keep the vendored files, instead of deleting them.
- use_vendored_bindings nightly_docs? = keep_vendored
-
enable this feature to use the already vendored bindings to compile the crate.
This eliminates the need to embed the C source in the crate just for docs.rs. - vendor_bindings
-
enable this feature to vendor the bindgen generated bindings into the crate. It needs to have https://github.com/dankamongmen/notcurses installed on path.
- vendor_csource
-
enable this feature to vendor the C source code into the crate. It needs to have https://github.com/dankamongmen/notcurses installed on path.
- compile_csource = cc, keep_vendored
-
enable this feature to compile the notcurses C source code.
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.
- libc default std?
-
Enables libc
A dependency's version number must be the minimum available in all of:
Affects
reimplemented::nccell_strdup
,reimplemented::nccell_extract
,reimplemented::nccellcmp
… - cc build compile_csource?