File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -128,3 +128,7 @@ Commands
128
128
* `clean ` - Standard `clean ` command executes `cargo clean ` for all rust extensions.
129
129
130
130
* `check ` - Standard `check ` command executes `cargo check ` for all rust extensions.
131
+
132
+ * `tomlgen_rust ` - Automatically generate a `Cargo.toml ` manifest based on Python package metadata.
133
+ See the `example project <https://github.com/PyO3/setuptools-rust/tree/master/example_tomlgen >`_
134
+ on GitHub for more information about this command.
Original file line number Diff line number Diff line change 1
1
`example_tomlgen `
2
2
=================
3
3
4
- An example extensions with automatically generated ``Cargo.toml `` manifest
4
+ An example extension with automatically generated ``Cargo.toml `` manifest
5
5
files. Simply run ``python setup.py tomlgen_rust `` to generate the following
6
6
files:
7
7
@@ -80,7 +80,7 @@ project (next to the ``setup.py`` file) which registers all of the extensions.
80
80
This way, generic ``cargo `` commands can be run without leaving the root of
81
81
the project.
82
82
83
- If ``--create-workspace `` is enable , a `.cargo/config ` file will also be
83
+ If ``--create-workspace `` is enabled , a `.cargo/config ` file will also be
84
84
created to force ``cargo `` to build to the temporary build directory. Use
85
85
``--no-config `` to disable.
86
86
You can’t perform that action at this time.
0 commit comments