Drop unnecessary strict feature from lightning-invoice

99aa6e27f6 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.
This commit is contained in:
Matt Corallo 2024-07-15 18:34:04 +00:00
parent ddb40bd04c
commit e0f797460e
2 changed files with 0 additions and 2 deletions

View file

@ -18,7 +18,6 @@ rustdoc-args = ["--cfg", "docsrs"]
default = ["std"] default = ["std"]
no-std = ["lightning/no-std"] no-std = ["lightning/no-std"]
std = ["bitcoin/std", "lightning/std", "bech32/std"] std = ["bitcoin/std", "lightning/std", "bech32/std"]
strict = []
[dependencies] [dependencies]
bech32 = { version = "0.9.1", default-features = false } bech32 = { version = "0.9.1", default-features = false }

View file

@ -9,7 +9,6 @@
#![cfg_attr(docsrs, feature(doc_auto_cfg))] #![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![cfg_attr(feature = "strict", deny(warnings))]
#![cfg_attr(all(not(feature = "std"), not(test)), no_std)] #![cfg_attr(all(not(feature = "std"), not(test)), no_std)]
//! This crate provides data structures to represent //! This crate provides data structures to represent