Skip to content

Commit

Permalink
restrict aws-lc-rs to avoid symbol conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
toidiu committed Jan 31, 2024
1 parent 169fde5 commit 878683d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion quic/s2n-quic-crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@ s2n-quic-core = { version = "=0.32.0", path = "../s2n-quic-core", default-featur
zeroize = { version = "1", default-features = false, features = ["derive"] }

[target.'cfg(not(target_os = "windows"))'.dependencies]
aws-lc-rs = { version = "1.5" }
# Restrict the version to avoid symbol conflicts from multiple version of 'aws-lc-sys'.
#
# Both 's2n-quic-crypto' and 's2n-tls-sys' end up depending on 'aws-lc-sys'. Update
# this dependency once s2n-tls-sys starts consuming a higher version of aws-lc-sys.
#
# https://github.com/aws/s2n-quic/pull/2104#issuecomment-1918559366
aws-lc-rs = { version = "=1.5" }

[target.'cfg(target_os = "windows")'.dependencies]
ring = { version = "0.16", default-features = false }
Expand Down

0 comments on commit 878683d

Please sign in to comment.