diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b8d846..3be1dda 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ ## Pending +### Breaking changes + +### Features + +### Improvements + +### Bugfixes + +## v0.5.0 + - [\#120](https://github.com/arkworks-rs/crypto-primitives/pull/120) Add input size check to `bowe_hopwood::CRHGadget::evaluate`. ### Breaking changes diff --git a/Cargo.toml b/Cargo.toml index afe68c4..2776179 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ members = [ resolver = "2" [workspace.package] -version = "0.4.0" +version = "0.5.0" authors = [ "arkworks contributors" ] description = "A library of useful cryptographic primitives" homepage = "https://arkworks.rs" @@ -43,16 +43,16 @@ incremental = true debug-assertions = true debug = true -[patch.crates-io] -ark-r1cs-std = { git = "https://github.com/arkworks-rs/r1cs-std/" } -ark-ff = { git = "https://github.com/arkworks-rs/algebra/" } -ark-ec = { git = "https://github.com/arkworks-rs/algebra/" } -ark-poly = { git = "https://github.com/arkworks-rs/algebra/" } -ark-serialize = { git = "https://github.com/arkworks-rs/algebra/" } -ark-std = { git = "https://github.com/arkworks-rs/std/" } +# [patch.crates-io] +# ark-r1cs-std = { git = "https://github.com/arkworks-rs/r1cs-std/" } +# ark-ff = { git = "https://github.com/arkworks-rs/algebra/" } +# ark-ec = { git = "https://github.com/arkworks-rs/algebra/" } +# ark-poly = { git = "https://github.com/arkworks-rs/algebra/" } +# ark-serialize = { git = "https://github.com/arkworks-rs/algebra/" } +# ark-std = { git = "https://github.com/arkworks-rs/std/" } -ark-ed-on-bls12-377 = { git = "https://github.com/arkworks-rs/algebra/" } -ark-ed-on-bls12-381 = { git = "https://github.com/arkworks-rs/algebra/" } -ark-bls12-377 = { git = "https://github.com/arkworks-rs/algebra/" } -ark-mnt4-298 = { git = "https://github.com/arkworks-rs/algebra/" } -ark-mnt6-298 = { git = "https://github.com/arkworks-rs/algebra/" } +# ark-ed-on-bls12-377 = { git = "https://github.com/arkworks-rs/algebra/" } +# ark-ed-on-bls12-381 = { git = "https://github.com/arkworks-rs/algebra/" } +# ark-bls12-377 = { git = "https://github.com/arkworks-rs/algebra/" } +# ark-mnt4-298 = { git = "https://github.com/arkworks-rs/algebra/" } +# ark-mnt6-298 = { git = "https://github.com/arkworks-rs/algebra/" } diff --git a/crypto-primitives/Cargo.toml b/crypto-primitives/Cargo.toml index 5799c15..ca402d6 100644 --- a/crypto-primitives/Cargo.toml +++ b/crypto-primitives/Cargo.toml @@ -15,21 +15,21 @@ edition.workspace = true ################################# Dependencies ################################ [dependencies] -ark-crypto-primitives-macros = { version = "^0.4.0", path = "../macros" } +ark-crypto-primitives-macros = { version = "0.5.0-alpha", path = "../macros" } -ark-ff = { version = "^0.4.0", default-features = false } -ark-ec = { version = "^0.4.0", default-features = false } -ark-std = { version = "^0.4.0", default-features = false } -ark-relations = { version = "^0.4.0", default-features = false } -ark-serialize = { version = "^0.4.0", default-features = false, features = [ "derive" ] } +ark-ff = { version = "0.5.0", default-features = false } +ark-ec = { version = "0.5.0", default-features = false } +ark-std = { version = "0.5.0", default-features = false } +ark-relations = { version = "0.5.0", default-features = false } +ark-serialize = { version = "0.5.0", default-features = false, features = [ "derive" ] } blake2 = { version = "0.10", default-features = false } sha2 = { version = "0.10", default-features = false } digest = { version = "0.10", default-features = false } merlin = { version = "3.0.0", default-features = false, optional = true } -ark-r1cs-std = { version = "^0.4.0", optional = true, default-features = false } -ark-snark = { version = "^0.4.0", default-features = false } +ark-r1cs-std = { version = "0.5.0", optional = true, default-features = false } +ark-snark = { version = "0.5.0", default-features = false } rayon = { version = "1.0", optional = true } derivative = { version = "2.0", features = ["use_core"] } @@ -58,11 +58,11 @@ ahash = { version = "0.8", default-features = false} fnv = { version = "1.0", default-features = false } [dev-dependencies] -ark-ed-on-bls12-377 = { version = "^0.4.0", default-features = false } -ark-ed-on-bls12-381 = { version = "^0.4.0", default-features = false, features = [ "r1cs" ] } -ark-bls12-377 = { version = "^0.4.0", default-features = false, features = [ "curve", "r1cs" ] } -ark-mnt4-298 = { version = "^0.4.0", default-features = false, features = [ "curve", "r1cs" ] } -ark-mnt6-298 = { version = "^0.4.0", default-features = false, features = [ "r1cs" ] } +ark-ed-on-bls12-377 = { version = "0.5.0", default-features = false } +ark-ed-on-bls12-381 = { version = "0.5.0", default-features = false, features = [ "r1cs" ] } +ark-bls12-377 = { version = "0.5.0", default-features = false, features = [ "curve", "r1cs" ] } +ark-mnt4-298 = { version = "0.5.0", default-features = false, features = [ "curve", "r1cs" ] } +ark-mnt6-298 = { version = "0.5.0", default-features = false, features = [ "r1cs" ] } criterion = { version = "0.4" } ################################# Benchmarks ################################## diff --git a/crypto-primitives/LICENSE-APACHE b/crypto-primitives/LICENSE-APACHE index 6b579aa..965b606 120000 --- a/crypto-primitives/LICENSE-APACHE +++ b/crypto-primitives/LICENSE-APACHE @@ -1 +1 @@ -LICENSE-APACHE \ No newline at end of file +../LICENSE-APACHE \ No newline at end of file diff --git a/crypto-primitives/LICENSE-MIT b/crypto-primitives/LICENSE-MIT index 7f9a88e..76219eb 120000 --- a/crypto-primitives/LICENSE-MIT +++ b/crypto-primitives/LICENSE-MIT @@ -1 +1 @@ -LICENSE-MIT \ No newline at end of file +../LICENSE-MIT \ No newline at end of file diff --git a/macros/Cargo.toml b/macros/Cargo.toml index 7b20973..57f0902 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -10,7 +10,6 @@ categories.workspace = true include.workspace = true license.workspace = true edition.workspace = true -publish = false [dependencies] quote = { version = "1.0" } diff --git a/macros/LICENSE-APACHE b/macros/LICENSE-APACHE index 6b579aa..965b606 120000 --- a/macros/LICENSE-APACHE +++ b/macros/LICENSE-APACHE @@ -1 +1 @@ -LICENSE-APACHE \ No newline at end of file +../LICENSE-APACHE \ No newline at end of file diff --git a/macros/LICENSE-MIT b/macros/LICENSE-MIT index 7f9a88e..76219eb 120000 --- a/macros/LICENSE-MIT +++ b/macros/LICENSE-MIT @@ -1 +1 @@ -LICENSE-MIT \ No newline at end of file +../LICENSE-MIT \ No newline at end of file