impl docsrs in mod.rs
This commit is contained in:
parent
1c740ecbdc
commit
9a74c7fc65
|
@ -7,6 +7,7 @@ mod macros;
|
||||||
|
|
||||||
pub mod basic;
|
pub mod basic;
|
||||||
#[cfg(not(Py_LIMITED_API))]
|
#[cfg(not(Py_LIMITED_API))]
|
||||||
|
#[cfg_attr(docsrs, doc(cfg(not(Py_LIMITED_API))))]
|
||||||
pub mod buffer;
|
pub mod buffer;
|
||||||
pub mod context;
|
pub mod context;
|
||||||
pub mod descr;
|
pub mod descr;
|
||||||
|
@ -23,6 +24,7 @@ pub mod sequence;
|
||||||
|
|
||||||
pub use self::basic::PyObjectProtocol;
|
pub use self::basic::PyObjectProtocol;
|
||||||
#[cfg(not(Py_LIMITED_API))]
|
#[cfg(not(Py_LIMITED_API))]
|
||||||
|
#[cfg_attr(docsrs, doc(cfg(not(Py_LIMITED_API))))]
|
||||||
pub use self::buffer::PyBufferProtocol;
|
pub use self::buffer::PyBufferProtocol;
|
||||||
pub use self::context::PyContextProtocol;
|
pub use self::context::PyContextProtocol;
|
||||||
pub use self::descr::PyDescrProtocol;
|
pub use self::descr::PyDescrProtocol;
|
||||||
|
|
Loading…
Reference in a new issue