@@ -61,6 +61,9 @@ comfort = ["gix-features/progress-unit-bytes", "gix-features/progress-unit-human
61
61
# ! A component is a distinct feature which may be comprised of one or more methods around a particular topic.
62
62
# ! Providers of libraries should only activate the components they need.
63
63
64
+ # # Access to credential helpers, which provide credentials for URLs.
65
+ credentials = [" dep:gix-credentials" , " dep:gix-prompt" ]
66
+
64
67
# # Various ways to alter the worktree makeup by checkout and reset.
65
68
worktree-mutation = [" attributes" , " dep:gix-worktree-state" ]
66
69
@@ -106,9 +109,9 @@ async-network-client-async-std = ["async-std", "async-network-client", "gix-tran
106
109
# # Make `gix-protocol` available along with a blocking client, providing access to the `file://`, git://` and `ssh://` transports.
107
110
blocking-network-client = [" gix-protocol/blocking-client" , " gix-pack/streaming-input" , " attributes" ]
108
111
# # Stacks with `blocking-network-client` to provide support for HTTP/S using **curl**, and implies blocking networking as a whole, making the `https://` transport avaialble.
109
- blocking-http-transport-curl = [" blocking-network-client" , " gix-transport/http-client-curl" ]
112
+ blocking-http-transport-curl = [" blocking-network-client" , " gix-transport/http-client-curl" , " credentials " ]
110
113
# # Stacks with `blocking-network-client` to provide support for HTTP/S using **reqwest**, and implies blocking networking as a whole, making the `https://` transport avaialble.
111
- blocking-http-transport-reqwest = [" blocking-network-client" , " gix-transport/http-client-reqwest" ]
114
+ blocking-http-transport-reqwest = [" blocking-network-client" , " gix-transport/http-client-reqwest" , " credentials " ]
112
115
# # Stacks with `blocking-http-transport-reqwest` and enables `https://` via the `rustls` crate.
113
116
blocking-http-transport-reqwest-rust-tls = [" blocking-http-transport-reqwest" , " reqwest-for-configuration-only/rustls-tls" , " reqwest-for-configuration-only/trust-dns" ]
114
117
# # Stacks with `blocking-http-transport-reqwest` and enables `https://` via the `native-tls` crate.
@@ -169,7 +172,7 @@ serde = [ "dep:serde",
169
172
" gix-revision/serde" ,
170
173
" gix-worktree?/serde" ,
171
174
" gix-commitgraph/serde" ,
172
- " gix-credentials/serde" ]
175
+ " gix-credentials? /serde" ]
173
176
174
177
# # Re-export the progress tree root which allows to obtain progress from various functions which take `impl gix::Progress`.
175
178
# # Applications which want to display progress will probably need this implementation.
@@ -212,8 +215,8 @@ gix-features = { version = "^0.33.0", path = "../gix-features", features = ["pro
212
215
gix-trace = { version = " ^0.1.3" , path = " ../gix-trace" }
213
216
214
217
gix-glob = { version = " ^0.11.0" , path = " ../gix-glob" }
215
- gix-credentials = { version = " ^0.18.0" , path = " ../gix-credentials" }
216
- gix-prompt = { version = " ^0.6.0" , path = " ../gix-prompt" }
218
+ gix-credentials = { version = " ^0.18.0" , path = " ../gix-credentials" , optional = true }
219
+ gix-prompt = { version = " ^0.6.0" , path = " ../gix-prompt" , optional = true }
217
220
gix-index = { version = " ^0.23.1" , path = " ../gix-index" }
218
221
gix-attributes = { version = " ^0.17.0" , path = " ../gix-attributes" , optional = true }
219
222
gix-ignore = { version = " ^0.6.0" , path = " ../gix-ignore" , optional = true }
0 commit comments