mirror of
https://github.com/arnaucube/ark-r1cs-std.git
synced 2026-01-09 07:21:29 +01:00
Update workspace and dependency paths
This commit is contained in:
47
.github/workflows/ci.yml
vendored
47
.github/workflows/ci.yml
vendored
@@ -84,10 +84,7 @@ jobs:
|
|||||||
command: test
|
command: test
|
||||||
args: "--all \
|
args: "--all \
|
||||||
--all-features \
|
--all-features \
|
||||||
--exclude cp-benches \
|
--exclude cp-benches "
|
||||||
--exclude algebra-benches \
|
|
||||||
--exclude ff-fft-benches \
|
|
||||||
-- --skip dpc --skip integration_test"
|
|
||||||
|
|
||||||
check_no_std:
|
check_no_std:
|
||||||
name: Check no_std
|
name: Check no_std
|
||||||
@@ -118,27 +115,6 @@ jobs:
|
|||||||
target
|
target
|
||||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||||
|
|
||||||
- name: algebra-core
|
|
||||||
run: |
|
|
||||||
cd algebra-core
|
|
||||||
cargo build -p algebra-core --no-default-features --target thumbv6m-none-eabi
|
|
||||||
cargo check --examples -p algebra-core --no-default-features --target thumbv6m-none-eabi
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: algebra
|
|
||||||
run: |
|
|
||||||
cd algebra
|
|
||||||
cargo build -p algebra --no-default-features --target thumbv6m-none-eabi
|
|
||||||
cargo check --examples -p algebra --no-default-features --target thumbv6m-none-eabi
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: r1cs-core
|
|
||||||
run: |
|
|
||||||
cd r1cs-core
|
|
||||||
cargo build -p r1cs-core --no-default-features --target thumbv6m-none-eabi
|
|
||||||
cargo check --examples -p r1cs-core --no-default-features --target thumbv6m-none-eabi
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: r1cs-std
|
- name: r1cs-std
|
||||||
run: |
|
run: |
|
||||||
cd r1cs-std
|
cd r1cs-std
|
||||||
@@ -146,27 +122,6 @@ jobs:
|
|||||||
cargo check --examples -p r1cs-std --no-default-features --target aarch64-unknown-none
|
cargo check --examples -p r1cs-std --no-default-features --target aarch64-unknown-none
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
- name: ff-fft
|
|
||||||
run: |
|
|
||||||
cd ff-fft
|
|
||||||
cargo build -p ff-fft --no-default-features --target thumbv6m-none-eabi
|
|
||||||
cargo check --examples -p ff-fft --no-default-features --target thumbv6m-none-eabi
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: groth16
|
|
||||||
run: |
|
|
||||||
cd groth16
|
|
||||||
cargo build -p groth16 --no-default-features --target thumbv6m-none-eabi
|
|
||||||
cargo check --examples -p groth16 --no-default-features --target thumbv6m-none-eabi
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: gm17
|
|
||||||
run: |
|
|
||||||
cd gm17
|
|
||||||
cargo build -p gm17 --no-default-features --target thumbv6m-none-eabi
|
|
||||||
cargo check --examples -p gm17 --no-default-features --target thumbv6m-none-eabi
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: crypto-primitives
|
- name: crypto-primitives
|
||||||
run: |
|
run: |
|
||||||
cd crypto-primitives
|
cd crypto-primitives
|
||||||
|
|||||||
11
Cargo.toml
11
Cargo.toml
@@ -1,20 +1,9 @@
|
|||||||
[workspace]
|
[workspace]
|
||||||
|
|
||||||
members = [
|
members = [
|
||||||
"algebra-core",
|
|
||||||
"algebra",
|
|
||||||
"algebra-benches",
|
|
||||||
"bench-utils",
|
|
||||||
"cp-benches",
|
"cp-benches",
|
||||||
"crypto-primitives",
|
"crypto-primitives",
|
||||||
"dpc",
|
|
||||||
"ff-fft",
|
|
||||||
"ff-fft-benches",
|
|
||||||
"gm17",
|
|
||||||
"groth16",
|
|
||||||
"r1cs-core",
|
|
||||||
"r1cs-std",
|
"r1cs-std",
|
||||||
"algebra-core/algebra-core-derive",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ edition = "2018"
|
|||||||
################################# Dependencies ################################
|
################################# Dependencies ################################
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
algebra = { path = "../algebra", default-features = false, features = [ "ed_on_bls12_377" ] }
|
algebra = { git = "https://github.com/scipr-lab/zexe/", default-features = false, features = [ "ed_on_bls12_377" ] }
|
||||||
blake2 = { version = "0.8", default-features = false }
|
blake2 = { version = "0.8", default-features = false }
|
||||||
criterion = "0.3.1"
|
criterion = "0.3.1"
|
||||||
crypto-primitives = { path = "../crypto-primitives" }
|
crypto-primitives = { path = "../crypto-primitives" }
|
||||||
@@ -49,4 +49,4 @@ harness = false
|
|||||||
[[bench]]
|
[[bench]]
|
||||||
name = "schnorr_sig"
|
name = "schnorr_sig"
|
||||||
path = "benches/crypto_primitives/signature.rs"
|
path = "benches/crypto_primitives/signature.rs"
|
||||||
harness = false
|
harness = false
|
||||||
|
|||||||
@@ -22,17 +22,17 @@ edition = "2018"
|
|||||||
################################# Dependencies ################################
|
################################# Dependencies ################################
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
algebra-core = { path = "../algebra-core", default-features = false }
|
algebra-core = { git = "https://github.com/scipr-lab/zexe", default-features = false }
|
||||||
bench-utils = { path = "../bench-utils" }
|
bench-utils = { git = "https://github.com/scipr-lab/zexe" }
|
||||||
|
|
||||||
blake2 = { version = "0.8", default-features = false }
|
blake2 = { version = "0.8", default-features = false }
|
||||||
digest = "0.8"
|
digest = "0.8"
|
||||||
|
|
||||||
ff-fft = { path = "../ff-fft", default-features = false }
|
ff-fft = { git = "https://github.com/scipr-lab/zexe", default-features = false }
|
||||||
gm17 = { path = "../gm17", optional = true, default-features = false }
|
gm17 = { git = "https://github.com/scipr-lab/zexe", optional = true, default-features = false }
|
||||||
groth16 = { path = "../groth16", optional = true, default-features = false }
|
groth16 = { git = "https://github.com/scipr-lab/zexe", optional = true, default-features = false }
|
||||||
|
|
||||||
r1cs-core = { path = "../r1cs-core", optional = true, default-features = false }
|
r1cs-core = { git = "https://github.com/scipr-lab/zexe", optional = true, default-features = false }
|
||||||
r1cs-std = { path = "../r1cs-std", optional = true, default-features = false }
|
r1cs-std = { path = "../r1cs-std", optional = true, default-features = false }
|
||||||
|
|
||||||
rand = { version = "0.7", default-features = false }
|
rand = { version = "0.7", default-features = false }
|
||||||
@@ -47,6 +47,6 @@ std = [ "algebra-core/std", "r1cs-core/std", "r1cs-std/std"]
|
|||||||
parallel = ["std", "rayon", "gm17/parallel", "groth16/parallel", "ff-fft/parallel"]
|
parallel = ["std", "rayon", "gm17/parallel", "groth16/parallel", "ff-fft/parallel"]
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
algebra = { path = "../algebra", default-features = false, features = [ "ed_on_bls12_381", "bls12_377", "mnt4_298", "mnt6_298" ] }
|
algebra = { git = "https://github.com/scipr-lab/zexe", default-features = false, features = [ "ed_on_bls12_381", "bls12_377", "mnt4_298", "mnt6_298" ] }
|
||||||
r1cs-std = { path = "../r1cs-std", default-features = false, features = [ "ed_on_bls12_381", "bls12_377", "mnt4_298", "mnt6_298" ] }
|
r1cs-std = { path = "../r1cs-std", default-features = false, features = [ "ed_on_bls12_381", "bls12_377", "mnt4_298", "mnt6_298" ] }
|
||||||
rand_xorshift = { version = "0.2" }
|
rand_xorshift = { version = "0.2" }
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ edition = "2018"
|
|||||||
################################# Dependencies ################################
|
################################# Dependencies ################################
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
algebra = { path = "../algebra", default-features = false }
|
algebra = { git = "https://github.com/scipr-lab/zexe", default-features = false }
|
||||||
r1cs-core = { path = "../r1cs-core", default-features = false }
|
r1cs-core = { git = "https://github.com/scipr-lab/zexe", default-features = false }
|
||||||
derivative = { version = "2", features = ["use_core"] }
|
derivative = { version = "2", features = ["use_core"] }
|
||||||
tracing = { version = "0.1", default-features = false, features = [ "attributes" ] }
|
tracing = { version = "0.1", default-features = false, features = [ "attributes" ] }
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@ rand = { version = "0.7", default-features = false }
|
|||||||
rand_xorshift = { version = "0.2" }
|
rand_xorshift = { version = "0.2" }
|
||||||
# Currently this means that all downstream users of `r1cs-std` will be using
|
# Currently this means that all downstream users of `r1cs-std` will be using
|
||||||
# `algebra` with the `bls12_381` feature. This is because of a cargo bug.
|
# `algebra` with the `bls12_381` feature. This is because of a cargo bug.
|
||||||
algebra = { path = "../algebra", default-features = false, features = [ "bls12_381" ] }
|
algebra = { git = "https://github.com/scipr-lab/zexe", default-features = false, features = [ "bls12_381" ] }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
|
|||||||
Reference in New Issue
Block a user