Skip to content

Commit

Permalink
Drop unnecessary strict feature from lightning-invoice
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
TheBlueMatt committed Jul 15, 2024
1 parent ddb40bd commit e0f7974
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion lightning-invoice/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ rustdoc-args = ["--cfg", "docsrs"]
default = ["std"]
no-std = ["lightning/no-std"]
std = ["bitcoin/std", "lightning/std", "bech32/std"]
strict = []

[dependencies]
bech32 = { version = "0.9.1", default-features = false }
Expand Down
1 change: 0 additions & 1 deletion lightning-invoice/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

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

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

//! This crate provides data structures to represent
Expand Down

0 comments on commit e0f7974

Please sign in to comment.