feat: add option to statically link openssl (#22)

* feat: add feature to statically link openssl and libgit2

* update CHANGELOG

* update CHANGELOG
This commit is contained in:
qwjyh 2025-02-28 01:13:38 +09:00 committed by GitHub
parent bd8e2019fe
commit e3b1e77f7d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 14 additions and 0 deletions

View file

@ -4,6 +4,7 @@
### Added
- `sync` subcommand, which performs git pull (fast-forward) and push (#21)
- Feature `vendored-openssl` to statically link openssl and libgit2 (#22)
### Fixed
- Git local config is now looked up. (#20)

10
Cargo.lock generated
View file

@ -1037,6 +1037,15 @@ version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
[[package]]
name = "openssl-src"
version = "300.4.2+3.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "168ce4e058f975fe43e89d9ccf78ca668601887ae736090aacc23ae353c298e2"
dependencies = [
"cc",
]
[[package]]
name = "openssl-sys"
version = "0.9.104"
@ -1045,6 +1054,7 @@ checksum = "45abf306cbf99debc8195b66b7346498d7b10c210de50418b5ccd7ceba08c741"
dependencies = [
"cc",
"libc",
"openssl-src",
"pkg-config",
"vcpkg",
]

View file

@ -36,3 +36,6 @@ console = "0.15"
assert_cmd = "2.0.16"
assert_fs = "1.1.2"
predicates = "3.1.2"
[features]
vendored-openssl = ["git2/vendored-openssl"]