Skip to content

Commit

Permalink
refactor: separate conditional dependencies
Browse files Browse the repository at this point in the history
- move cln-rpc to regular dependencies
- add whitespace to separate conditional dependencies

fixes build on MSVC and OpenBSD
  • Loading branch information
zappityzap authored and scsibug committed Sep 6, 2024
1 parent 5a21890 commit 05411eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 05411eb

Please sign in to comment.