diff --git a/Cargo.toml b/Cargo.toml index 54401ed..62e3786 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,7 +30,7 @@ prost-types = "0.9" thiserror = "1" dynamic-protobuf = "0" -reqwest = "0.11" +reqwest = { version = "0.11", default-features = false } crypto-common = "0.1" serde_json = "1.0" block-padding = "0.3" diff --git a/ricq/Cargo.toml b/ricq/Cargo.toml index 7d623e8..1fc3b6c 100644 --- a/ricq/Cargo.toml +++ b/ricq/Cargo.toml @@ -12,6 +12,7 @@ keywords = ["qq", "protocol", "android", "mirai"] [features] default = [] image-detail = ["image"] +rustls = ["reqwest/rustls-tls"] [dependencies] ricq-core = { path = "../ricq-core" } @@ -30,5 +31,5 @@ serde = { workspace = true, features = ["derive"] } tokio = { workspace = true, features = ["rt", "macros", "net", "time"] } tokio-util = { workspace = true, features = ["codec"] } tracing.workspace = true -reqwest = { workspace = true, features = ["json"] } +reqwest = { workspace = true, default-features = false, features = ["json"] } async-recursion = "1.0" \ No newline at end of file