From 8918bed771b276f25fb2065b2fc45e0cc5ecdf61 Mon Sep 17 00:00:00 2001 From: weikeng Date: Sat, 5 Jun 2021 16:27:40 -0700 Subject: [PATCH 1/2] init --- CHANGELOG.md | 12 ++++++++++++ Cargo.toml | 4 ++-- src/lib.rs | 2 ++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 838a9c0..9461235 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,10 +2,22 @@ ### Breaking changes +### Features + +### Improvements + +### Bug fixes + +## v0.3.0 + +### Breaking changes + - [\#32](https://github.com/arkworks-rs/utils/pull/32) Bump `rand` to 0.8 and remove the use of `rand_xorshift`. ### Features +- []() Re-export `num_traits::{One, Zero}` from `ark-std`. + ### Improvements ### Bug fixes diff --git a/Cargo.toml b/Cargo.toml index 1fa8097..c5e1952 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ark-std" -version = "0.2.1-alpha.0" +version = "0.3.0" authors = [ "arkworks contributors" ] description = "A library for no_std compatibility" homepage = "https://arkworks.rs" @@ -16,7 +16,7 @@ edition = "2018" rand = { version = "0.8", default-features = false, features = ["std_rng"] } rayon = { version = "1", optional = true } colored = { version = "2", optional = true } - +num-traits = { version = "0.2", default-features = false } [features] default = [ "std" ] diff --git a/src/lib.rs b/src/lib.rs index dd98ef2..921d57e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -49,6 +49,8 @@ pub use rand_helper::*; pub mod perf_trace; +pub use num_traits::{One, Zero}; + /// Returns the ceiling of the base-2 logarithm of `x`. /// /// ``` From 49ef23b55a405340aebdfdf01d88a16b8f0aad87 Mon Sep 17 00:00:00 2001 From: weikeng Date: Sat, 5 Jun 2021 16:29:38 -0700 Subject: [PATCH 2/2] update the CHANGELOG --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9461235..3da3013 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,7 @@ ### Features -- []() Re-export `num_traits::{One, Zero}` from `ark-std`. +- [\#34](https://github.com/arkworks-rs/utils/pull/34) Re-export `num_traits::{One, Zero}` from `ark-std`. ### Improvements