This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Installation
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Installation
editAdd elasticsearch crate and version to Cargo.toml. Choose the version that is
compatible with the version of Elasticsearch you are using:
[dependencies] elasticsearch = "8.7.0-alpha.1"
The following optional dependencies may also be useful to create requests and read responses:
serde = "~1" serde_json = "~1"