Cargo Features
[dependencies]
cargo-leet = { version = "0.3.0", default-features = false, features = ["leet_env", "tool"] }
- default = leet_env
-
The
leet_env
feature is set by default whenevercargo-leet
is added without
somewhere in the dependency tree.default-features = false - leet_env default
-
Add support for leetcode's environment
- tool = anyhow, cargo-generate, clap, convert_case, env_logger, itertools, log, regex, serde, serde_json, strum, toml, ureq
-
Items used when running as a binary
Required by the binary
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.