Skip to content

Commit 235c1ae

Browse files
committed
chore(test): use workspace dependency version for shared dependencies
also remove "dsync" dependency, because it has no effect there (and only increases the test's target directory)
1 parent fb070c7 commit 235c1ae

File tree

7 files changed

+14
-238
lines changed

7 files changed

+14
-238
lines changed

test/Cargo.lock

Lines changed: 0 additions & 223 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ members = [
88
"single_model_file",
99
]
1010
resolver = "2"
11+
12+
[workspace.dependencies]
13+
chrono = { version = "*", features = ["serde"] }
14+
serde = { version = "*", features = ["derive"] }

test/custom_model_and_schema_path/Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,5 @@ diesel = { version = "*", default-features = false, features = [
1111
"postgres",
1212
"chrono",
1313
] }
14-
dsync = { path = "../../" }
15-
chrono = { version = "*", features = ["serde"] }
16-
serde = { version = "*", features = ["derive"] }
14+
chrono.workspace = true
15+
serde.workspace = true

test/simple_table_mysql/Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,5 @@ diesel = { version = "*", default-features = false, features = [
1313
"chrono",
1414
] }
1515
r2d2 = "*"
16-
dsync = { path = "../../" }
17-
chrono = { version = "*", features = ["serde"] }
18-
serde = { version = "*", features = ["derive"] }
16+
chrono.workspace = true
17+
serde.workspace = true

test/simple_table_pg/Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,5 @@ diesel = { version = "*", default-features = false, features = [
1313
"chrono",
1414
] }
1515
r2d2 = "*"
16-
dsync = { path = "../../" }
17-
chrono = { version = "*", features = ["serde"] }
18-
serde = { version = "*", features = ["derive"] }
16+
chrono.workspace = true
17+
serde.workspace = true

test/simple_table_sqlite/Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,5 @@ diesel = { version = "*", default-features = false, features = [
1414
"returning_clauses_for_sqlite_3_35",
1515
] }
1616
r2d2 = "*"
17-
dsync = { path = "../../" }
18-
chrono = { version = "*", features = ["serde"] }
19-
serde = { version = "*", features = ["derive"] }
17+
chrono.workspace = true
18+
serde.workspace = true

test/single_model_file/Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,5 @@ diesel = { version = "*", default-features = false, features = [
1111
"postgres",
1212
"chrono",
1313
] }
14-
dsync = { path = "../../" }
15-
chrono = { version = "*", features = ["serde"] }
16-
serde = { version = "*", features = ["derive"] }
14+
chrono.workspace = true
15+
serde.workspace = true

0 commit comments

Comments
 (0)