Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
- Move `COFACTOR`, `COFACTOR_INV`, and `is_in_correct_subgroup_assuming_on_curve()` from `{SW,TE}ModelParameters` to `ModelParameters`.
- Add `mul_bits()` to `AffineCurve` and provide a default implementation of `mul()` using this.
- Remove duplicate function `scale_by_cofactor()` from `short_weierstrass_jacobian::GroupAffine` and `twisted_edwards_extended::GroupAffine`
- [\#370](https://github.com/arkworks-rs/algebra/pull/370) (all) Set the minimum `rust-version = 1.56` in the manifests of all crates.

### Features

Expand Down
1 change: 1 addition & 0 deletions ec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ categories = ["cryptography"]
include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
license = "MIT/Apache-2.0"
edition = "2021"
rust-version = "1.56"

[dependencies]
ark-std = { version = "^0.3.0", default-features = false }
Expand Down
1 change: 1 addition & 0 deletions ff-asm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ categories = ["cryptography"]
include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
license = "MIT/Apache-2.0"
edition = "2021"
rust-version = "1.56"

[dependencies]
quote = "1.0.0"
Expand Down
1 change: 1 addition & 0 deletions ff-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ categories = ["cryptography"]
include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
license = "MIT/Apache-2.0"
edition = "2021"
rust-version = "1.56"

[dependencies]
quote = "1.0.0"
Expand Down
1 change: 1 addition & 0 deletions ff/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ include = ["Cargo.toml", "build.rs", "src", "README.md", "LICENSE-APACHE", "LICE
license = "MIT/Apache-2.0"
edition = "2021"
build = "build.rs"
rust-version = "1.56"

[dependencies]
ark-ff-asm = { version = "^0.3.0", path = "../ff-asm" }
Expand Down
8 changes: 1 addition & 7 deletions ff/build.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
extern crate rustc_version;
use rustc_version::{version, version_meta, Channel, Version};
use rustc_version::{version_meta, Channel};

fn main() {
println!("cargo:rerun-if-changed=build.rs");
Expand All @@ -15,10 +15,4 @@ fn main() {
if should_use_asm {
println!("cargo:rustc-cfg=use_asm");
}

// TODO: remove this once RFC 2495 ships
if version().expect("Installed rustc version unparseable!") < Version::parse("1.51.0").unwrap()
{
panic!("This code base uses const generics and requires a Rust compiler version greater or equal to 1.51.0");
}
}
1 change: 1 addition & 0 deletions poly-benches/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
license = "MIT/Apache-2.0"
edition = "2021"
publish = false
rust-version = "1.56"

[dependencies]
ark-ff = { version = "^0.3.0", path = "../ff" }
Expand Down
1 change: 1 addition & 0 deletions poly/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ categories = ["cryptography"]
include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
license = "MIT/Apache-2.0"
edition = "2021"
rust-version = "1.56"

[dependencies]
ark-ff = { version = "^0.3.0", path = "../ff", default-features = false }
Expand Down
1 change: 1 addition & 0 deletions serialize-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ categories = ["cryptography"]
include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
license = "MIT/Apache-2.0"
edition = "2021"
rust-version = "1.56"

################################# Dependencies ################################

Expand Down
1 change: 1 addition & 0 deletions serialize/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ categories = ["cryptography"]
include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
license = "MIT/Apache-2.0"
edition = "2021"
rust-version = "1.56"

[dependencies]
ark-serialize-derive = { version = "^0.3.0", path = "../serialize-derive", optional = true }
Expand Down
1 change: 1 addition & 0 deletions test-curves/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ categories = ["cryptography"]
include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
license = "MIT/Apache-2.0"
edition = "2021"
rust-version = "1.56"

[dependencies]
ark-std = { version = "^0.3.0", default-features = false }
Expand Down
1 change: 1 addition & 0 deletions test-templates/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ categories = ["cryptography"]
include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
license = "MIT/Apache-2.0"
edition = "2021"
rust-version = "1.56"

[dependencies]
ark-std = { version = "^0.3.0", default-features = false }
Expand Down