Skip to content

Commit 849824a

Browse files
committed
new cargo-sort
1 parent fe5e780 commit 849824a

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

Cargo.toml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,25 @@ categories = ["command-line-utilities"]
1414
keywords = ["git", "gui", "cli", "terminal", "ui"]
1515
build = "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]
1837
anyhow = "1.0"
1938
asyncgit = { path = "./asyncgit", version = "0.27.0", default-features = false }
@@ -66,36 +85,17 @@ unicode-truncate = "2.0"
6685
unicode-width = "0.2"
6786
which = "7.0"
6887

88+
[build-dependencies]
89+
chrono = { version = "0.4", default-features = false, features = ["clock"] }
90+
6991
[dev-dependencies]
7092
env_logger = "0.11"
7193
pretty_assertions = "1.4"
7294
tempfile = "3"
7395

74-
[build-dependencies]
75-
chrono = { version = "0.4", default-features = false, features = ["clock"] }
76-
7796
[badges]
7897
maintenance = { 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]
100100
lto = true
101101
opt-level = 'z' # Optimize for size.

0 commit comments

Comments
 (0)