antelope 0.0.5

Antelope Standard Library
Documentation

Antelope Standard Library for Rust

Build Status License Crates.io

Implements most commonly used Antelope C++ Classes into Rust.

Planned support for

  • asset
  • symbol
  • symbol_code
  • name
  • extended_asset
  • extended_symbol

Install

$ cargo add antelope

Cargo.toml

[dependencies]
antelope = "0.0.1"

Quickstart

use antelope::{SymbolCode};

SymbolCode::new("FOO").raw();
// => 5197638

SymbolCode::from(5197638).to_string();
// => "FOO"

SymbolCode::new("FOO") != SymbolCode::new("BAR")
// => true

SymbolCode::new("FOO") == SymbolCode::new("BAR")
// => false