-
Notifications
You must be signed in to change notification settings - Fork 452
Expand file tree
/
Copy pathCargo.toml
More file actions
35 lines (30 loc) · 1.09 KB
/
Cargo.toml
File metadata and controls
35 lines (30 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[package]
name = "lightning-block-sync"
version = "0.3.0+git"
authors = ["Jeffrey Czyz", "Matt Corallo"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/lightningdevkit/rust-lightning"
readme = "../README.md"
description = """
Utilities to fetch the chain data from a block source and feed them into Rust Lightning.
"""
edition = "2021"
rust-version = "1.75"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
rest-client = [ "serde_json", "dep:bitreq" ]
rpc-client = [ "serde_json", "dep:bitreq" ]
tokio = [ "dep:tokio", "bitreq?/async" ]
[dependencies]
bitcoin = "0.32.2"
lightning = { version = "0.3.0", path = "../lightning" }
tokio = { version = "1.35", features = [ "io-util", "net", "time", "rt" ], optional = true }
serde_json = { version = "1.0", optional = true }
bitreq = { version = "0.3", default-features = false, features = ["std"], optional = true }
[dev-dependencies]
lightning = { version = "0.3.0", path = "../lightning", features = ["_test_utils"] }
tokio = { version = "1.35", features = [ "macros", "rt" ] }
[lints]
workspace = true