diff --git a/Cargo.lock b/Cargo.lock index a480d8db..da403be9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1236,8 +1236,7 @@ dependencies = [ [[package]] name = "ureq-proto" version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcec9cbfbf05a7feef00db0295c6183f468635c7adb12a31e941f3660b071bff" +source = "git+https://github.com/algesten/ureq-proto.git?rev=baf0cd4#baf0cd408bdcb08be481008bc2b688c0fa984ecc" dependencies = [ "http", "httparse", diff --git a/Cargo.toml b/Cargo.toml index 2f814bf5..875446b5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,6 +19,7 @@ rust-version = "1.71.1" features = ["rustls", "platform-verifier", "native-tls", "socks-proxy", "cookies", "gzip", "brotli", "charset", "json", "_test"] [features] +#default = ["rustls", "gzip", "json", "std"] default = ["rustls", "gzip", "json"] rustls = ["dep:rustls", "_tls", "dep:webpki-roots"] platform-verifier = ["dep:rustls-platform-verifier"] @@ -30,6 +31,7 @@ brotli = ["dep:brotli-decompressor"] charset = ["dep:encoding_rs"] json = ["dep:serde", "dep:serde_json", "cookie_store?/serde_json"] vendored = ["native-tls?/vendored"] +std = ["ureq-proto/std"] # Underscore prefixed features are internal _url = ["dep:url"] @@ -38,7 +40,7 @@ _test = [] [dependencies] base64 = "0.22.1" -ureq-proto = "0.2.0" +ureq-proto = { git = "https://github.com/algesten/ureq-proto.git", rev = "baf0cd4", default-features = false } # ureq-proto = { path = "../ureq-proto" } log = "0.4.22" once_cell = "1.19.0"