Commit 2b438fa
committed
fix: Add edition and rust-version to workspace.package template
Ensures proper dependency resolution by specifying edition and rust-version
in [workspace.package] instead of at program level, allowing dependency
resolution to respect these constraints and prevent incompatible crate
versions from being selected.
Fixes #4047
Signed-off-by: AvhiMaz <avhimazumder5@outlook.com>1 parent 007ed0d commit 2b438fa
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
181 | 185 | | |
182 | 186 | | |
183 | 187 | | |
| |||
205 | 209 | | |
206 | 210 | | |
207 | 211 | | |
208 | | - | |
| 212 | + | |
| 213 | + | |
209 | 214 | | |
210 | 215 | | |
211 | 216 | | |
| |||
0 commit comments