feat: update osssendfile-rs

This commit is contained in:
2025-04-04 08:50:46 +08:00
parent 09a6a65de6
commit 1657f3a955
3 changed files with 18 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
version = 4
[[package]]
name = "addr2line"
@@ -835,6 +835,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.103"
@@ -843,6 +852,7 @@ checksum = "7f9e8deee91df40a943c71b917e5874b951d32a802526c85721ce3b776c929d6"
dependencies = [
"cc",
"libc",
"openssl-src",
"pkg-config",
"vcpkg",
]

View File

@@ -10,7 +10,7 @@ clap = { version = "4.5", features = ["derive"] }
hex = "0.4.3"
oss = "0.3.3"
rand = "0.8.5"
reqwest = { version = "0.12", features = ["stream"] }
reqwest = { version = "0.12", default-features = false, features = ["stream", "native-tls-vendored"] }
rust_util = "0.6.47"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"

6
osssendfile-rs/justfile Normal file
View File

@@ -0,0 +1,6 @@
_:
@just --list
build-linux-x64-musl:
cargo zigbuild --release --target x86_64-unknown-linux-musl