Cargo Features
[dependencies]
elasticsearch = { version = "8.16.0-alpha.1", default-features = false, features = ["beta-apis", "experimental-apis", "native-tls", "rustls-tls"] }
- default = native-tls
-
The
native-tls
feature is set by default wheneverelasticsearch
is added without
somewhere in the dependency tree.default-features = false - beta-apis experimental-apis?
-
beta and experimental APIs
- experimental-apis = beta-apis
-
Affects
cat::CatTasksParts
,cat::CatTasks
,connector::ConnectorCheckInParts
,connector::ConnectorCheckIn
,connector::ConnectorDeleteParts
,connector::ConnectorDelete
,connector::ConnectorGetParts
,connector::ConnectorGet
,connector::ConnectorLastSyncParts
,connector::ConnectorLastSync
,connector::ConnectorListParts
,connector::ConnectorList
,connector::ConnectorPostParts
,connector::ConnectorPost
,connector::ConnectorPutParts
,connector::ConnectorPut
,connector::ConnectorSecretDeleteParts
,connector::ConnectorSecretDelete
,features::FeaturesResetFeaturesParts
,features::FeaturesResetFeatures
… - 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
…