diff --git a/Cargo.lock b/Cargo.lock index 9c2c5e94cc5..c47df96e8d9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8564,7 +8564,7 @@ dependencies = [ [[package]] name = "ic-ed25519" -version = "0.1.0" +version = "0.2.0" dependencies = [ "curve25519-dalek", "ed25519-dalek", diff --git a/packages/ic-ed25519/BUILD.bazel b/packages/ic-ed25519/BUILD.bazel index e5a198a56d7..e5b941de654 100644 --- a/packages/ic-ed25519/BUILD.bazel +++ b/packages/ic-ed25519/BUILD.bazel @@ -34,7 +34,7 @@ rust_library( crate_features = ["rand"], crate_name = "ic_ed25519", proc_macro_deps = MACRO_DEPENDENCIES, - version = "0.9.0", + version = "0.2.0", deps = DEPENDENCIES, ) diff --git a/packages/ic-ed25519/CHANGELOG.md b/packages/ic-ed25519/CHANGELOG.md index 0ac479b4c83..804df328353 100644 --- a/packages/ic-ed25519/CHANGELOG.md +++ b/packages/ic-ed25519/CHANGELOG.md @@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.2.0] - 2025-02-14 + +### Added + +- Added a new feature `rand` which controls if `ic-ed25519` will depend on the `rand` + crate. Key generation and batch verification are not supported if `rand` support is + disabled. Disabling this feature is useful anytime a dependency on `rand` is not + desirable, particularly when building for the `wasm32-unknown-unknown` target used for + the Internet Computer, due to the fact that a dependency of `rand`, namely `getrandom`, + refuses to compile for this target. + ## [0.1.0] - 2025-02-07 -Initial release. \ No newline at end of file +Initial release. diff --git a/packages/ic-ed25519/Cargo.toml b/packages/ic-ed25519/Cargo.toml index f26754df5a4..9c4c215c3f9 100644 --- a/packages/ic-ed25519/Cargo.toml +++ b/packages/ic-ed25519/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ic-ed25519" -version = "0.1.0" +version = "0.2.0" description = "A package created for the Internet Computer Protocol for creating and verifying Ed25519 signatures." license = "Apache-2.0" readme = "README.md"