Cargo Features
[dependencies]
bwt = { version = "0.2.4", default-features = false, features = ["cli", "extra", "electrum", "http", "webhooks", "track-spends", "android"] }
- default = cli, electrum, http, track-spends
-
These default features are set whenever
bwt
is added without
somewhere in the dependency tree.default-features = false - cli default = dotenv, extra, structopt
-
Affects
util::fd_readiness_notification
…Required by the binary
- extra cli = dirs, pretty_env_logger, signal-hook
- electrum default
-
Affects
config::Config.electrum_addr
,config::Config.electrum_skip_merkle
,config::Config.electrum_socks_auth
,bwt::electrum
,auth::electrum_socks5_auth
… - http default = tokio, tokio-stream, warp
-
Enables base64 of bitcoin ^0.26.0
Affects
config::Config.http_addr
,config::Config.http_cors
,bwt::http
,auth::http_basic_auth
… - webhooks = reqwest
-
Affects
config::Config.webhook_urls
,bwt::webhooks
… - track-spends default
-
Affects
query::Txo.spent_by
… - android = android_logger
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.
- tokio http
-
Enables tokio
http deps
Affects
util::block_on_future
… - tokio-stream http
- warp http
- reqwest webhooks?
-
Enables reqwest ^0.11.0
webhooks deps
- android_logger android?
-
Enables android_logger ^0.9.1
android deps
- structopt cli
-
Enables structopt
cli/extra deps
- dotenv cli
- dirs extra?
-
Enables dirs ^3.0.1
- pretty_env_logger extra?
-
Enables pretty_env_logger ^0.4.0
- signal-hook unix extra?
-
Enables signal-hook ^0.1.16