mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-26 21:50:26 +00:00
93be7a3067
I didn't remove async-recursion when I updated the repo to 1.77 as I forgot we used it in the tests. I still had to add some Box::pins, which may have been a valid option, on the prior Rust version, yet at least resolves everything now. Also updates everything which doesn't introduce further depends.
34 lines
1.2 KiB
TOML
34 lines
1.2 KiB
TOML
[package]
|
|
name = "simple-request"
|
|
version = "0.1.0"
|
|
description = "A simple HTTP(S) request library"
|
|
license = "MIT"
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/common/simple-request"
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
keywords = ["http", "https", "async", "request", "ssl"]
|
|
edition = "2021"
|
|
rust-version = "1.64"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
tower-service = { version = "0.3", default-features = false }
|
|
hyper = { version = "1", default-features = false, features = ["http1", "client"] }
|
|
hyper-util = { version = "0.1", default-features = false, features = ["http1", "client-legacy", "tokio"] }
|
|
http-body-util = { version = "0.1", default-features = false }
|
|
tokio = { version = "1", default-features = false }
|
|
|
|
hyper-rustls = { version = "0.27", default-features = false, features = ["http1", "ring", "rustls-native-certs", "native-tokio"], optional = true }
|
|
|
|
zeroize = { version = "1", optional = true }
|
|
base64ct = { version = "1", features = ["alloc"], optional = true }
|
|
|
|
[features]
|
|
tls = ["hyper-rustls"]
|
|
basic-auth = ["zeroize", "base64ct"]
|
|
default = ["tls"]
|