Cargo Features
[dependencies]
opensearch = { version = "2.3.0", default-features = false, features = ["beta-apis", "experimental-apis", "native-tls", "rustls-tls", "aws-auth"] }
- default = native-tls
-
The
native-tls
feature is set by default wheneveropensearch
is added without
somewhere in the dependency tree.default-features = false - beta-apis experimental-apis?
-
beta and experimental APIs
- experimental-apis = beta-apis
-
Affects
indices::IndicesResolveIndexParts
,indices::IndicesResolveIndex
,params::Format
,params::GroupBy
,root::GetScriptContextParts
,root::GetScriptContext
,root::GetScriptLanguagesParts
,root::GetScriptLanguages
,root::RankEvalParts
,root::RankEval
,root::ScriptsPainlessExecuteParts
,root::ScriptsPainlessExecute
,tasks::TasksCancelParts
,tasks::TasksCancel
,tasks::TasksGetParts
,tasks::TasksGet
,tasks::TasksListParts
,tasks::TasksList
,tasks::Tasks
,text_structure::TextStructureFindStructureParts
… - native-tls default
-
optional TLS
Enables native-tls of reqwest
Affects
auth::ClientCertificate
,cert::CertificateValidation
,cert::Certificate
… - rustls-tls
-
Enables rustls-tls of reqwest
Affects
auth::ClientCertificate
,cert::CertificateValidation
,cert::Certificate
… - aws-auth = aws-credential-types, aws-sigv4, aws-smithy-runtime-api, aws-types
-
AWS SigV4 Auth support
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.