Cargo Features
[dependencies]
librqbit = { version = "8.0.0", default-features = false, features = ["tokio-console", "http-api", "upnp-serve-adapter", "timed_existence", "default-tls", "rust-tls", "storage_middleware", "storage_examples", "tracing-subscriber-utils", "postgres", "async-bt", "watch", "disable-upload"] }
- default = default-tls
-
The
default-tls
feature is set by default wheneverlibrqbit
is added without
somewhere in the dependency tree.default-features = false - tokio-console = console-subscriber
- http-api = axum, tower-http
-
Affects
librqbit::http_api
,librqbit::http_api_client
,librqbit::upnp_server_adapter
… - upnp-serve-adapter = upnp-serve
-
Affects
librqbit::upnp_server_adapter
… - webui timed_existence
- default-tls default
-
Enables sha1-crypto-hash of librqbit-sha1-wrapper, sha1-crypto-hash of librqbit-bencode and librqbit-core and default-tls of reqwest
reqwest:
Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.
- rust-tls
-
Enables rustls-tls of reqwest, sha1-ring of librqbit-sha1-wrapper, sha1-ring of librqbit-bencode and librqbit-core
- storage_middleware = lru
-
Affects
storage::middleware
… - storage_examples
-
Affects
storage::examples
… - tracing-subscriber-utils = tracing-subscriber
-
Affects
librqbit::tracing_subscriber_config_utils
… - postgres = home, sqlx
-
Affects
session_persistence::postgres
… - async-bt = async-backtrace
- watch = notify
-
Affects
librqbit::watch
… - disable-upload
-
Affects
session::SessionOptions.disable_upload
…
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.
- sqlx postgres?
-
Enables sqlx =0.8.2
sqlx and home are pinned so that we can compile on older Rusts
- home postgres?
-
Enables home =0.5.5
- upnp-serve upnp-serve-adapter?
-
Enables librqbit-upnp-serve
- console-subscriber tokio-console?
- axum http-api?
- tower-http http-api?
- tracing-subscriber tracing-subscriber-utils?
- lru storage_middleware?
- async-backtrace async-bt?
- notify watch?
-
Enables notify ^7