Skip to content

Commit

Permalink
Deprecate the lightning::util::string re-export from types
Browse files Browse the repository at this point in the history
Like we've done for `features` and `payment`, here we mark the
`lightning::util::string` re-export as deprecated.
  • Loading branch information
TheBlueMatt committed Oct 15, 2024
1 parent 03af921 commit 376755d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lightning/src/util/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
}

0 comments on commit 376755d

Please sign in to comment.