From 57dcc7d762273bea012d223278dd42c6c5afebc3 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sat, 12 Oct 2024 22:06:57 +0000 Subject: [PATCH] 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. --- lightning/src/util/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) 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}; } -- 2.39.5