Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9192638

Browse files
authoredMay 25, 2025··
Merge branch 'master' into doc-modules
2 parents 513ea60 + 7625277 commit 9192638

File tree

3 files changed

+31
-31
lines changed

3 files changed

+31
-31
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.

‎asyncgit/Cargo.toml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ license = "MIT"
1111
categories = ["concurrency", "asynchronous"]
1212
keywords = ["git"]
1313

14+
[features]
15+
default = ["trace-libgit"]
16+
trace-libgit = []
17+
vendor-openssl = ["openssl-sys"]
18+
1419
[dependencies]
1520
bitflags = "2"
1621
crossbeam-channel = "0.5"
@@ -43,8 +48,3 @@ invalidstring = { path = "../invalidstring", version = "0.1" }
4348
pretty_assertions = "1.4"
4449
serial_test = "3.2"
4550
tempfile = "3"
46-
47-
[features]
48-
default = ["trace-libgit"]
49-
trace-libgit = []
50-
vendor-openssl = ["openssl-sys"]

‎scopetime/Cargo.toml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ readme = "README.md"
1111
categories = ["development-tools::profiling"]
1212
keywords = ["profiling", "logging"]
1313

14+
[features]
15+
default = []
16+
enabled = []
17+
1418
[dependencies]
1519
log = "0.4"
16-
17-
[features]
18-
default =[]
19-
enabled =[]

0 commit comments

Comments
 (0)
Please sign in to comment.