Skip to content

Commit 8c51013

Browse files
Separate time functionality into dedicated feature flag.
- Add 'time' feature flag to allow disabling time-dependent functionality. - Include 'time' in default features - It will allow users to disable SystemTime::now without disabling all std features
1 parent c6921fa commit 8c51013

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightning-liquidity/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ categories = ["cryptography::cryptocurrencies"]
1414
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1515

1616
[features]
17-
default = ["std"]
17+
default = ["std", "time"]
1818
std = ["lightning/std"]
19+
time = []
1920
backtrace = ["dep:backtrace"]
2021

2122
[dependencies]

0 commit comments

Comments
 (0)