Cargo Features
[dependencies]
libseat = { version = "0.2.1", default-features = false, features = ["custom_logger"] }
- default = custom_logger
-
The
custom_logger
feature is set by default wheneverlibseat
is added without
somewhere in the dependency tree.default-features = false - custom_logger default = cc, pkg-config
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.
- cc build custom_logger
- pkg-config build custom_logger