Skip to content

Commit

Permalink
delete ineffective ssh_key_from_memory crate feature
Browse files Browse the repository at this point in the history
The ssh_key_from_memory crate feature was added in commit 8ca0e92
(2018-07-26). Then it was accidentally made always-on in commit
76f4b74 (2018-09013). Since it seems like no one has missed the
ability to turn it off since then (not enough to send a PR anyway),
let's just delete the crate feature.

Closes #363
  • Loading branch information
martinvonz committed Oct 2, 2024
1 parent 7285832 commit 91907f9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,11 @@ tempfile = "3.1.0"

[features]
unstable = []
default = ["ssh", "https", "ssh_key_from_memory"]
default = ["ssh", "https"]
ssh = ["libgit2-sys/ssh"]
https = ["libgit2-sys/https", "openssl-sys", "openssl-probe"]
vendored-libgit2 = ["libgit2-sys/vendored"]
vendored-openssl = ["openssl-sys/vendored", "libgit2-sys/vendored-openssl"]
ssh_key_from_memory = ["libgit2-sys/ssh_key_from_memory"]
zlib-ng-compat = ["libgit2-sys/zlib-ng-compat"]

[workspace]
Expand Down
1 change: 0 additions & 1 deletion libgit2-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ openssl-sys = { version = "0.9.45", optional = true }
[features]
ssh = ["libssh2-sys"]
https = ["openssl-sys"]
ssh_key_from_memory = []
vendored = []
vendored-openssl = ["openssl-sys/vendored"]
zlib-ng-compat = ["libz-sys/zlib-ng", "libssh2-sys?/zlib-ng-compat"]

0 comments on commit 91907f9

Please sign in to comment.