Skip to content

Commit

Permalink
Help cargo to break dependency cycle caused by dev deps
Browse files Browse the repository at this point in the history
  • Loading branch information
kornelski committed Apr 6, 2024
1 parent 9fe91c3 commit 0c0ee39
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion diesel_derives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ cfg-if = "1"
dotenvy = "0.15"

[dev-dependencies.diesel]
version = "~2.1.0"
path = "../diesel"

[lib]
Expand Down
2 changes: 0 additions & 2 deletions diesel_migrations/migrations_macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,10 @@ dotenvy = "0.15"
cfg-if = "1.0.0"

[dev-dependencies.diesel]
version = "~2.1.0"
path = "../../diesel"
default-features = false

[dev-dependencies.diesel_migrations]
version = "~2.1.0"
path = "../"
default-features = false

Expand Down
2 changes: 1 addition & 1 deletion examples/postgres/advanced-blog-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ tempfile = "3.1.0"

[dev-dependencies]
assert_matches = "1.1"
diesel_migrations = { version = "2.1.0", features = ["postgres"], path = "../../../diesel_migrations" }
diesel_migrations = { features = ["postgres"], path = "../../../diesel_migrations" }
lazy_static = "1.0"

[[bin]]
Expand Down

0 comments on commit 0c0ee39

Please sign in to comment.