Cargo Features
[dependencies]
cargo-prebuilt = { version = "0.7.5", default-features = false, features = ["default-native", "default-rustls", "default-no-tls", "indexes", "github-public", "github-private", "rustls", "rustls-native-certs", "native", "vendored-openssl", "dl-cp-brotli", "mimalloc"] }
- default = default-rustls
-
The
default-rustls
feature is set by default whenevercargo-prebuilt
is added without
somewhere in the dependency tree.default-features = false - default-native = default-no-tls, native
- default-rustls default = default-no-tls, rustls
- default-no-tls default-native? default-rustls = indexes
- indexes default-no-tls? = github-private, github-public
-
Indexes to allow
- github-public indexes?
- github-private indexes?
-
Considered beta
- rustls default-rustls rustls-native-certs?
-
Use rustls for tls
- rustls-native-certs = rustls
-
Enables native-certs of ureq
- native default-native? vendored-openssl? = native-tls
-
Use openssl/native for tls
Enables native-tls of ureq
- vendored-openssl = native
-
Enables vendored of native-tls
- dl-cp-brotli
-
Allow downloading of compressed files with brotli
- mimalloc
-
Use mimalloc for the allocator
Enables mimalloc
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.