Cargo Features
[dependencies]
checksec = { version = "0.0.9", default-features = false, features = ["color", "elf", "macho", "pe", "shared"] }
- default = color, elf, macho, pe
-
These default features are set whenever
checksec
is added without
somewhere in the dependency tree.default-features = false - color default = colored, colored_json
- elf default = shared
-
Affects
checksec::elf
… - macho default = shared
-
Affects
checksec::macho
… - pe default
-
Affects
checksec::pe
… -
Affects
checksec::shared
…
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.
- colored color
- colored_json color
-
Enables colored_json ^2.1.0