From 05411eb9e34f3ceb1d406056526e9387048e3a79 Mon Sep 17 00:00:00 2001 From: zappityzap Date: Sat, 17 Aug 2024 09:18:17 -0700 Subject: [PATCH] refactor: separate conditional dependencies - move cln-rpc to regular dependencies - add whitespace to separate conditional dependencies fixes build on MSVC and OpenBSD --- Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index b6549e6..8a98844 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -56,9 +56,10 @@ url = "2.3.1" qrcode = { version = "0.12.0", default-features = false, features = ["svg"] } nostr = { version = "0.18.0", default-features = false, features = ["base", "nip04", "nip19"] } log = "0.4" +cln-rpc = "0.1.9" + [target.'cfg(all(not(target_env = "msvc"), not(target_os = "openbsd")))'.dependencies] tikv-jemallocator = "0.5" -cln-rpc = "0.1.9" [dev-dependencies] anyhow = "1"