Skip to content

Commit 460c716

Browse files
committed
Add async implementation of FilesystemStore
1 parent 23a1eb7 commit 460c716

File tree

2 files changed

+254
-58
lines changed

2 files changed

+254
-58
lines changed

lightning-persister/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,13 @@ edition = "2021"
1313
all-features = true
1414
rustdoc-args = ["--cfg", "docsrs"]
1515

16+
[features]
17+
tokio = ["dep:tokio"]
18+
1619
[dependencies]
1720
bitcoin = "0.32.2"
1821
lightning = { version = "0.2.0", path = "../lightning" }
22+
tokio = { version = "1.35", optional = true, features = [ "macros", "rt-multi-thread" ] }
1923

2024
[target.'cfg(windows)'.dependencies]
2125
windows-sys = { version = "0.48.0", default-features = false, features = ["Win32_Storage_FileSystem", "Win32_Foundation"] }

0 commit comments

Comments
 (0)