Skip to content

Commit

Permalink
feat: use released crates.io halo2-lib (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpwang authored Jan 18, 2024
1 parent d1b7860 commit cae383a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 13 deletions.
6 changes: 3 additions & 3 deletions halo2-lib-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@axiom-crypto/halo2-lib-js",
"version": "0.3.0-rc2.0",
"version": "0.3.3",
"description": "Halo2 Javascript library",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -32,11 +32,11 @@
"typescript": "^5.2.2"
},
"dependencies": {
"@axiom-crypto/halo2-wasm": "0.2.12-alpha.0",
"@axiom-crypto/halo2-wasm": "0.3.3",
"ethers": "^6.8.0",
"prettier": "1.18.2"
},
"publishConfig": {
"directory": "dist"
}
}
}
8 changes: 4 additions & 4 deletions halo2-repl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@axiom-crypto/halo2-repl",
"version": "0.1.1",
"version": "0.1.2",
"private": true,
"scripts": {
"dev": "next dev",
Expand All @@ -9,8 +9,8 @@
"lint": "next lint"
},
"dependencies": {
"@axiom-crypto/halo2-lib-js": "0.3.0-rc2.0",
"@axiom-crypto/halo2-wasm": "0.3.0-rc2.0",
"@axiom-crypto/halo2-lib-js": "0.3.3",
"@axiom-crypto/halo2-wasm": "0.3.3",
"@devbookhq/splitter": "^1.4.2",
"@headlessui/react": "^1.7.17",
"@heroicons/react": "^2.0.18",
Expand Down Expand Up @@ -41,4 +41,4 @@
"devDependencies": {
"@types/prettier": "1.18.2"
}
}
}
14 changes: 9 additions & 5 deletions halo2-wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "halo2-wasm"
version = "0.3.0-rc2.0"
version = "0.3.3"
edition = "2021"

[lib]
Expand All @@ -9,12 +9,16 @@ crate-type = ["cdylib", "lib"]
[dependencies]
wasm-bindgen = { version = "0.2.87" }

halo2-base = { git = "https://github.com/axiom-crypto/halo2-lib.git", package = "halo2-base", branch = "develop", features = ["halo2-axiom"] }
halo2-base = { version = "0.4.1", features = ["halo2-axiom"] }
# halo2-base = { git = "https://github.com/axiom-crypto/halo2-lib.git", branch = "main", features = ["halo2-axiom"] }

halo2-ecc = { git = "https://github.com/axiom-crypto/halo2-lib.git", package = "halo2-ecc", branch = "develop", default-features = false, features = ["halo2-axiom"] }
halo2-ecc = { version = "0.4.1", default-features = false, features = ["halo2-axiom"] }
# halo2-ecc = { git = "https://github.com/axiom-crypto/halo2-lib.git", branch = "main", default-features = false, features = ["halo2-axiom"] }

snark-verifier-sdk = { git = "https://github.com/axiom-crypto/snark-verifier.git", branch = "develop", default-features = false, features = ["loader_halo2", "halo2-axiom"] }
snark-verifier = { git = "https://github.com/axiom-crypto/snark-verifier.git", branch = "develop", default-features = false, features = ["loader_halo2", "halo2-axiom"] }
snark-verifier-sdk = { version = "0.1.7", default-features = false, features = ["loader_halo2", "halo2-axiom"] }
# snark-verifier-sdk = { git = "https://github.com/axiom-crypto/snark-verifier.git", branch = "main", default-features = false, features = ["loader_halo2", "halo2-axiom"] }
snark-verifier = { version = "0.1.7", default-features = false, features = ["loader_halo2", "halo2-axiom"] }
# snark-verifier = { git = "https://github.com/axiom-crypto/snark-verifier.git", branch = "main", default-features = false, features = ["loader_halo2", "halo2-axiom"] }

getrandom = { version = "0.2", features = ["js"] }
rand = "0.8"
Expand Down
2 changes: 1 addition & 1 deletion halo2-wasm/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@axiom-crypto/halo2-wasm",
"description": "Halo2 wasm bindings",
"version": "0.3.0-rc2.0",
"version": "0.3.3",
"main": "index.js",
"types": "index.d.ts",
"scripts": {
Expand Down

0 comments on commit cae383a

Please sign in to comment.