Skip to content

Commit f87b744

Browse files
author
Martin Larralde
committed
Add disclaimer about .config/cargo to example_tomlgen README [ci skip]
1 parent 574b3bf commit f87b744

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

example_tomlgen/README.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ 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
84+
created to force ``cargo`` to build to the temporary build directory. Use
85+
``--no-config`` to disable.
86+
8387

8488
Dependencies
8589
------------
@@ -95,7 +99,7 @@ complete Python path to the extension (e.g. ``hello.english``). Extension
9599
specific dependencies are added *after* global dependencies.
96100

97101
*Note that, since all projects are built in the same directory, you can also
98-
declare all dependencies in the ``[tomlgen_rust.dependencies]``, as they will
102+
declare all dependencies in the* ``[tomlgen_rust.dependencies]``, *as they will
99103
be built only once anyway*.
100104

101105

0 commit comments

Comments
 (0)