unc-account-id

Crates.iounc-account-id
lib.rsunc-account-id
version0.7.2
sourcesrc
created_at2024-03-05 09:47:31.940897
updated_at2024-04-11 08:13:22.948581
descriptionThis crate contains the Account ID primitive and its validation facilities
homepage
repositoryhttps://github.com/utnet.org/unc-account-id
max_upload_size
id1162874
size97,029
Terrill Tsang (fadeAce)

documentation

README

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.

Commit count: 0

cargo fmt