Cargo Features

[dependencies]
opensearch = { version = "2.2.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 whenever opensearch is added without default-features = false somewhere in the dependency tree.

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 ^0.11

Affects auth::ClientCertificate, cert::CertificateValidation, cert::Certificate

rustls-tls

Enables rustls-tls of reqwest ^0.11

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.

aws-credential-types aws-auth?
aws-sigv4 aws-auth?
aws-smithy-runtime-api aws-auth?
aws-types aws-auth?