Add rustls feature, bump version number
This commit is contained in:
parent
5d05eebd89
commit
7b7f1c6fa1
2 changed files with 520 additions and 259 deletions
769
Cargo.lock
generated
769
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
10
Cargo.toml
10
Cargo.toml
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "rustyfox"
|
||||
description = "A client for https://furaffinity-api.herokuapp.com"
|
||||
version = "0.1.0"
|
||||
version = "0.2"
|
||||
edition = "2021"
|
||||
repository = "https://git.doggoat.de/dhalucario/rustyfox.git"
|
||||
homepage = "https://furaffinity-api.herokuapp.com"
|
||||
|
@ -9,8 +9,12 @@ license = "MIT"
|
|||
|
||||
[dependencies]
|
||||
anyhow = "1.0"
|
||||
reqwest = { version = "0.12", features = ["json"] }
|
||||
reqwest = { version = "^0.12", default-features = false, features = ["charset", "http2", "system-proxy", "json"] }
|
||||
tokio = { version = "1.43", features = ["full", "rt-multi-thread"]}
|
||||
serde = { version = "1.0", features = ["default", "derive"]}
|
||||
serde_json = { version = "1.0", features = ["default", "std", "alloc"]}
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
|
||||
[features]
|
||||
default = ["native-tls"]
|
||||
rustls-tls = ["reqwest/rustls-tls"]
|
||||
native-tls = ["reqwest/native-tls"]
|
||||
|
|
Loading…
Reference in a new issue