2 unstable releases
new 0.7.2 | Apr 11, 2024 |
---|---|
0.1.0 | Mar 5, 2024 |
#1 in #account-id
476 downloads per month
Used in 22 crates
(6 directly)
52KB
1K
SLoC
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.
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.
Dependencies
~0–580KB
~12K SLoC