Cargo Features
[dependencies]
dcpu = { version = "0.5.0", default-features = false, features = ["nightly", "bins", "debugger-cli", "old-device-id", "clippy", "glium"] }
- default = bins, debugger-cli, glium, old-device-id
-
These default features are set whenever
dcpu
is added without
somewhere in the dependency tree.default-features = false - nightly = serde, serde_derive, serde_json
- bins default = docopt, rustc-serialize, simplelog
- debugger-cli default = clap, colored, rustyline
- old-device-id default
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.
- clippy implicit feature
-
Enables clippy
clippy:
A bunch of helpful lints to avoid common pitfalls in Rust
- clap debugger-cli
-
Enables clap ^2.14
- colored debugger-cli
-
Enables colored ^1.3
- docopt bins
-
Enables docopt ^0.6
- glium default
-
Enables glium ^0.15
- rustc-serialize bins
- rustyline debugger-cli
-
Enables rustyline ^1.0
- serde nightly?
-
Enables serde ^0.8
- serde_derive nightly?
-
Enables serde_derive ^0.8
- serde_json nightly?
-
Enables serde_json ^0.8
- simplelog bins
-
Enables simplelog ^0.4