Skip to content

Commit 09faf62

Browse files
committed
add better explination why frozen-abi re-exports rand, rand_chacha and bincode
1 parent d15f518 commit 09faf62

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Cargo.lock

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

frozen-abi/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ thiserror = { workspace = true }
3737
[target.'cfg(not(target_os = "solana"))'.dependencies]
3838
im = { workspace = true, features = ["rayon", "serde"] }
3939
memmap2 = { workspace = true }
40-
# these are re-exports for StableAbi
40+
41+
# Canonical versions re-exported for `StableAbi`.
42+
# These dependencies are used only to back `frozen-abi` StableAbi API,
43+
# to avoid version skew and keep digest computation stable regardless of consumer dependencies.
4144
rand = "0.8.5"
4245
rand_chacha = "0.3.1"
4346
bincode = "1.3.3"

0 commit comments

Comments
 (0)