| 1 |
Install the crate as module in the current virtualenv |
| 2 |
|
| 3 |
Usage: maturin[EXE] develop [OPTIONS] [ARGS]... |
| 4 |
|
| 5 |
Arguments: |
| 6 |
[ARGS]... |
| 7 |
Rustc flags |
| 8 |
|
| 9 |
Options: |
| 10 |
-b, --bindings <BINDINGS> |
| 11 |
Which kind of bindings to use |
| 12 |
|
| 13 |
[possible values: pyo3, pyo3-ffi, cffi, uniffi, bin] |
| 14 |
|
| 15 |
--strip |
| 16 |
Strip the library for minimum file size |
| 17 |
|
| 18 |
-E, --extras <EXTRAS> |
| 19 |
Install extra requires aka. optional dependencies |
| 20 |
|
| 21 |
Use as `--extras=extra1,extra2` |
| 22 |
|
| 23 |
--skip-install |
| 24 |
Skip installation, only build the extension module inplace |
| 25 |
|
| 26 |
Only works with mixed Rust/Python project layout |
| 27 |
|
| 28 |
--pip-path <PIP_PATH> |
| 29 |
Use a specific pip installation instead of the default one. |
| 30 |
|
| 31 |
This can be used to supply the path to a pip executable when the current virtualenv does |
| 32 |
not provide one. |
| 33 |
|
| 34 |
-q, --quiet |
| 35 |
Do not print cargo log messages |
| 36 |
|
| 37 |
--ignore-rust-version |
| 38 |
Ignore `rust-version` specification in packages |
| 39 |
|
| 40 |
-v, --verbose... |
| 41 |
Use verbose output (-vv very verbose/build.rs output) |
| 42 |
|
| 43 |
--color <WHEN> |
| 44 |
Coloring: auto, always, never |
| 45 |
|
| 46 |
--config <KEY=VALUE> |
| 47 |
Override a configuration value (unstable) |
| 48 |
|
| 49 |
-Z <FLAG> |
| 50 |
Unstable (nightly-only) flags to Cargo, see 'cargo -Z help' for details |
| 51 |
|
| 52 |
--future-incompat-report |
| 53 |
Outputs a future incompatibility report at the end of the build (unstable) |
| 54 |
|
| 55 |
--uv |
| 56 |
Use `uv` to install packages instead of `pip` |
| 57 |
|
| 58 |
--compression-method <COMPRESSION_METHOD> |
| 59 |
Zip compression method. Only Stored and Deflated are currently compatible with all package |
| 60 |
managers |
| 61 |
|
| 62 |
[default: deflated] |
| 63 |
|
| 64 |
Possible values: |
| 65 |
- deflated: Deflate compression (levels 0-9, default 6) |
| 66 |
- stored: No compression |
| 67 |
- bzip2: BZIP2 compression (levels 0-9, default 6) |
| 68 |
- zstd: Zstandard compression (supported from Python 3.14; levels -7-22, default 3) |
| 69 |
|
| 70 |
--compression-level <COMPRESSION_LEVEL> |
| 71 |
Zip compression level. Defaults to method default |
| 72 |
|
| 73 |
-h, --help |
| 74 |
Print help (see a summary with '-h') |
| 75 |
|
| 76 |
Compilation Options: |
| 77 |
-r, --release |
| 78 |
Pass --release to cargo |
| 79 |
|
| 80 |
-j, --jobs <N> |
| 81 |
Number of parallel jobs, defaults to # of CPUs |
| 82 |
|
| 83 |
--profile <PROFILE-NAME> |
| 84 |
Build artifacts with the specified Cargo profile |
| 85 |
|
| 86 |
--target <TRIPLE> |
| 87 |
Build for the target triple |
| 88 |
|
| 89 |
[env: CARGO_BUILD_TARGET=] |
| 90 |
|
| 91 |
--target-dir <DIRECTORY> |
| 92 |
Directory for all generated artifacts |
| 93 |
|
| 94 |
--timings=<FMTS> |
| 95 |
Timing output formats (unstable) (comma separated): html, json |
| 96 |
|
| 97 |
Feature Selection: |
| 98 |
-F, --features <FEATURES> |
| 99 |
Space or comma separated list of features to activate |
| 100 |
|
| 101 |
--all-features |
| 102 |
Activate all available features |
| 103 |
|
| 104 |
--no-default-features |
| 105 |
Do not activate the `default` feature |
| 106 |
|
| 107 |
Manifest Options: |
| 108 |
-m, --manifest-path <PATH> |
| 109 |
Path to Cargo.toml |
| 110 |
|
| 111 |
--frozen |
| 112 |
Require Cargo.lock and cache are up to date |
| 113 |
|
| 114 |
--locked |
| 115 |
Require Cargo.lock is up to date |
| 116 |
|
| 117 |
--offline |
| 118 |
Run without accessing the network |