Closed kevherro closed 3 years ago
Hey @kherro, thanks for raising 👍
The README.md on the master branch is tracking Elasticsearch master branch, which has commits in for the next major version, 8.0. Versions of the client are released from 7.x and minor branches such as 7.10 (which are cut from 7.x when 7.10.0 is released, for example), where the versions in the respective READMEs reflect the state of the branches.
An unfortunate side effect of this flow is that the README.md seen when landing on the repository will be the master branch, which may relate to a version not yet released. But, this flow keeps the version in all files in a branch in sync, which makes it a little less cognitively burdensome than needing to ensure the README on the master branch is updated each time a new version is released.
docs.rs and crates.io will always contain the correct released versions, which are shown in the badges at the top of the README.
Hope this explains the setup.
When will the 8.0.0-alpha.1 will be deployed? It has been over a year now since this issue was closed but still no 8.0.0 version is available on crates.io
Describe the bug I have
elasticsearch = "8.0.0-alpha.1"
in myCargo.toml
file, as described in theInstalling
section of the README. After runningcargo build
, I get the following error:To Reproduce Steps to reproduce the behavior:
elasticsearch = "8.0.0-alpha.1"
in the[dependencies]
section of yourCargo.toml
file.cargo build
Expected behavior I expect
cargo build
to successfully compile a local package and all of its dependencies.Screenshots
Environment (please complete the following information):
rustc --version
]: rustc 1.49.0 (e1884a8e3 2020-12-29)Additional context I can successfully
cargo build
after replacingelasticsearch = "8.0.0-alpha.1"
withelasticsearch = "7.10.0-alpha.1"
, as found on crates.io.