Cargo Features

[dependencies]
elasticsearch = { version = "8.17.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 security::SecurityCreateCrossClusterApiKeyParts, security::SecurityCreateCrossClusterApiKey, security::SecurityUpdateCrossClusterApiKeyParts, security::SecurityUpdateCrossClusterApiKey

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