@@ -14,6 +14,25 @@ categories = ["command-line-utilities"]
1414keywords = [" git" , " gui" , " cli" , " terminal" , " ui" ]
1515build = " build.rs"
1616
17+ [workspace ]
18+ members = [
19+ " asyncgit" ,
20+ " filetreelist" ,
21+ " git2-hooks" ,
22+ " git2-testing" ,
23+ " scopetime" ,
24+ ]
25+
26+ [features ]
27+ default = [" ghemoji" , " regex-fancy" , " trace-libgit" , " vendor-openssl" ]
28+ ghemoji = [" gh-emoji" ]
29+ # regex-* features are mutually exclusive.
30+ regex-fancy = [" syntect/regex-fancy" , " two-face/syntect-fancy" ]
31+ regex-onig = [" syntect/regex-onig" , " two-face/syntect-onig" ]
32+ timing = [" scopetime/enabled" ]
33+ trace-libgit = [" asyncgit/trace-libgit" ]
34+ vendor-openssl = [" asyncgit/vendor-openssl" ]
35+
1736[dependencies ]
1837anyhow = " 1.0"
1938asyncgit = { path = " ./asyncgit" , version = " 0.27.0" , default-features = false }
@@ -66,36 +85,17 @@ unicode-truncate = "2.0"
6685unicode-width = " 0.2"
6786which = " 7.0"
6887
88+ [build-dependencies ]
89+ chrono = { version = " 0.4" , default-features = false , features = [" clock" ] }
90+
6991[dev-dependencies ]
7092env_logger = " 0.11"
7193pretty_assertions = " 1.4"
7294tempfile = " 3"
7395
74- [build-dependencies ]
75- chrono = { version = " 0.4" , default-features = false , features = [" clock" ] }
76-
7796[badges ]
7897maintenance = { status = " actively-developed" }
7998
80- [features ]
81- default = [" ghemoji" , " regex-fancy" , " trace-libgit" , " vendor-openssl" ]
82- ghemoji = [" gh-emoji" ]
83- # regex-* features are mutually exclusive.
84- regex-fancy = [" syntect/regex-fancy" , " two-face/syntect-fancy" ]
85- regex-onig = [" syntect/regex-onig" , " two-face/syntect-onig" ]
86- timing = [" scopetime/enabled" ]
87- trace-libgit = [" asyncgit/trace-libgit" ]
88- vendor-openssl = [" asyncgit/vendor-openssl" ]
89-
90- [workspace ]
91- members = [
92- " asyncgit" ,
93- " filetreelist" ,
94- " git2-hooks" ,
95- " git2-testing" ,
96- " scopetime" ,
97- ]
98-
9999[profile .release ]
100100lto = true
101101opt-level = ' z' # Optimize for size.
0 commit comments