| 1 |
Create a new cargo project in an existing directory |
| 2 |
|
| 3 |
Usage: maturin[EXE] init [OPTIONS] [PATH] |
| 4 |
|
| 5 |
Arguments: |
| 6 |
[PATH] |
| 7 |
Project path |
| 8 |
|
| 9 |
Options: |
| 10 |
--name <NAME> |
| 11 |
Set the resulting package name, defaults to the directory name |
| 12 |
|
| 13 |
-v, --verbose... |
| 14 |
Use verbose output. |
| 15 |
|
| 16 |
* Default: Show build information and `cargo build` output. * `-v`: Use `cargo build -v`. |
| 17 |
* `-vv`: Show debug logging and use `cargo build -vv`. * `-vvv`: Show trace logging. |
| 18 |
|
| 19 |
You can configure fine-grained logging using the `RUST_LOG` environment variable. |
| 20 |
(<https://docs.rs/tracing-subscriber/latest/tracing_subscriber/filter/struct.EnvFilter.html#directives>) |
| 21 |
|
| 22 |
--mixed |
| 23 |
Use mixed Rust/Python project layout |
| 24 |
|
| 25 |
--src |
| 26 |
Use Python first src layout for mixed Rust/Python project |
| 27 |
|
| 28 |
-b, --bindings <BINDINGS> |
| 29 |
Which kind of bindings to use |
| 30 |
|
| 31 |
[possible values: pyo3, cffi, uniffi, bin] |
| 32 |
|
| 33 |
-h, --help |
| 34 |
Print help (see a summary with '-h') |