Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## [0.1.14] - 2025-09-04

### Changed
- Updated `tokio-tungstenite` from 0.26.1 to 0.27.0
- Updated `rand` from 0.8 to 0.9 (dev dependency)
- Fixed `from_entropy()` to use `from_os_rng()` for rand 0.9 compatibility

### Note
- [AI-assisted debugging and comment]
- This release updates dependencies to support freenet-core dependency updates

## [0.1.9] - 2025-06-19

### Added
Expand Down
6 changes: 3 additions & 3 deletions rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "freenet-stdlib"
version = "0.1.11"
version = "0.1.14"
edition = "2021"
rust-version = "1.71.1"
publish = true
Expand Down Expand Up @@ -32,7 +32,7 @@ freenet-macros = { path = "../rust-macros", version = "0.1.0-rc1" }

[target.'cfg(any(unix, windows))'.dependencies]
tokio = { version = "1", optional = true, features = ["macros", "parking_lot", "rt-multi-thread", "sync", "time"] }
tokio-tungstenite = { version = "0.26.1", optional = true }
tokio-tungstenite = { version = "0.27.0", optional = true }
serde_with = { version = "3" }

[target.'cfg(target_family = "wasm")'.dependencies]
Expand All @@ -59,7 +59,7 @@ optional = true
[target.'cfg(any(unix, windows))'.dev-dependencies]
bincode = "1"
wasmer = { version = "5.0.4", features = [ "sys-default"] }
rand = { version = "0.8", features = ["small_rng"] }
rand = { version = "0.9", features = ["small_rng"] }
arbitrary = { version = "1", features = ["derive"] }

[features]
Expand Down
2 changes: 1 addition & 1 deletion rust/src/contract_interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1558,7 +1558,7 @@ mod test {

static RND_BYTES: Lazy<[u8; 1024]> = Lazy::new(|| {
let mut bytes = [0; 1024];
let mut rng = SmallRng::from_entropy();
let mut rng = SmallRng::from_os_rng();
rng.fill(&mut bytes);
bytes
});
Expand Down
Loading