Cargo Features

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

beta-apis experimental-apis?

beta and experimental APIs

Affects ml::MlClearTrainedModelDeploymentCacheParts, ml::MlClearTrainedModelDeploymentCache, ml::MlInferTrainedModelParts, ml::MlInferTrainedModel, ml::MlPutTrainedModelDefinitionPartParts, ml::MlPutTrainedModelDefinitionPart, ml::MlPutTrainedModelVocabularyParts, ml::MlPutTrainedModelVocabulary, ml::MlStartTrainedModelDeploymentParts, ml::MlStartTrainedModelDeployment, ml::MlStopTrainedModelDeploymentParts, ml::MlStopTrainedModelDeployment

experimental-apis = beta-apis

Affects cat::CatTasksParts, cat::CatTasks, features::FeaturesResetFeaturesParts, features::FeaturesResetFeatures, fleet::FleetMsearchParts, fleet::FleetMsearch, fleet::FleetSearchParts, fleet::FleetSearch, indices::IndicesDiskUsageParts, indices::IndicesDiskUsage, indices::IndicesDownsampleParts, indices::IndicesDownsample, indices::IndicesFieldUsageStatsParts, indices::IndicesFieldUsageStats, nodes::NodesClearRepositoriesMeteringArchiveParts, nodes::NodesClearRepositoriesMeteringArchive, nodes::NodesGetRepositoriesMeteringInfoParts, nodes::NodesGetRepositoriesMeteringInfo, params::GridType, params::GroupBy

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