Cargo Features
[dependencies]
wapm-cli = { version = "0.5.9", default-features = false, features = ["sqlite-bundled", "telemetry", "update-notifications", "prehash-module", "packagesigning", "full", "integration_tests"] }
- default = full, packagesigning, sqlite-bundled
-
These default features are set whenever
wapm-cli
is added without
somewhere in the dependency tree.default-features = false - sqlite-bundled default
-
Enables bundled of rusqlite ^0.24
- telemetry = sentry
-
Affects
config::Config.telemetry
,config::Telemetry
,util::telemetry_is_enabled
… - update-notifications = billboard, colored
-
Affects
config::Config.update_notifications
,config::UpdateNotifications
,wapm-cli::update_notifier
,util::get_latest_runtime_version
,util::compare_versions
… - prehash-module = blake3, hex
-
Affects
util::get_hashed_module_key
… - packagesigning default
-
[cfg(feature = "full")]
- full default = dirs, prettytable-rs, reqwest, rusqlite
-
Affects
keys::get_personal_keys_from_database
,keys::get_wapm_public_keys_from_database
,keys::get_full_personal_public_key_by_id
,keys::get_active_personal_key
,keys::delete_key_pair
,keys::normalize_public_key
,keys::add_personal_key_pair_to_database
,keys::import_public_key
,keys::get_latest_public_key_for_user
,validate::validate_directory
… - integration_tests = maplit
-
Enables integration_tests of wapm-toml ^0.3.0
Affects
wapm-cli::integration_tests
…
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.
- billboard update-notifications?
-
Enables billboard ^0.1.0
- colored update-notifications?
-
Enables colored ^1.8
- dirs full
-
Enables dirs ^4
- maplit integration_tests?
- prettytable-rs full
-
Enables prettytable-rs ^0.8.0
- rusqlite full sqlite-bundled
-
Enables rusqlite ^0.24
- sentry telemetry?
-
Enables sentry ^0.22.0
- hex prehash-module?
- blake3 prehash-module?
-
Enables blake3 ^0.3.1
- reqwest not wasi full
-
Enables reqwest ^0.11.0