Skip to content

Commit fa6515e

Browse files
committed
fix: use wincrypto for windows build
1 parent f3a1674 commit fa6515e

File tree

3 files changed

+100
-58
lines changed

3 files changed

+100
-58
lines changed

Cargo.lock

Lines changed: 96 additions & 57 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ tokio = { version = "1", features = ["full"] }
3434
tracing = "0.1"
3535
futures = "0.3.31"
3636
rand = "0.9"
37-
str0m = { git = "https://github.com/PulseBeamDev/str0m.git", rev = "b030ae90ab5b0174b58572eaee89fbc74089668c" }
3837
bytes = "1.10.1"
38+
str0m = { git = "https://github.com/PulseBeamDev/str0m.git", branch = "0.11.0", default-features = false, features = ["openssl", "vendored", "sha1"] }
3939

4040
[workspace]
4141
resolver = "2"

pulsebeam/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,6 @@ prost-build = "0.14.1"
4646
# [patch."https://github.com/algesten/str0m.git"]
4747
# str0m = { path = "../../str0m" }
4848

49+
# Windows-specific str0m override
50+
[target.'cfg(windows)'.dependencies]
51+
str0m = { workspace = true, features = ["wincrypto"] }

0 commit comments

Comments
 (0)