//! Encoding traits for explicit secret-to-string conversion.
//!
//! > **Import paths:** `use secure_gate::ToHex;` etc. (not `secure_gate::traits::encoding::hex::ToHex`)
//!
//! All encoding traits require `alloc` (they return `String` or [`EncodedSecret`](crate::EncodedSecret)).
//! Prefer zeroizing variants (`*_zeroizing`) when the encoded form is sensitive.
//! See the [`decoding`](super::decoding) module for the reverse direction.
//!
//! Each encoding trait has its own feature gate:
//!
//! | Trait | Feature |
//! |------------------|---------------------|
//! | [`ToHex`] | `encoding-hex` |
//! | [`ToBase64Url`] | `encoding-base64` |
//! | [`ToBech32`] | `encoding-bech32` |
//! | [`ToBech32m`] | `encoding-bech32m` |
// Encoding traits produce String / EncodedSecret — all require alloc
pub use ToBase64Url;
pub use ToBech32;
pub use ToBech32m;
pub use ToHex;