Cargo Features
[dependencies]
mineflake = { version = "0.2.2", default-features = false, features = ["cli", "net"] }
- default = cli, net
-
These default features are set whenever
mineflake
is added without
somewhere in the dependency tree.default-features = false - cli default = clap, pretty_env_logger
-
Affects
utils::log
… - net default = copy_dir, num_cpus, reqwest, sha256, url, zip
-
Affects
package::PackageTrait.move_to_cache
,package::RemotePackage
,package::RepositoryPackage
,package::SpigotPackage
,utils::net
…
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.