Freeze rust version (#272)

This commit is contained in:
Ekaterina Broslavskaya 2024-12-04 21:50:52 +07:00 committed by GitHub
parent b9d27039c3
commit 8b04930583
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 13 additions and 9 deletions

View File

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

View File

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

View File

@ -157,10 +157,10 @@ impl ProcessArg for *mut RLN {
} }
} }
/// Buffer struct is taken from ///// Buffer struct is taken from
/// <https://github.com/celo-org/celo-threshold-bls-rs/blob/master/crates/threshold-bls-ffi/src/ffi.rs> ///// <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> ///// Also heavily inspired by <https://github.com/kilic/rln/blob/master/src/ffi.rs>
#[repr(C)] #[repr(C)]
#[derive(Clone, Debug, PartialEq)] #[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 /// 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}; use std::{cmp::max, fmt::Debug};
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
/// Optimal Merkle Tree Implementation ///// Optimal Merkle Tree Implementation
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
/// The Merkle tree structure /// The Merkle tree structure
@ -55,7 +55,9 @@ impl FromStr for OptimalMerkleConfig {
} }
} }
/// Implementations ////////////////////////////////////////////////////////////
///// Implementations
////////////////////////////////////////////////////////////
impl<H: Hasher> ZerokitMerkleTree for OptimalMerkleTree<H> impl<H: Hasher> ZerokitMerkleTree for OptimalMerkleTree<H>
where where