diff options
| author | mat <github@matdoes.dev> | 2023-02-24 19:15:49 +0000 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2023-02-24 19:15:49 +0000 |
| commit | f5a8a59467a0aac3ae2f728961559217f1e1242d (patch) | |
| tree | 72e7a01cfa2ee44be8ea526a67c45abc24e87010 /azalea-auth | |
| parent | 21e3f73c23d750995a1bf715fe6191584cf4064d (diff) | |
| download | azalea-drasl-f5a8a59467a0aac3ae2f728961559217f1e1242d.tar.xz | |
use rustls in reqwest
Diffstat (limited to 'azalea-auth')
| -rw-r--r-- | azalea-auth/Cargo.toml | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/azalea-auth/Cargo.toml b/azalea-auth/Cargo.toml index 6caae583..65e6b9e6 100644 --- a/azalea-auth/Cargo.toml +++ b/azalea-auth/Cargo.toml @@ -9,18 +9,21 @@ version = "0.6.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -azalea-buf = {path = "../azalea-buf", version = "^0.6.0" } -azalea-crypto = {path = "../azalea-crypto", version = "^0.6.0" } -chrono = {version = "0.4.22", default-features = false} +azalea-buf = { path = "../azalea-buf", version = "^0.6.0" } +azalea-crypto = { path = "../azalea-crypto", version = "^0.6.0" } +chrono = { version = "0.4.22", default-features = false } log = "0.4.17" num-bigint = "0.4.3" -reqwest = {version = "0.11.12", features = ["json"]} -serde = {version = "1.0.145", features = ["derive"]} +reqwest = { version = "0.11.12", default-features = false, features = [ + "json", + "rustls-tls", +] } +serde = { version = "1.0.145", features = ["derive"] } serde_json = "1.0.86" thiserror = "1.0.37" -tokio = {version = "1.24.2", features = ["fs"]} -uuid = {version = "^1.1.2", features = ["serde"]} +tokio = { version = "1.24.2", features = ["fs"] } +uuid = { version = "^1.1.2", features = ["serde"] } [dev-dependencies] env_logger = "0.9.3" -tokio = {version = "1.24.2", features = ["full"]} +tokio = { version = "1.24.2", features = ["full"] } |
