Installationedit

Add elasticsearch crate and version to Cargo.toml. Choose the version that is compatible with the version of Elasticsearch you are using:

[dependencies]
elasticsearch = "8.0.0-alpha.1"

The following optional dependencies may also be useful to create requests and read responses:

serde = "~1"
serde_json = "~1"