elastic / elasticsearch-rs

Official Elasticsearch Rust Client
https://www.elastic.co/guide/en/elasticsearch/client/rust-api/current/index.html
Apache License 2.0
695 stars 70 forks source link

[BUG]Compile error when using rust version `1.55.0-nightly` #179

Closed wexgjduv closed 3 years ago

wexgjduv commented 3 years ago

Describe the bug

Compile error when compiling with rustc 1.55.0-nightly.

active toolchain

nightly-x86_64-apple-darwin (default) rustc 1.55.0-nightly (607d6b00d 2021-06-15)

 --> /Users/lichuan6/.cargo/registry/src/github.com-1ecc6299db9ec823/elasticsearch-7.12.0-alpha.1/src/lib.rs:352:39
    |
352 | #![cfg_attr(RUSTC_IS_NIGHTLY, feature(external_doc))]
    |                                       ^^^^^^^^^^^^ feature has been removed
    |
    = note: use #[doc = include_str!("filename")] instead, which handles macro invocations
wexgjduv commented 3 years ago

https://github.com/elastic/elasticsearch-rs/issues/175