mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-03-13 14:52:21 +01:00
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:
parent
50b5a6efa7
commit
57dcc7d762
1 changed files with 4 additions and 0 deletions
|
@ -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};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue