From 5ab0c0b42681483451b369e3ca49453a6d0d3ce9 Mon Sep 17 00:00:00 2001 From: bunnie Date: Sun, 27 Jun 2021 03:14:50 +0800 Subject: [PATCH] commit a version that should be able to build in CI now --- Cargo.lock | 11 ++++++----- services/shellchat/Cargo.toml | 6 +++--- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 08f8cc740..be8a4d2f9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -496,11 +496,11 @@ dependencies = [ [[package]] name = "curve25519-dalek" version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "639891fde0dbea823fc3d798a0fdf9d2f9440a42d64a78ab3488b0ca025117b3" dependencies = [ "byteorder", "digest", - "engine-25519", - "engine25519-as", "rand_core 0.5.1", "subtle", "zeroize", @@ -509,11 +509,12 @@ dependencies = [ [[package]] name = "curve25519-dalek" version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "639891fde0dbea823fc3d798a0fdf9d2f9440a42d64a78ab3488b0ca025117b3" +source = "git+https://github.com/betrusted-io/curve25519-dalek.git?branch=main#6ee5e8aeb1e53bf76bacc9708656a8a1897cc027" dependencies = [ "byteorder", "digest", + "engine-25519", + "engine25519-as", "rand_core 0.5.1", "subtle", "zeroize", @@ -1584,7 +1585,7 @@ dependencies = [ "codec", "com", "content-plugin-api", - "curve25519-dalek 3.1.0", + "curve25519-dalek 3.1.0 (git+https://github.com/betrusted-io/curve25519-dalek.git?branch=main)", "digest", "engine-25519", "engine-sha512", diff --git a/services/shellchat/Cargo.toml b/services/shellchat/Cargo.toml index 17e773368..4de456208 100644 --- a/services/shellchat/Cargo.toml +++ b/services/shellchat/Cargo.toml @@ -37,12 +37,12 @@ num-traits = {version = "0.2", default-features = false} rkyv = {version = "0.4.3", default-features = false, features = ["const_generics"]} # for the curve25519 tests -#curve25519-dalek = "3.1.0" -#curve25519-dalek = {git = "https://github.com/betrusted-io/curve25519-dalek.git", rev = "2ea17d554a54066efb3bc4895bee92e5b2e1bd50"} # hardware acceleration adaptations are inserted into a fork of the main branch. rand_core = "0.5" [dependencies.curve25519-dalek] -path = "../../../curve25519-dalek" +git="https://github.com/betrusted-io/curve25519-dalek.git" +branch="main" +#path = "../../../curve25519-dalek" default-features = false features = ["u32_backend", "betrusted"]