mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-01-19 05:43:55 +01:00
aa4c6f6418
This makes `background-processor` build without `std` at all. This isn't particularly useful in the general no-std case as `background-processor` is only useful with the `futures` feature, and async will generally need `std` in some way or another. Still, it ensures we don't end up reintroducing a dependency on the current time, which breaks `wasm` use-cases.
32 lines
1.2 KiB
TOML
32 lines
1.2 KiB
TOML
[package]
|
|
name = "lightning-background-processor"
|
|
version = "0.0.113"
|
|
authors = ["Valentine Wallace <vwallace@protonmail.com>"]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "http://github.com/lightningdevkit/rust-lightning"
|
|
description = """
|
|
Utilities to perform required background tasks for Rust Lightning.
|
|
"""
|
|
edition = "2018"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[features]
|
|
futures = [ "futures-util" ]
|
|
std = ["lightning/std", "lightning-rapid-gossip-sync/std"]
|
|
|
|
default = ["std"]
|
|
|
|
[dependencies]
|
|
bitcoin = { version = "0.29.0", default-features = false }
|
|
lightning = { version = "0.0.113", path = "../lightning", default-features = false }
|
|
lightning-rapid-gossip-sync = { version = "0.0.113", path = "../lightning-rapid-gossip-sync", default-features = false }
|
|
futures-util = { version = "0.3", default-features = false, features = ["async-await-macro"], optional = true }
|
|
|
|
[dev-dependencies]
|
|
lightning = { version = "0.0.113", path = "../lightning", features = ["_test_utils"] }
|
|
lightning-invoice = { version = "0.21.0", path = "../lightning-invoice" }
|
|
lightning-persister = { version = "0.0.113", path = "../lightning-persister" }
|