Skip to content

Commit 605cadb

Browse files
author
Martin Larralde
committed
Add tomlgen_rust to README commands with a link to example
1 parent 624d264 commit 605cadb

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,7 @@ Commands
128128
* `clean` - Standard `clean` command executes `cargo clean` for all rust extensions.
129129

130130
* `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.

example_tomlgen/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
`example_tomlgen`
22
=================
33

4-
An example extensions with automatically generated ``Cargo.toml`` manifest
4+
An example extension with automatically generated ``Cargo.toml`` manifest
55
files. Simply run ``python setup.py tomlgen_rust`` to generate the following
66
files:
77

@@ -80,7 +80,7 @@ project (next to the ``setup.py`` file) which registers all of the extensions.
8080
This way, generic ``cargo`` commands can be run without leaving the root of
8181
the project.
8282

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
8484
created to force ``cargo`` to build to the temporary build directory. Use
8585
``--no-config`` to disable.
8686

0 commit comments

Comments
 (0)