Skip to content

Commit

Permalink
Merge pull request #80 from dusk-network/release-0.10-0
Browse files Browse the repository at this point in the history
Release 0.10.0
  • Loading branch information
CPerezz authored Apr 29, 2021
2 parents 8c4e73c + 7ab04b7 commit 052ac22
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 15 deletions.
25 changes: 20 additions & 5 deletions .github/workflows/dusk_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
command: check

test_nightly:
name: Nightly tests
name: Nightly tests std
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -28,8 +28,23 @@ jobs:
command: test
args: --release

test_nightly_nostd:
name: Nightly tests
build_nightly_nostd:
name: Nightly build no_std
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
# ARM contains no std lib. Just core and alloc.
- run: rustup target add thumbv6m-none-eabi
- uses: actions-rs/cargo@v1
with:
command: build
args: --release --no-default-features --target thumbv6m-none-eabi

test_nightly_canon_feature:
name: Nightly tests canon
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -39,7 +54,7 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: test
args: --release --no-default-features
args: --release --no-default-features --features canon

fmt:
name: Rustfmt
Expand All @@ -51,7 +66,7 @@ jobs:
profile: minimal
toolchain: nightly-2020-10-25
override: true
- run: rustup component add rustfmt
components: rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
Expand Down
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ homepage = "https://github.com/dusk-network/jubjub"
license = "MIT/Apache-2.0"
name = "dusk-jubjub"
repository = "https://github.com/dusk-network/jubjub"
version = "0.9.0"
version = "0.10.0"
keywords = ["cryptography", "jubjub", "zk-snarks", "ecc", "elliptic-curve"]
categories =["algorithms", "cryptography", "science"]
edition = "2018"
Expand All @@ -20,11 +20,11 @@ exclude = [".github/workflows/ci.yml", "github/workflows/rust.yml",

[dependencies]
dusk-bytes = "0.1"
dusk-bls12_381 = {version="0.7", default-features=false}
dusk-bls12_381 = {version="0.8.0", default-features=false}
subtle = {version="^2.3", default-features = false}
rand_core = {version = "0.6", default-features=false}
canonical = {version = "0.5", optional = true}
canonical_derive = {version = "0.5", optional = true}
canonical = {version = "0.6", optional = true}
canonical_derive = {version = "0.6", optional = true}

[dev-dependencies]
rand_xorshift = {version="0.3", default-features = false}
Expand Down
8 changes: 6 additions & 2 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
# Unreleased

# 0.10.0
### Change
- Update `dusk-bls12_381` to `0.8.0`. [#73](https://github.com/dusk-network/jubjub/issues/73)
- Update `canonical` to `0.6.0`. [#78](https://github.com/dusk-network/jubjub/issues/78)

# 0.9.0
### Fix
- Fix no_std compatibility for crate.[#67](https://github.com/dusk-network/jubjub/pull/67)
- Fix no_std compatibility for crate.[#67](https://github.com/dusk-network/jubjub/issues/67)

### Change
- Set `blake2` as dev-dep. [#64](https://github.com/dusk-network/jubjub/issues/64)


# 0.8.1
### Change
- Fix on default-features prop of dusk-bls12_381 dependency [#61](https://github.com/dusk-network/jubjub/issues/61)
Expand Down
2 changes: 0 additions & 2 deletions src/fr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
//! $\mathbb{F}_r$ where `r =
//! 0x0e7db4ea6533afa906673b0101343b00a6682093ccc81082d0970e5ed6f72cb7`
#[cfg(feature = "canon")]
use canonical::Canon;
#[cfg(feature = "canon")]
use canonical_derive::Canon;
use core::cmp::{Ord, Ordering, PartialOrd};
Expand Down
2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@
#[macro_use]
extern crate std;

#[cfg(feature = "canon")]
use canonical::Canon;
#[cfg(feature = "canon")]
use canonical_derive::Canon;
use core::ops::{Add, AddAssign, Mul, MulAssign, Neg, Sub, SubAssign};
Expand Down

0 comments on commit 052ac22

Please sign in to comment.