pyo3/pyo3-derive-backend/src/lib.rs

26 lines
632 B
Rust
Raw Normal View History

// Copyright (c) 2017-present PyO3 Project and Contributors
2018-05-19 15:27:26 +00:00
//! This crate contains the implementation of the proc macro attributes
#![recursion_limit = "1024"]
mod defs;
2020-08-24 22:00:12 +00:00
mod frompy;
mod konst;
mod method;
mod module;
mod proto_method;
mod pyclass;
mod pyfunction;
mod pyimpl;
mod pymethod;
mod pyproto;
mod utils;
2020-08-24 22:00:12 +00:00
pub use frompy::build_derive_from_pyobject;
2019-03-22 13:07:33 +00:00
pub use module::{add_fn_to_module, process_functions_in_module, py_init};
pub use pyclass::{build_py_class, PyClassArgs};
pub use pyfunction::{build_py_function, PyFunctionAttr};
2020-07-28 10:36:21 +00:00
pub use pyimpl::build_py_methods;
pub use pyproto::build_py_proto;
pub use utils::get_doc;