@@ -20,7 +20,7 @@ required-features = ["blocking-network-client"]
20
20
21
21
[features ]
22
22
23
- default = [" max-performance-safe" , " comfort" , " extras" ]
23
+ default = [" max-performance-safe" , " comfort" , " basic " , " extras" ]
24
24
25
25
# ! There are various categories of features which help to optimize performance and build times. `gix` comes with 'batteries included' and everything is
26
26
# ! enabled as long as it doesn't sacrifice compatibility. Most users will be fine with that but will pay with higher compile times than necessary as they
@@ -47,8 +47,11 @@ default = ["max-performance-safe", "comfort", "extras"]
47
47
# ! A bundle is a set of related feature toggles which can be activated with a single name that acts as a group.
48
48
# ! Bundles are for convenience only and bear no further meaning beyond the cargo manifest file.
49
49
50
+ # # More fundamental components that most will be able to make good use of.
51
+ basic = [" blob-diff" , " revision" ]
52
+
50
53
# # Various additional features and capabilities that are not necessarily part of what most users would need.
51
- extras = [" worktree-stream" , " worktree-archive" , " blob-diff " , " revision " , " revparse-regex " ]
54
+ extras = [" worktree-stream" , " worktree-archive" , " revparse-regex " , " mailmap " ]
52
55
53
56
# # Various progress-related features that improve the look of progress message units.
54
57
comfort = [" gix-features/progress-unit-bytes" , " gix-features/progress-unit-human-numbers" ]
@@ -58,6 +61,9 @@ comfort = ["gix-features/progress-unit-bytes", "gix-features/progress-unit-human
58
61
# ! A component is a distinct feature which may be comprised of one or more methods around a particular topic.
59
62
# ! Providers of libraries should only activate
60
63
64
+ # # Add support for mailmaps, as way of determining the final name of commmiters and authors.
65
+ mailmap = [" dep:gix-mailmap" ]
66
+
61
67
# # Make revspec parsing possible, as well describing revision.
62
68
revision = [" gix-revision/describe" ]
63
69
@@ -147,7 +153,7 @@ serde = [ "dep:serde",
147
153
" gix-ref/serde" ,
148
154
" gix-odb/serde" ,
149
155
" gix-index/serde" ,
150
- " gix-mailmap/serde" ,
156
+ " gix-mailmap? /serde" ,
151
157
" gix-url/serde" ,
152
158
" gix-attributes/serde" ,
153
159
" gix-ignore/serde" ,
@@ -192,7 +198,7 @@ gix-path = { version = "^0.9.0", path = "../gix-path" }
192
198
gix-url = { version = " ^0.22.0" , path = " ../gix-url" }
193
199
gix-traverse = { version = " ^0.31.0" , path = " ../gix-traverse" }
194
200
gix-diff = { version = " ^0.34.0" , path = " ../gix-diff" , default-features = false }
195
- gix-mailmap = { version = " ^0.17.0" , path = " ../gix-mailmap" }
201
+ gix-mailmap = { version = " ^0.17.0" , path = " ../gix-mailmap" , optional = true }
196
202
gix-features = { version = " ^0.33.0" , path = " ../gix-features" , features = [" progress" , " once_cell" ] }
197
203
gix-trace = { version = " ^0.1.3" , path = " ../gix-trace" }
198
204
0 commit comments