this post was submitted on 18 Mar 2024
11 points (92.3% liked)
Rust
6024 readers
1 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You can setup a cargo configuration file, in it you put a manifest and define some profiles, and in them define what features you want compiled
This would look like it would be what I am looking for, but the documentation of the configuration file does not mention features.
https://doc.rust-lang.org/cargo/reference/manifest.html
it's the sixth from the bottom in the table of contents