Remove nightly advice for subtle.

This is not necessary since 2.2.1.
This commit is contained in:
Henry de Valence 2019-11-27 11:01:05 -08:00
parent e2e0f5089f
commit 62937011f7
3 changed files with 2 additions and 14 deletions

View File

@ -18,7 +18,7 @@ version = "1"
default-features = false
[dependencies.subtle]
version = "2.1"
version = "^2.2.1"
default-features = false
[dev-dependencies.rand_core]
@ -31,5 +31,4 @@ default-features = false
[features]
default = ["std"]
nightly = ["subtle/nightly"]
std = []

View File

@ -14,7 +14,6 @@ This is a pure Rust implementation of the Jubjub elliptic curve group and its as
## Features
* `std` (on by default): Enables APIs that leverage the Rust standard library.
* `nightly`: Enables `subtle/nightly` which prevents compiler optimizations that could jeopardize constant time operations.
## [Documentation](https://docs.rs/jubjub)

View File

@ -14,17 +14,7 @@
//! All operations are constant time unless explicitly noted; these functions will contain
//! "vartime" in their name and they will be documented as variable time.
//!
//! This crate relies on the `subtle` crate for achieving constant time arithmetic. It is
//! recommended to enable the `nightly` feature on this crate (which enables the `nightly`
//! feature in the `subtle` crate) to defend against compiler optimizations that may
//! compromise constant time arithmetic. However, this requires use of the nightly version
//! of the Rust compiler.
//!
//! # Features
//!
//! * `nightly`: This enables `subtle/nightly` which attempts to prevent the compiler from
//! performing optimizations that could compromise constant time arithmetic. It is
//! recommended to enable this if you are able to use a nightly version of the Rust compiler.
//! This crate relies on the `subtle` crate for achieving constant time arithmetic.
#![no_std]
// Catch documentation errors caused by code changes.