msrv strikes again

This commit is contained in:
mejrs 2021-09-14 00:22:58 +02:00
parent d6973b1b6a
commit 6fe52fce2f
1 changed files with 8 additions and 4 deletions

View File

@ -1,10 +1,14 @@
#![cfg_attr(feature = "nightly", feature(specialization))]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![deny(
#![cfg_attr(
docsrs, // rustdoc:: is not supported on msrv
deny(
invalid_doc_attributes,
rustdoc::broken_intra_doc_links,
rustdoc::bare_urls
)
)]
//! Rust bindings to the Python interpreter.
//!
//! PyO3 can be used to write native Python modules or run Python code and modules from Rust.