Compare commits

...

2 Commits

Author SHA1 Message Date
Ekaterina Broslavskaya
88f8a80faa Freeze rust version (#272) 2025-02-19 18:19:38 +07:00
seemenkina
0cce9f92d9 chore(release): bump rln and rln-wasm versions
Increment package versions:
- rln: 0.5.1 -> 0.6.1
- rln-wasm: 0.0.13 -> 0.1.0

Update Cargo.lock and Cargo.toml files to reflect new versions and dependencies
2025-02-19 18:17:03 +07:00
8 changed files with 19 additions and 15 deletions

View File

@@ -88,7 +88,8 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
# TODO: Update to stable once wasmer supports it
toolchain: 1.82.0
override: true
- uses: Swatinem/rust-cache@v2
- name: Install Dependencies

View File

@@ -94,7 +94,8 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
# TODO: Update to stable once wasmer supports it
toolchain: 1.82.0
override: true
- uses: Swatinem/rust-cache@v2
- name: Install dependencies

6
Cargo.lock generated
View File

@@ -1,6 +1,6 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
version = 4
[[package]]
name = "addr2line"
@@ -2282,7 +2282,7 @@ dependencies = [
[[package]]
name = "rln"
version = "0.5.1"
version = "0.6.1"
dependencies = [
"ark-bn254",
"ark-circom",
@@ -2326,7 +2326,7 @@ dependencies = [
[[package]]
name = "rln-wasm"
version = "0.0.13"
version = "0.1.0"
dependencies = [
"console_error_panic_hook",
"getrandom",

View File

@@ -1,6 +1,6 @@
[package]
name = "rln-wasm"
version = "0.0.13"
version = "0.1.0"
edition = "2021"
license = "MIT or Apache2"
@@ -14,7 +14,7 @@ default = ["console_error_panic_hook"]
rln = { path = "../rln", default-features = false, features = [
"wasm",
"stateless",
] }
], version = "=0.6.1"}
num-bigint = { version = "0.4", default-features = false, features = [
"rand",
"serde",

View File

@@ -1,6 +1,6 @@
[package]
name = "rln"
version = "0.5.1"
version = "0.6.1"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "APIs to manage, compute and verify zkSNARK proofs and RLN primitives"

View File

@@ -157,10 +157,10 @@ impl ProcessArg for *mut RLN {
}
}
/// Buffer struct is taken from
/// <https://github.com/celo-org/celo-threshold-bls-rs/blob/master/crates/threshold-bls-ffi/src/ffi.rs>
///
/// Also heavily inspired by <https://github.com/kilic/rln/blob/master/src/ffi.rs>
///// Buffer struct is taken from
///// <https://github.com/celo-org/celo-threshold-bls-rs/blob/master/crates/threshold-bls-ffi/src/ffi.rs>
/////
///// Also heavily inspired by <https://github.com/kilic/rln/blob/master/src/ffi.rs>
#[repr(C)]
#[derive(Clone, Debug, PartialEq)]

View File

@@ -8,7 +8,7 @@ use std::{
};
////////////////////////////////////////////////////////////
/// Full Merkle Tree Implementation
///// Full Merkle Tree Implementation
////////////////////////////////////////////////////////////
/// Merkle tree with all leaf and intermediate hashes stored

View File

@@ -6,7 +6,7 @@ use std::str::FromStr;
use std::{cmp::max, fmt::Debug};
////////////////////////////////////////////////////////////
/// Optimal Merkle Tree Implementation
///// Optimal Merkle Tree Implementation
////////////////////////////////////////////////////////////
/// The Merkle tree structure
@@ -55,7 +55,9 @@ impl FromStr for OptimalMerkleConfig {
}
}
/// Implementations
////////////////////////////////////////////////////////////
///// Implementations
////////////////////////////////////////////////////////////
impl<H: Hasher> ZerokitMerkleTree for OptimalMerkleTree<H>
where