| Crates.io | unc-account-id |
| lib.rs | unc-account-id |
| version | 0.7.2 |
| created_at | 2024-03-05 09:47:31.940897+00 |
| updated_at | 2024-04-11 08:13:22.948581+00 |
| description | This crate contains the Account ID primitive and its validation facilities |
| homepage | |
| repository | https://github.com/utnet.org/unc-account-id |
| max_upload_size | |
| id | 1162874 |
| size | 97,029 |
This crate provides a type for representing a syntactically valid, unique account identifier on the Utility network, according to the Utility Account ID rules.
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.
1.65
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.