-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies, 2.0.0 release (#35)
* Update deps, 2.0.0 release * Fix minor clippy warnings (#38) * Loop over test vectors directly Address a clippy warning by unpacking over the container elements directly instead of using a range and index variable. This is more idiomatic. * Simplify test assertion Use the more explicit `is_err` instead of negating `is_ok`. Addresses a clippy lint. * Remove redundant struct label in test Address a clippy warning. When the struct initialization value has the same name as the member, it's idiomatic to omit the member label. * Remove unnecessary base64 import The base64 package is referred to by its full path, so the explict `use` statement is redundant in contemporary rust compilers. Addresses a clippy lint. * Fix broken build status badge (#37) The travis-ci.org service is no longer available. Link to the github actions status badge and page instead. * Update to criterion 0.5 (#36) * Update to criterion 0.5 Use the latest release of the `criterion` benchmark framework, v0.5.1 at the time of writing. No relevant api changes. This aligns with more recent software releases so there's less surprise and fewer old versions of things. * Fix benchmark typo Correct spelling of the "sign pre-tokens" benchmark. * cargo fmt (#39) --------- Co-authored-by: Ralph Giles <[email protected]> Co-authored-by: Ralph Giles <[email protected]>
- Loading branch information
1 parent
5be85b6
commit 6e5b0fb
Showing
10 changed files
with
34 additions
and
436 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
authors = ["eV <[email protected]>"] | ||
edition = "2018" | ||
name = "challenge-bypass-ristretto" | ||
version = "1.0.2" | ||
version = "2.0.0" | ||
readme = "README.md" | ||
license = "MPL-2.0" | ||
repository = "https://github.com/brave-intl/challenge-bypass-ristretto" | ||
|
@@ -14,13 +14,13 @@ exclude = [ | |
] | ||
|
||
[dependencies] | ||
crypto-mac = "0.10" | ||
curve25519-dalek = { version = "3", default-features = false } | ||
digest = "0.9" | ||
hmac = "0.10" | ||
rand = { version = "0.7", default-features = false } | ||
rand_core = "0.5.1" | ||
rand_chacha = "0.2.2" | ||
crypto-mac = "0.11" | ||
curve25519-dalek = { version = "4", default-features = false, features = ["precomputed-tables", "zeroize", "rand_core", "digest"]} | ||
digest = "0.10" | ||
hmac = "0.12" | ||
rand = { version = "0.8", default-features = false } | ||
rand_core = "0.6" | ||
rand_chacha = "0.3" | ||
subtle = { version = "^2.2", default-features = false } | ||
zeroize = "1.3" | ||
|
||
|
@@ -33,30 +33,21 @@ optional = true | |
version = "^1.0.0" | ||
default-features = false | ||
|
||
[dependencies.merlin] | ||
optional = true | ||
version = "2" | ||
|
||
[dev-dependencies] | ||
serde_json = "1.0" | ||
serde = { version = "^1.0.0", features = ["derive"] } | ||
sha2 = "0.9" | ||
sha2 = "0.10" | ||
base64 = "0.13" | ||
rand = { version = "0.7", default-features = true } | ||
criterion = { version = "0.3.4", features = ["html_reports"] } | ||
rand = { version = "0.8", default-features = true } | ||
criterion = { version = "0.5", features = ["html_reports"] } | ||
|
||
[features] | ||
nightly = ["curve25519-dalek/nightly"] | ||
default = ["std", "u64_backend"] | ||
std = ["alloc", "curve25519-dalek/std", "subtle/std"] | ||
default = ["std"] | ||
std = ["alloc", "subtle/std"] | ||
alloc = ["curve25519-dalek/alloc"] | ||
u32_backend = ["curve25519-dalek/u32_backend"] | ||
u64_backend = ["curve25519-dalek/u64_backend"] | ||
avx2_backend = ["curve25519-dalek/avx2_backend"] | ||
serde_base64 = ["serde", "base64"] | ||
|
||
[package.metadata.docs.rs] | ||
features = ["nightly"] | ||
rustdoc-args = [ | ||
"--document-private-items", | ||
"--html-in-header", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.PHONY: docs | ||
|
||
docs: | ||
cargo rustdoc --features nightly -- --document-private-items --html-in-header ./rustdoc-include-katex-header.html | ||
cargo rustdoc -- --document-private-items --html-in-header ./rustdoc-include-katex-header.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.