Cargo Features
mongor has no features set by default.
[dependencies]
mongor = { version = "0.1.10", features = ["grid_fs", "mongodb_sync", "mongodb_gcp_kms", "mongodb_gcp_oidc", "mongodb_aws_auth", "mongodb_azure_kms", "mongodb_azure_oidc", "mongodb_openssl_tls", "mongodb_tracing_unstable", "mongodb_zlib_compression", "mongodb_zstd_compression", "mongodb_snappy_compression", "mongodb_in_use_encryption_unstable"] }
- grid_fs = futures-util
-
Affects
grid_fs::GridFs
,mongor::grid_fs
… - mongodb_sync
- mongodb_gcp_kms
-
mongodb:
Enable support for on-demand GCP KMS credentials.
This can only be used with the tokio-runtime feature flag. - mongodb_gcp_oidc
-
mongodb:
Enable support for gcp OIDC authentication.
- mongodb_aws_auth
-
mongodb:
Enable support for MONGODB-AWS authentication.
This can only be used with the tokio-runtime feature flag. - mongodb_azure_kms
-
mongodb:
Enable support for on-demand Azure KMS credentials.
This can only be used with the tokio-runtime feature flag. - mongodb_azure_oidc
-
Enables azure-oidc of mongodb
mongodb:
Enable support for azure OIDC authentication.
- mongodb_openssl_tls
-
Enables openssl-tls of mongodb
- mongodb_tracing_unstable
-
Enables tracing-unstable of mongodb
mongodb:
Enables support for emitting tracing events. The tracing API is unstable and may have backwards-incompatible changes in minor version updates. TODO: pending https://github.com/tokio-rs/tracing/issues/2036 stop depending directly on log.
- mongodb_zlib_compression
-
Enables zlib-compression of mongodb
- mongodb_zstd_compression
-
Enables zstd-compression of mongodb
- mongodb_snappy_compression
-
Enables snappy-compression of mongodb
- mongodb_in_use_encryption_unstable
-
Enables in-use-encryption-unstable of mongodb
mongodb:
The in-use encryption API is stable; this is for backwards compatibility.
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.