refactor: separate conditional dependencies

- move cln-rpc to regular dependencies
- add whitespace to separate conditional dependencies

fixes build on MSVC and OpenBSD
This commit is contained in:
zappityzap 2024-08-17 09:18:17 -07:00 committed by Greg Heartsfield
parent 5a21890625
commit 05411eb9e3

View File

@ -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"