Skip to content

Commit

Permalink
std feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
algesten committed Nov 30, 2024
1 parent 8c1f9d9 commit 4a8c74f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -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"]
Expand All @@ -38,7 +40,7 @@ _test = []

[dependencies]
base64 = "0.22.1"
ureq-proto = { git = "https://github.com/algesten/ureq-proto.git", rev = "baf0cd4" }
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"
Expand Down

0 comments on commit 4a8c74f

Please sign in to comment.