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.
This commit is contained in:
Matt Corallo 2024-10-12 22:06:57 +00:00
parent 50b5a6efa7
commit 57dcc7d762

View file

@ -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};
}