OS Manuals

/usr/bin/maturin

Build and publish crates with pyo3, rust-cpython and cffi bindings as well as rust binaries as python packages

From py3.14-maturin 1.16.0-r0 (os), captured 2026-11-05 by running maturin --help (exit 0). permalink

Build and publish crates with pyo3, cffi and uniffi bindings as well as rust binaries as python
packages

Usage: maturin [OPTIONS] <COMMAND>

Commands:
  build           Build the crate into python packages
  list-python     Search and list the available python installations
  develop         Install the crate as module in the current virtualenv
  sdist           Build only a source distribution (sdist) without compiling
  generate-stubs  Autogenerate type stubs
  help            Print this message or the help of the given subcommand(s)

Options:
  -v, --verbose...
          Use verbose output.

          * Default: Show build information and `cargo build` output. * `-v`: Use `cargo build -v`.
          * `-vv`: Show debug logging and use `cargo build -vv`. * `-vvv`: Show trace logging.

          You can configure fine-grained logging using the `RUST_LOG` environment variable.
          (<https://docs.rs/tracing-subscriber/latest/tracing_subscriber/filter/struct.EnvFilter.html#directives>)

  -h, --help
          Print help (see a summary with '-h')

  -V, --version
          Print version

Visit https://maturin.rs to learn more about maturin.
Options (3)
OptionDescriptionSource
-v, --verboseUse verbose output.help
-h, --helpPrint help (see a summary with '-h')help
-V, --versionPrint versionhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.