mf4-rs 3.0.0

mf4-rs is a Rust library for working with ASAM MDF 4 (Measurement Data Format) files.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Generate Python type stubs (`.pyi`) for the `mf4_rs` Python module.
//!
//! Run with:
//!     cargo run --bin stub_gen --features pyo3
//!
//! Reads the `#[gen_stub_*]`-annotated declarations in `src/python.rs` and
//! emits a `.pyi` file inside the Python source tree configured in
//! `pyproject.toml` (`[tool.maturin] python-source`). Commit the generated
//! file together with any signature changes.

fn main() -> pyo3_stub_gen::Result<()> {
    let stub = mf4_rs::python::stub_info()?;
    stub.generate()?;
    Ok(())
}