Expand description
pyproject.toml parser for reading [tool.maturin] configuration.
use pyo3_stub_gen::pyproject::PyProject;
use std::path::Path;
let root = Path::new(env!("CARGO_MANIFEST_DIR")).parent().unwrap();
let pyproject = PyProject::parse_toml(
root.join("examples/mixed/pyproject.toml")
).unwrap();Structsยง
- Maturin
- Project
- PyProject
- Stub
GenConfig - Configuration options for stub generation from
[tool.pyo3-stub-gen]in pyproject.toml. - Tool