Skip to content

Commit

Permalink
✨ Add optional feature rustls-tls
Browse files Browse the repository at this point in the history
  • Loading branch information
H1rono committed Jul 29, 2024
1 parent 59501b2 commit fe3e12e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,20 @@ documentation = "https://github.com/traPtitech/rust-traq/tree/main/docs"
keywords = ["traq", "openapi"]
edition = "2021"

[features]
default = ["native-tls"]
native-tls = ["reqwest/native-tls"]
rustls-tls = ["reqwest/rustls-tls"]

[dependencies]
serde = "^1.0"
serde_derive = "^1.0"
serde_json = "^1.0"
serde_repr = "^0.1"
url = "^2.5"
uuid = { version = "^1.0", features = ["serde"] }

[dependencies.reqwest]
version = "^0.12"
features = ["json", "multipart"]
default-features = false
features = ["json", "multipart", "charset", "http2", "macos-system-configuration"]

0 comments on commit fe3e12e

Please sign in to comment.