Cargo Features
[dependencies]
metaplex-pulsar = { version = "4.1.1", default-features = false, features = ["compression", "tokio-runtime", "async-std-runtime", "auth-oauth2"] }
- default = async-std-runtime, auth-oauth2, compression, tokio-runtime
-
These default features are set whenever
metaplex-pulsar
is added without
somewhere in the dependency tree.default-features = false - compression default = flate2, lz4, snap, zstd
- tokio-runtime default = tokio, tokio-native-tls, tokio-util
-
Affects
executor::TokioExecutor
… - async-std-runtime default = async-native-tls, async-std, asynchronous-codec
-
Affects
executor::AsyncStdExecutor
… - auth-oauth2 default = data-url, oauth2, openidconnect, serde, serde_json
-
Affects
authentication::oauth2
…
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.
- tokio tokio-runtime
- tokio-util tokio-runtime
- tokio-native-tls tokio-runtime
- async-std async-std-runtime
- asynchronous-codec async-std-runtime
-
Enables asynchronous-codec ^0.6
- async-native-tls async-std-runtime
-
Enables async-native-tls ^0.3
- lz4 compression
- flate2 compression
- zstd compression
-
Enables zstd ^0.11
- snap compression
- openidconnect auth-oauth2
-
Enables openidconnect ^2.1.1
- oauth2 auth-oauth2
- serde auth-oauth2
- serde_json auth-oauth2
- data-url auth-oauth2
-
Enables data-url ^0.1.1