Split up librqbit http_api and tracing_subscriber into separate features (#188)

* fix lints that were under features

* Split up some features and fix desktop

* fix github script

* fix github script

* fix github script

* try caching check-desktop
This commit is contained in:
Igor Katson 2024-08-15 18:54:59 +01:00 • committed by GitHub
parent 33554159bf
commit 37ee8b70ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 65 additions and 36 deletions

View file

@ -13,12 +13,14 @@ readme = "README.md"
[features]
default = ["default-tls"]
http-api = ["axum", "tower-http"]
webui = []
timed_existence = []
default-tls = ["reqwest/default-tls"]
rust-tls = ["reqwest/rustls-tls"]
storage_middleware = ["lru"]
storage_examples = []
tracing-subscriber-utils = ["tracing-subscriber"]
postgres = ["sqlx"]
[dependencies]
@ -42,8 +44,8 @@ tokio = { version = "1", features = [
"fs",
"io-util",
] }
axum = { version = "0.7.4" }
tower-http = { version = "0.5", features = ["cors", "trace"] }
axum = { version = "0.7.4", optional = true }
tower-http = { version = "0.5", features = ["cors", "trace"], optional = true }
tokio-stream = "0.1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
@ -64,15 +66,11 @@ parking_lot = "0.12"
tracing = "0.1.40"
size_format = "1"
rand = "0.8"
openssl = { version = "0.10", optional = true }
crypto-hash = { version = "0.3", optional = true }
sha1 = { version = "0.10", optional = true }
tracing-subscriber = { version = "0.3", default-features = false, features = [
"json",
"fmt",
"env-filter",
] }
], optional = true }
uuid = { version = "1.2", features = ["v4"] }
futures = "0.3"
url = "2"