You can use dev-dependencies to specify dependencies that will be used for tests and examples but not for the crate itself.
kaj
4
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Small project, two files in two locations | 12 | 448 | September 30, 2022 | |
| Cargo test internal packages | 11 | 4195 | January 12, 2023 | |
| Put dependencies in .rs file | 4 | 727 | January 12, 2023 | |
| Is it a good idea to have one crate with [[bin]] and [lib]? | 5 | 2912 | January 12, 2023 | |
|
Running `cargo test` without cargo
|
3 | 3302 | November 24, 2019 |