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

Commit

Permalink
Merge pull request #7 from matter-labs/sonic
Browse files Browse the repository at this point in the history
- Make singlethreaded version as feature to be used already - Introduce features to later add full SONIC and GM17
  • Loading branch information
shamatar authored Mar 5, 2019
2 parents e775b47 + f12986a commit 6e45a4b
Show file tree
Hide file tree
Showing 49 changed files with 10,251 additions and 743 deletions.
29 changes: 22 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ homepage = "https://github.com/matterinc/bellman"
license = "MIT/Apache-2.0"
name = "bellman"
repository = "https://github.com/matterinc/bellman"
version = "0.1.3"
version = "0.2.0"
edition = "2018"

[lib]
crate-type = ["cdylib", "lib", "staticlib"]
Expand All @@ -15,12 +16,26 @@ crate-type = ["cdylib", "lib", "staticlib"]
rand = "0.4"
bit-vec = "0.4.4"
futures = "0.1"
futures-cpupool = "0.1"
num_cpus = "1"
crossbeam = "0.3"
pairing = { git = 'https://github.com/matterinc/pairing' }

pairing = { git = 'https://github.com/matterinc/pairing', tag = "0.16.2" }
#pairing = { path = "../pairing" }
byteorder = "1"
ff = { git = 'https://github.com/matterinc/ff', features = ["derive"] }

futures-cpupool = {version = "0.1", optional = true}
num_cpus = {version = "1", optional = true}
crossbeam = {version = "0.7.1", optional = true}

tiny-keccak = {version = "1.4.2", optional = true}

[dependencies.blake2-rfc]
git = "https://github.com/gtank/blake2-rfc"
rev = "7a5b5fc99ae483a0043db7547fb79a6fa44b88a9"

[features]
default = []
default = ["multicore"]
#default = ["multicore", "gm17", "sonic"]
#default = ["singlecore"]
multicore = ["futures-cpupool", "num_cpus", "crossbeam"]
sonic = ["tiny-keccak"]
gm17 = []
singlecore = []
Loading

0 comments on commit 6e45a4b

Please sign in to comment.