Crates.io | antelope |
lib.rs | antelope |
version | 0.2.0 |
source | src |
created_at | 2023-01-18 03:03:00.505568 |
updated_at | 2024-03-21 23:51:16.535413 |
description | Antelope Standard Library |
homepage | https://github.com/pinax-network/antelope.rs |
repository | https://github.com/pinax-network/antelope.rs |
max_upload_size | |
id | 761486 |
size | 154,448 |
Antelope
Standard Library for Rust
Implements most commonly used Antelope C++ Classes into Rust.
$ cargo add antelope
use antelope::{SymbolCode};
let symcode = SymbolCode::from("FOO");
assert_eq!(5197638, symcode.raw());
assert_eq!(3, symcode.length());
assert_eq!(true, symcode.is_valid());
assert_eq!("FOO", symcode.to_string());