Skip to content

Commit ea8624c

Browse files
committed
Use path overrides for the full workspace
By adding the `[replace]` here, the override acts more like the path overrides in `.cargo/config` used to. This ensures that all member crates are using the local version when running tests. I'm not sure if/how this is used when publishing to crates.io, but presumably it'll error if it's not ignored. I guess I'll find out when we release later this week.
1 parent 1b093f6 commit ea8624c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,9 @@ members = [
1313
"examples/getting_started_step_3",
1414
"examples/getting_started_step_4",
1515
]
16+
17+
[replace]
18+
"diesel:0.8.2" = { path = "diesel" }
19+
"diesel_codegen:0.8.2" = { path = "diesel_codegen" }
20+
"diesel_codegen_shared:0.8.0" = { path = "diesel_codegen_shared" }
21+
"diesel_codegen_syntex:0.8.0" = { path = "diesel_codegen_syntex" }

0 commit comments

Comments
 (0)