Skip to content

Commit 1e223ee

Browse files
update dependencies for async support and enhanced timing
- Add clock feature to chrono for improved time handling. - Introduce reqwest with json and blocking features to support HTTP requests. - Add tokio with rt-multi-thread, time, sync, and macros features for asynchronous operations. These changes are used in LSPS modules to manage asynchronous network requests and accurate timing.
1 parent 195af0d commit 1e223ee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lightning-liquidity/Cargo.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ lightning-invoice = { version = "0.34.0", path = "../lightning-invoice", default
2525

2626
bitcoin = { version = "0.32.2", default-features = false, features = ["serde"] }
2727

28-
chrono = { version = "0.4", default-features = false, features = ["serde", "alloc"] }
28+
chrono = { version = "0.4", default-features = false, features = ["serde", "alloc", "clock"] }
2929
serde = { version = "1.0", default-features = false, features = ["derive", "alloc"] }
3030
serde_json = "1.0"
3131
backtrace = { version = "0.3", optional = true }
32+
reqwest = { version = "0.11", features = ["json", "blocking"] }
33+
tokio = { version = "1.35", default-features = false, features = ["rt-multi-thread", "time", "sync", "macros"] }
3234

3335
[dev-dependencies]
3436
lightning = { version = "0.2.0", path = "../lightning", default-features = false, features = ["_test_utils"] }

0 commit comments

Comments
 (0)