# lib.rs - source
Source of the Rust file `/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-macros-backend-0.13.2/src/lib.rs`.
Keywords: rust, rustlang, rust-lang

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28

    // Copyright (c) 2017-present PyO3 Project and Contributors
    //! This crate contains the implementation of the proc macro attributes

    #![recursion_limit = "1024"]

    // Listed first so that macros in this module are available in the rest of the crate.
    #[macro_use]
    mod utils;

    mod defs;
    mod from_pyobject;
    mod konst;
    mod method;
    mod module;
    mod proto_method;
    mod pyclass;
    mod pyfunction;
    mod pyimpl;
    mod pymethod;
    mod pyproto;

    pub use from_pyobject::build_derive_from_pyobject;
    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};
    pub use pyimpl::build_py_methods;
    pub use pyproto::build_py_proto;
    pub use utils::get_doc;