From d0c9c9d4c61056c0eb48dbbf6439b6c77ae62d12 Mon Sep 17 00:00:00 2001 From: decentclock Date: Tue, 21 Jun 2022 11:39:09 -0600 Subject: [PATCH] Point all VLS dependencies to Evan's fork --- Cargo.toml | 5 +++++ broker/Cargo.toml | 4 ++-- parser/Cargo.toml | 2 +- tester/Cargo.toml | 4 ++-- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3a1c696..97cce6e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,3 +11,8 @@ members = [ exclude = [ "sphinx-key", ] + +[patch.crates-io] +# updates the "rand" create to use esp RNG +getrandom = { version = "0.2", git = "https://github.com/esp-rs-compat/getrandom.git" } +secp256k1 = { git = "https://github.com/Evanfeenstra/rust-secp256k1", branch = "v0.22.0-new-rand" } diff --git a/broker/Cargo.toml b/broker/Cargo.toml index c848600..bf0e27a 100644 --- a/broker/Cargo.toml +++ b/broker/Cargo.toml @@ -10,8 +10,8 @@ rumqttd = { git = "https://github.com/Evanfeenstra/rumqtt", branch = "metrics" } pretty_env_logger = "0.4.0" confy = "0.4.0" tokio = { version = "1.4.0", features = ["rt", "rt-multi-thread", "macros"] } -vls-protocol = { git = "https://gitlab.com/lightning-signer/validating-lightning-signer" } -vls-proxy = { git = "https://gitlab.com/lightning-signer/validating-lightning-signer" } +vls-protocol = { git = "https://gitlab.com/Evanfeenstra/validating-lightning-signer", branch = "partial-std" } +vls-proxy = { git = "https://gitlab.com/Evanfeenstra/validating-lightning-signer", branch = "partial-std" } sphinx-key-parser = { path = "../parser" } secp256k1 = { version = "0.20", features = ["rand-std", "bitcoin_hashes"] } anyhow = {version = "1", features = ["backtrace"]} diff --git a/parser/Cargo.toml b/parser/Cargo.toml index dc4905c..c5e6fc2 100644 --- a/parser/Cargo.toml +++ b/parser/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2021" [dependencies] -vls-protocol = { git = "https://gitlab.com/lightning-signer/validating-lightning-signer" } +vls-protocol = { git = "https://gitlab.com/Evanfeenstra/validating-lightning-signer", branch = "partial-std" } serde = { version = "1.0", default-features = false } serde_bolt = { version = "0.2", default-features = false } diff --git a/tester/Cargo.toml b/tester/Cargo.toml index e7908dd..d4e0e06 100644 --- a/tester/Cargo.toml +++ b/tester/Cargo.toml @@ -7,8 +7,8 @@ edition = "2018" [dependencies] sphinx-key-signer = { path = "../signer" } sphinx-key-parser = { path = "../parser" } -vls-protocol = { git = "https://gitlab.com/lightning-signer/validating-lightning-signer" } -vls-protocol-signer = { git = "https://gitlab.com/lightning-signer/validating-lightning-signer", default-features = false, features = ["secp-lowmemory"] } +vls-protocol = { git = "https://gitlab.com/Evanfeenstra/validating-lightning-signer", branch = "partial-std" } +vls-protocol-signer = { git = "https://gitlab.com/Evanfeenstra/validating-lightning-signer", branch = "partial-std", default-features = false, features = ["std", "secp-lowmemory"] } anyhow = {version = "1", features = ["backtrace"]} log = "0.4" rumqttc = "0.12.0"