Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefix deps with dep: in features #1964

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ default = ["default-tls"]

# Note: this doesn't enable the 'native-tls' feature, which adds specific
# functionality for it.
default-tls = ["hyper-tls", "native-tls-crate", "__tls", "tokio-native-tls"]
default-tls = ["hyper-tls", "dep:native-tls-crate", "__tls", "dep:tokio-native-tls"]

# Enables native-tls specific functionality not available by default.
native-tls = ["default-tls"]
Expand All @@ -40,31 +40,31 @@ native-tls-vendored = ["native-tls", "native-tls-crate/vendored"]

rustls-tls = ["rustls-tls-webpki-roots"]
rustls-tls-manual-roots = ["__rustls"]
rustls-tls-webpki-roots = ["webpki-roots", "__rustls"]
rustls-tls-webpki-roots = ["dep:webpki-roots", "__rustls"]
rustls-tls-native-roots = ["rustls-native-certs", "__rustls"]

blocking = ["futures-util/io", "tokio/rt-multi-thread", "tokio/sync"]

cookies = ["cookie_crate", "cookie_store"]
cookies = ["dep:cookie_crate", "dep:cookie_store"]

gzip = ["async-compression", "async-compression/gzip", "tokio-util"]
gzip = ["dep:async-compression", "async-compression/gzip", "dep:tokio-util"]

brotli = ["async-compression", "async-compression/brotli", "tokio-util"]
brotli = ["dep:async-compression", "async-compression/brotli", "dep:tokio-util"]

deflate = ["async-compression", "async-compression/zlib", "tokio-util"]
deflate = ["dep:async-compression", "async-compression/zlib", "dep:tokio-util"]

json = ["serde_json"]
json = ["dep:serde_json"]

multipart = ["mime_guess"]
multipart = ["dep:mime_guess"]

trust-dns = ["trust-dns-resolver"]
trust-dns = ["dep:trust-dns-resolver"]

stream = ["tokio/fs", "tokio-util", "wasm-streams"]
stream = ["tokio/fs", "dep:tokio-util", "dep:wasm-streams"]

socks = ["tokio-socks"]
socks = ["dep:tokio-socks"]

# Experimental HTTP/3 client.
http3 = ["rustls-tls-manual-roots", "h3", "h3-quinn", "quinn", "futures-channel"]
http3 = ["rustls-tls-manual-roots", "dep:h3", "dep:h3-quinn", "dep:quinn", "dep:futures-channel"]

# Internal (PRIVATE!) features used to aid testing.
# Don't rely on these whatsoever. They may disappear at anytime.
Expand All @@ -74,7 +74,7 @@ __tls = []

# Enables common rustls code.
# Equivalent to rustls-tls-manual-roots but shorter :)
__rustls = ["hyper-rustls", "tokio-rustls", "rustls", "__tls", "rustls-pemfile"]
__rustls = ["dep:hyper-rustls", "dep:tokio-rustls", "dep:rustls", "__tls", "dep:rustls-pemfile"]

# When enabled, disable using the cached SYS_PROXIES.
__internal_proxy_sys_no_cache = []
Expand Down