-
Notifications
You must be signed in to change notification settings - Fork 456
Expand file tree
/
Copy pathCargo.toml
More file actions
43 lines (36 loc) · 1.54 KB
/
Cargo.toml
File metadata and controls
43 lines (36 loc) · 1.54 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
36
37
38
39
40
41
42
43
[package]
name = "lightning-persister"
version = "0.3.0+git"
authors = ["Valentine Wallace", "Matt Corallo"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/lightningdevkit/rust-lightning"
readme = "../README.md"
description = """
Utilities for LDK data persistence and retrieval.
"""
edition = "2021"
rust-version = "1.75"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
tokio = ["dep:tokio"]
vss = ["dep:vss-client", "dep:tokio", "dep:getrandom", "dep:lightning-macros"]
[dependencies]
bitcoin = "0.32.2"
lightning = { version = "0.3.0", path = "../lightning" }
lightning-macros = { version = "0.2.0", path = "../lightning-macros", optional = true }
tokio = { version = "1.35", optional = true, default-features = false, features = ["rt-multi-thread"] }
vss-client = { package = "vss-client-ng", version = "0.5", optional = true }
getrandom = { version = "0.3", optional = true }
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.48.0", default-features = false, features = ["Win32_Storage_FileSystem", "Win32_Foundation"] }
[target.'cfg(ldk_bench)'.dependencies]
criterion = { version = "0.4", optional = true, default-features = false }
[dev-dependencies]
lightning = { version = "0.3.0", path = "../lightning", features = ["_test_utils"] }
bitcoin = { version = "0.32.2", default-features = false }
rand = { version = "0.9.2", default-features = false, features = ["thread_rng"] }
tokio = { version = "1.35", default-features = false, features = ["macros"] }
[lints]
workspace = true