scale-value 0.18.2

Encode and decode values of arbitrary shapes to SCALE bytes
Documentation
// Copyright (C) 2022-2023 Parity Technologies (UK) Ltd. (admin@parity.io)
// This file is a part of the scale-value crate.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//         http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

mod custom_formatters;
#[cfg(feature = "from-string")]
mod custom_parsers;
#[cfg(feature = "from-string")]
mod from_string;

mod string_helpers;
mod to_string;

#[cfg(feature = "from-string")]
pub use from_string::{
    FromStrBuilder, ParseBitSequenceError, ParseCharError, ParseComplexError, ParseError,
    ParseErrorKind, ParseNumberError, ParseStringError,
};

#[cfg(feature = "parser-ss58")]
pub use custom_parsers::parse_ss58;
#[cfg(feature = "from-string")]
pub use custom_parsers::{parse_hex, ParseHexError};

pub use custom_formatters::format_hex;
pub use to_string::ToWriterBuilder;