From: Matt Corallo Date: Sat, 12 Oct 2024 22:06:57 +0000 (+0000) Subject: Deprecate the `lightning::util::string` re-export from types X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=57dcc7d762273bea012d223278dd42c6c5afebc3;p=rust-lightning Deprecate the `lightning::util::string` re-export from types Like we've done for `features` and `payment`, here we mark the `lightning::util::string` re-export as deprecated. --- diff --git a/lightning/src/util/mod.rs b/lightning/src/util/mod.rs index bb138dd69..29954e866 100644 --- a/lightning/src/util/mod.rs +++ b/lightning/src/util/mod.rs @@ -56,5 +56,9 @@ pub mod test_channel_signer; pub mod string { //! Utilities to wrap untrusted strings and handle them (more) safely + //! + //! These re-exports are deprecated in favor of [`lightning::types::string`]. + //! + //! [`lightning::types::string`]: crate::types::string pub use lightning_types::string::{PrintableString, UntrustedString}; }