Skip to content

Commit 03ef1a7

Browse files
committed
Stop enabling "ssh", "https", and "cred" by default
Many users of the git2 crate want to operate exclusively on local repositories, but if they don't use `default-features = false` they'll get a large set of additional dependencies they don't need.
1 parent da9c98d commit 03ef1a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ url = "2.5.4"
3434

3535
[features]
3636
unstable = []
37-
default = ["ssh", "https", "cred"]
37+
default = []
3838
ssh = ["libgit2-sys/ssh", "cred"]
3939
https = ["libgit2-sys/https", "openssl-sys", "openssl-probe", "cred"]
4040
# Include support for credentials, which pulls in the `url` crate and all its dependencies

0 commit comments

Comments
 (0)