You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6
Original file line number
Diff line number
Diff line change
@@ -107,6 +107,12 @@ python
107
107
# ... better write some tests with pytest ...
108
108
```
109
109
110
+
## Environment variables for configuration
111
+
112
+
As well as all [environment variables supported by Cargo](https://doc.rust-lang.org/cargo/reference/environment-variables.html#environment-variables-cargo-reads), `setuptools-rust` also supports the following:
113
+
114
+
-`SETUPTOOLS_RUST_CARGO_PROFILE`: used to override the profile of the Rust build. Defaults to `release`, e.g. set to `dev` to do a debug build.
115
+
110
116
## Next steps and final remarks
111
117
112
118
- When you are ready to distribute your project, have a look on
0 commit comments