Cargo Features

[dependencies]
cargo-leet = { version = "0.2.0", default-features = false, features = ["leet_env", "tool"] }
default = leet_env

The leet_env feature is set by default whenever cargo-leet is added without default-features = false somewhere in the dependency tree.

leet_env default

Add support for leetcode's environment

tool = anyhow, clap, convert_case, env_logger, log, regex, serde, serde_flat_path, 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.

anyhow tool?
convert_case tool?
env_logger tool?

Enables env_logger ^0.10.0

log tool?
regex tool?
serde_flat_path tool?

Enables serde_flat_path ^0.1.2

clap tool?
serde tool?
ureq tool?