impl docsrs in mod.rs

This commit is contained in:
mejrs 2021-05-03 20:03:03 +02:00
parent 1c740ecbdc
commit 9a74c7fc65

View file

@ -7,6 +7,7 @@ mod macros;
pub mod basic;
#[cfg(not(Py_LIMITED_API))]
#[cfg_attr(docsrs, doc(cfg(not(Py_LIMITED_API))))]
pub mod buffer;
pub mod context;
pub mod descr;
@ -23,6 +24,7 @@ pub mod sequence;
pub use self::basic::PyObjectProtocol;
#[cfg(not(Py_LIMITED_API))]
#[cfg_attr(docsrs, doc(cfg(not(Py_LIMITED_API))))]
pub use self::buffer::PyBufferProtocol;
pub use self::context::PyContextProtocol;
pub use self::descr::PyDescrProtocol;