@@ -13,17 +13,29 @@ autotests = false
1313[lib ]
1414doctest = false
1515
16+ [features ]
17+ # # Add support for tracking rewrites along with checking for worktree modifications.
18+ worktree-rewrites = [" dep:gix-dir" , " dep:gix-diff" ]
19+
1620[dependencies ]
1721gix-index = { version = " ^0.30.0" , path = " ../gix-index" }
1822gix-fs = { version = " ^0.10.0" , path = " ../gix-fs" }
1923gix-hash = { version = " ^0.14.1" , path = " ../gix-hash" }
2024gix-object = { version = " ^0.41.1" , path = " ../gix-object" }
2125gix-path = { version = " ^0.10.6" , path = " ../gix-path" }
22- gix-features = { version = " ^0.38.0" , path = " ../gix-features" }
26+ gix-features = { version = " ^0.38.0" , path = " ../gix-features" , features = [ " progress " ] }
2327gix-filter = { version = " ^0.10.0" , path = " ../gix-filter" }
2428gix-worktree = { version = " ^0.31.0" , path = " ../gix-worktree" , default-features = false , features = [" attributes" ] }
2529gix-pathspec = { version = " ^0.7.0" , path = " ../gix-pathspec" }
2630
31+ gix-dir = { version = " ^0.1.0" , path = " ../gix-dir" , optional = true }
32+ gix-diff = { version = " ^0.41.0" , path = " ../gix-diff" , default-features = false , features = [" blob" ], optional = true }
33+
2734thiserror = " 1.0.26"
2835filetime = " 0.2.15"
2936bstr = { version = " 1.3.0" , default-features = false }
37+
38+ document-features = { version = " 0.2.0" , optional = true }
39+
40+ [package .metadata .docs .rs ]
41+ features = [" document-features" , " worktree-rewrites" ]
0 commit comments