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 12, 2024
1 parent 43ba044 commit 42b89a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lightning/src/util/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,7 @@ 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`].
pub use lightning_types::string::{PrintableString, UntrustedString};
}

0 comments on commit 42b89a9

Please sign in to comment.