X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=no-std-check%2FCargo.toml;h=45a70c2a6d1bc15e457a8f4929a492c206ede102;hb=8e6a27c9b353f7b3363ad7acc799b7005a95bdfb;hp=cb22dcea9bfa7b71541404934b32d64c998d59db;hpb=aa4c6f6418d7500307853d125528d65e9170cb15;p=rust-lightning diff --git a/no-std-check/Cargo.toml b/no-std-check/Cargo.toml index cb22dcea..45a70c2a 100644 --- a/no-std-check/Cargo.toml +++ b/no-std-check/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "no-std-check" version = "0.1.0" -edition = "2018" +edition = "2021" [features] default = ["lightning/no-std", "lightning-invoice/no-std", "lightning-rapid-gossip-sync/no-std"] @@ -11,3 +11,10 @@ lightning = { path = "../lightning", default-features = false } lightning-invoice = { path = "../lightning-invoice", default-features = false } lightning-rapid-gossip-sync = { path = "../lightning-rapid-gossip-sync", default-features = false } lightning-background-processor = { path = "../lightning-background-processor", features = ["futures"], default-features = false } + +# Obviously lightning-transaction-sync doesn't support no-std, but it should build +# even if lightning is built with no-std. +lightning-transaction-sync = { path = "../lightning-transaction-sync", optional = true } + +[patch.crates-io] +possiblyrandom = { path = "../possiblyrandom" }