unc-account-id 0.7.2

This crate contains the Account ID primitive and its validation facilities
Documentation

unc-account-id

This crate provides a type for representing a syntactically valid, unique account identifier on the Utility network, according to the Utility Account ID rules.

crates.io Documentation

Usage

use unc_account_id::AccountId;

let alice: AccountId = "alice.unc".parse()?;

assert!("ƒelicia.unc".parse::<AccountId>().is_err()); // (ƒ is not f)

See the docs for more information.

Minimum Supported Rust Version (MSRV)

1.65

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.