Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
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.
  • Loading branch information
joshtriplett committed Aug 11, 2025
commit 03ef1a7acde773b662f772fe66091b54acc92400
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ url = "2.5.4"

[features]
unstable = []
default = ["ssh", "https", "cred"]
default = []
ssh = ["libgit2-sys/ssh", "cred"]
https = ["libgit2-sys/https", "openssl-sys", "openssl-probe", "cred"]
# Include support for credentials, which pulls in the `url` crate and all its dependencies
Expand Down