Skip to content

Commit e0f7974

Browse files
committed
Drop unnecessary strict feature from lightning-invoice
99aa6e2 detected that we had an undefined feature in `lightning-invoice` called `strict`, which was used to turn on `deny(warnings)`. It resolved that by adding the feature to the `Cargo.toml`, but we actually don't need it - our CI already builds with `-Dwarnings`, so any warnings should be rejected during CI and there's not a lot of value in having a (public) feature to do the same.
1 parent ddb40bd commit e0f7974

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

lightning-invoice/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ rustdoc-args = ["--cfg", "docsrs"]
1818
default = ["std"]
1919
no-std = ["lightning/no-std"]
2020
std = ["bitcoin/std", "lightning/std", "bech32/std"]
21-
strict = []
2221

2322
[dependencies]
2423
bech32 = { version = "0.9.1", default-features = false }

lightning-invoice/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
1111

12-
#![cfg_attr(feature = "strict", deny(warnings))]
1312
#![cfg_attr(all(not(feature = "std"), not(test)), no_std)]
1413

1514
//! This crate provides data structures to represent

0 commit comments

Comments
 (0)