From 93538aab361685775710cdb24c2093c2590e5911 Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Wed, 18 Aug 2021 18:05:35 +0800 Subject: [PATCH] cargo: use consistent package rev for engine25519-as Signed-off-by: Sean Cross --- Cargo.toml | 42 +++++++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 19 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f78a45b..416195a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,8 +5,10 @@ name = "curve25519-dalek" # - update html_root_url # - update README if required by semver version = "3.1.0" -authors = ["Isis Lovecruft ", - "Henry de Valence "] +authors = [ + "Isis Lovecruft ", + "Henry de Valence ", +] readme = "README.md" license = "BSD-3-Clause" repository = "https://github.com/dalek-cryptography/curve25519-dalek" @@ -15,11 +17,7 @@ documentation = "https://docs.rs/curve25519-dalek" categories = ["cryptography", "no-std"] keywords = ["cryptography", "crypto", "ristretto", "curve25519", "ristretto255"] description = "A pure-Rust implementation of group operations on ristretto255 and Curve25519" -exclude = [ - "**/.gitignore", - ".gitignore", - ".travis.yml", -] +exclude = ["**/.gitignore", ".gitignore", ".travis.yml"] [package.metadata.docs.rs] # Disabled for now since this is borked; tracking https://github.com/rust-lang/docs.rs/issues/302 @@ -27,7 +25,7 @@ exclude = [ features = ["nightly", "simd_backend"] [badges] -travis-ci = { repository = "dalek-cryptography/curve25519-dalek", branch = "master"} +travis-ci = { repository = "dalek-cryptography/curve25519-dalek", branch = "master" } [dev-dependencies] sha2 = { version = "0.9", default-features = false } @@ -42,21 +40,27 @@ harness = false [dependencies] rand_core = { version = "0.5", default-features = false } -byteorder = { version = "^1.2.3", default-features = false, features = ["i128"] } +byteorder = { version = "^1.2.3", default-features = false, features = [ + "i128", +] } digest = { version = "0.9", default-features = false } subtle = { version = "^2.2.1", default-features = false } -serde = { version = "1.0", default-features = false, optional = true, features = ["derive"] } +serde = { version = "1.0", default-features = false, optional = true, features = [ + "derive", +] } # The original packed_simd package was orphaned, see # https://github.com/rust-lang/packed_simd/issues/303#issuecomment-701361161 -packed_simd = { version = "0.3.4", package = "packed_simd_2", features = ["into_bits"], optional = true } +packed_simd = { version = "0.3.4", package = "packed_simd_2", features = [ + "into_bits", +], optional = true } zeroize = { version = "1", default-features = false } -fiat-crypto = { version = "0.1.6", optional = true} +fiat-crypto = { version = "0.1.6", optional = true } # Betrusted/Precursor dependency set -log = {version = "0.4", optional = true} +log = { version = "0.4", optional = true } [dependencies.engine-25519] -git="https://github.com/betrusted-io/xous-engine-25519.git" -rev="63d3d1f30736022e791deaacf4dd62c00b42fe2e" +git = "https://github.com/betrusted-io/xous-engine-25519.git" +rev = "63d3d1f30736022e791deaacf4dd62c00b42fe2e" optional = true [dependencies.utralib] @@ -65,15 +69,15 @@ version = "0.1.0" # this is bogus -- must be patched in the invoking build envir optional = true [dependencies.engine25519-as] -git="https://github.com/betrusted-io/engine25519-as.git" -rev="6681e73c1fdc4a460b5ef9f9c7c91aef546d00f3" +git = "https://github.com/betrusted-io/engine25519-as.git" +rev = "274b82899d28535ac6d4b7869e26eef2039578d5" default-features = false features = [] optional = true [dev-dependencies.engine25519-as] -git="https://github.com/betrusted-io/engine25519-as.git" -rev="274b82899d28535ac6d4b7869e26eef2039578d5" +git = "https://github.com/betrusted-io/engine25519-as.git" +rev = "274b82899d28535ac6d4b7869e26eef2039578d5" [features] nightly = ["subtle/nightly"]