Skip to content

Commit 0580840

Browse files
Byroncruessler
authored andcommitted
refactor: separate production code from tests
Keep track of all production dependencies that should be removed.
1 parent 8d210ba commit 0580840

File tree

3 files changed

+871
-932
lines changed

3 files changed

+871
-932
lines changed

gix-blame/Cargo.toml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,18 @@ rust-version = "1.65"
1414
doctest = false
1515

1616
[dependencies]
17+
gix-diff = { version = "^0.46.0", path = "../gix-diff", default-features = false, features = ["blob"] }
18+
gix-object = { version = "^0.44.0", path = "../gix-object" }
19+
gix-hash = { version = "^0.14.2", path = "../gix-hash" }
20+
gix-worktree = { version = "^0.36.0", path = "../gix-worktree", default-features = false, features = ["attributes"] }
21+
22+
# TODO: remove dependencies below this comment by abstracting them away, or passing 'big' types as argument
23+
gix-odb = { version = "^0.63.0", path = "../gix-odb" }
24+
gix-ref = { version = "^0.47.0", path = "../gix-ref" }
25+
gix-traverse = { version = "^0.41.0", path = "../gix-traverse" }
26+
gix-fs = { version = "^0.11.3", path = "../gix-fs" }
27+
gix-index = { version = "^0.35.0", path = "../gix-index" }
28+
gix-filter = { version = "^0.13.0", path = "../gix-filter" }
1729

1830
[dev-dependencies]
19-
gix-diff = { path = "../gix-diff" }
20-
gix-filter = { path = "../gix-filter" }
21-
gix-fs = { path = "../gix-fs" }
22-
gix-hash = { path = "../gix-hash" }
23-
gix-index = { path = "../gix-index" }
24-
gix-object = { path = "../gix-object" }
25-
gix-odb = { path = "../gix-odb" }
26-
gix-ref = { path = "../gix-ref" }
2731
gix-testtools = { path = "../tests/tools" }
28-
gix-traverse = { path = "../gix-traverse" }
29-
gix-worktree = { path = "../gix-worktree" }

0 commit comments

Comments
 (0)