blackbeam / rust-mysql-simple

Mysql client library implemented in rust.
Apache License 2.0
666 stars 145 forks source link

Docs don't build for 25.0.0 #380

Open tgross35 opened 6 months ago

tgross35 commented 6 months ago

See https://docs.rs/crate/mysql/25.0.0

It is hitting errors such as:

[INFO] [stderr] error[E0658]: `#[doc(cfg)]` is experimental
[INFO] [stderr]    --> src/lib.rs:907:20
[INFO] [stderr]     |
[INFO] [stderr] 907 | #[cfg_attr(docsrs, doc(cfg(feature = "binlog")))]
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #43781 <https://github.com/rust-lang/rust/issues/43781> for more information
[INFO] [stderr]     = help: add `#![feature(doc_cfg)]` to the crate attributes to enable
[INFO] [stderr]     = note: this compiler was built on 2024-03-17; consider upgrading it if it is out of date

This could probably be fixed with #![cfg_attr(docsrs, feature(doc_cfg))]