Cargo Features

[dependencies]
cargo-mobile2 = { version = "0.17.4", default-features = false, features = ["cli", "brainium", "rustls", "native-tls"] }
default = cli, native-tls

These default features are set whenever cargo-mobile2 is added without default-features = false somewhere in the dependency tree.

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

Enables tls of ureq

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.

handlebars build cli
serde_json build cli
dunce build cli
env_logger cli
home build cli
log build cli
serde build cli
structopt cli
thiserror build cli

Enables thiserror ^1.0