diff --git a/Cargo.toml b/Cargo.toml index 1d46ba6..5fa6bb4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,13 +13,13 @@ description = "RPC client for Monero daemon and wallet" [dependencies] anyhow = "1" chrono = { version = "0.4", default-features = false, features = ["serde"] } -diqwest = { version = "1.1", optional = true } +diqwest = { version = "1.2.1", default-features = false, optional = true } fixed-hash = "0.8" hex = "0.4" http = "0.2" jsonrpc-core = "18" monero = { version = "0.19", features = ["serde"] } -reqwest = { version = "0.11", features = ["json", "socks"] } +reqwest = { version = "0.11", default-features = false, features = ["json", "socks"] } serde = { version = "1", features = ["derive"] } serde_json = "1" tracing = "0.1" @@ -33,7 +33,11 @@ serde_test = "1.0" tokio = { version = "1.12.0", features = ["full"] } [features] +default = ["native-tls"] + rpc_authentication = ["diqwest"] +native-tls = ["reqwest/native-tls", "diqwest/default"] +rustls-tls = ["reqwest/rustls-tls-native-roots", "diqwest/rustls-tls"] [package.metadata.docs.rs] all-features = true