Cargo Features
[dependencies]
cargo-mobile2 = { version = "0.17.5", default-features = false, features = ["cli", "brainium", "rustls", "native-tls"] }
- default = cli, native-tls
-
These default features are set whenever
cargo-mobile2
is added without
somewhere in the dependency tree.default-features = false - cli default = dunce, env_logger, handlebars, home, log, serde, serde_json, structopt, thiserror
-
Affects
android::cli
,apple::cli
…Required by cargo-android, cargo-apple and cargo-mobile binaries
- brainium
- rustls
-
ureq:
SUPPORTED FEATURES
- native-tls default
-
Enables native-tls of ureq
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.