Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
Crates.io 0.2.0 release (#69)
Browse files Browse the repository at this point in the history
* goldilocks field implementation

* implemented functions for snark wrapper

* update bellman

* boojum updated

* Update Cargo.toml

* Remove Secrets & Add CI to Branch snark_wrapper  (#55)

* Moves to ubuntu-latest in snark_wrapper (#57)

* Moves to ubuntu-latest.

Removes installs.

* Adds license check CI.

* fixed mul_add issue

* done

* Fr to Goldilocks fixed

* cargo fmt rollbacked

* function docs added

* small fix

* Prepare 0.2.0 release

* Revert undesired CI changes

---------

Co-authored-by: Oles Holembovskyy <oh@matterlabs.dev>
Co-authored-by: Shahar Kaminsky <sk@matterlabs.dev>
Co-authored-by: Yury Akudovich <ya@matterlabs.dev>
Co-authored-by: Oles Holembovskyy <87322925+olesHolem@users.noreply.github.com>
Co-authored-by: Marcin M <128217157+mm-zk@users.noreply.github.com>
Co-authored-by: Alexander <alex.m.vlasov@gmail.com>
  • Loading branch information
7 people authored Aug 5, 2024
1 parent ddb5203 commit 89ed482
Show file tree
Hide file tree
Showing 7 changed files with 1,249 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:

jobs:
build:
runs-on: ubuntu-latest
runs-on: [ubuntu-latest]

steps:
- uses: actions/checkout@v3
Expand All @@ -28,8 +28,8 @@ jobs:
- name: Setup rust
run: |
rustup set profile minimal
rustup toolchain install nightly-2022-08-23
rustup default nightly-2022-08-23
rustup toolchain install nightly-2023-08-23
rustup default nightly-2023-08-23
- name: Compile
run: |
cargo build --verbose
10 changes: 8 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description = "Cryptographic library for SNARK gadgets"
homepage = "https://github.com/matter-labs/franklin-crypto"
license = "MIT/Apache-2.0"
name = "franklin-crypto"
version = "0.1.0"
version = "0.2.0"

[lib]
crate-type = ["lib", "staticlib"]
Expand All @@ -16,6 +16,11 @@ plonk = ["bellman/plonk"]
allocator = ["bellman/allocator"]

[dependencies]
derivative = "2"

# boojum = {package = "boojum", path = "../boojum" }
boojum = "=0.2.0"

rand = "0.4"
digest = "0.9"
byteorder = "1"
Expand All @@ -35,7 +40,8 @@ num-derive = "0.2"
indexmap = "1.9"
smallvec = "1.10"

bellman = { package = "bellman_ce", version = "0.7.0" }
# bellman = { package = "bellman_ce", path = "../bellman" }
bellman = { package = "bellman_ce", version = "=0.8.0" }
blake2-rfc_bellman_edition = "0.0.1"
#poseidon_hash = { path = "../poseidon_hash" }
#poseidon_hash = {git = "https://github.com/shamatar/poseidon_hash.git"}
Expand Down
1 change: 1 addition & 0 deletions rust-toolchain
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nightly-2024-05-07
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@


pub extern crate bellman;
pub extern crate boojum;
extern crate blake2_rfc_bellman_edition as blake2_rfc;
extern crate digest;
extern crate rand;
Expand All @@ -20,6 +21,7 @@ extern crate blake2;
extern crate serde;
extern crate num_derive;
extern crate indexmap;
extern crate derivative;

use bellman::pairing;
use bellman::pairing::ff;
Expand Down
Loading

0 comments on commit 89ed482

Please sign in to comment.