Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pinax-network/antelope.rs
Antelope Standard Library for Rust
https://github.com/pinax-network/antelope.rs
antelope blockchain eosio rust
Last synced: about 15 hours ago
JSON representation
Antelope Standard Library for Rust
- Host: GitHub
- URL: https://github.com/pinax-network/antelope.rs
- Owner: pinax-network
- License: apache-2.0
- Created: 2023-01-18T01:12:05.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-21T23:50:59.000Z (8 months ago)
- Last Synced: 2024-08-08T16:53:53.750Z (3 months ago)
- Topics: antelope, blockchain, eosio, rust
- Language: Rust
- Homepage: https://docs.rs/antelope
- Size: 95.7 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
- awesome-substreams - Antelope Rust - Antelope Standard Library for Rust. (SDK / Rust)
README
# [`Antelope`](https://antelope.io/) Standard Library for [`Rust`](https://www.rust-lang.org/)
[](https://github.com/pinax-network/antelope.rs)
[](https://crates.io/crates/antelope)
[](https://docs.rs/antelope)
[](https://github.com/pinax-network/antelope.rs/actions?query=branch%3Amain)Implements most commonly used [Antelope C++ Classes](https://github.com/AntelopeIO/cdt/tree/main/libraries/eosiolib/core/eosio) into Rust.
## 📖 Documentation
### https://docs.rs/antelope
## 🛠Feature Roadmap
- [x] [`symbol`](https://github.com/AntelopeIO/cdt/blob/main/libraries/eosiolib/core/eosio/symbol.hpp)
- [x] [`symbol_code`](https://github.com/AntelopeIO/cdt/blob/main/libraries/eosiolib/core/eosio/symbol.hpp)
- [x] [`extended_symbol`](https://github.com/AntelopeIO/cdt/blob/main/libraries/eosiolib/core/eosio/symbol.hpp)
- [x] [`asset`](https://github.com/AntelopeIO/cdt/blob/main/libraries/eosiolib/core/eosio/asset.hpp)
- [x] [`extended_asset`](https://github.com/AntelopeIO/cdt/blob/main/libraries/eosiolib/core/eosio/asset.hpp)
- [x] [`name`](https://github.com/AntelopeIO/cdt/blob/main/libraries/eosiolib/core/eosio/name.hpp)
- [x] [`check`](https://github.com/AntelopeIO/cdt/blob/main/libraries/eosiolib/core/eosio/check.hpp)
- [ ] [`time`](https://github.com/AntelopeIO/cdt/blob/main/libraries/eosiolib/core/eosio/time.hpp)
- [x] [`microseconds`](https://github.com/AntelopeIO/cdt/blob/main/libraries/eosiolib/core/eosio/time.hpp)
- [x] [`time_point`](https://github.com/AntelopeIO/cdt/blob/main/libraries/eosiolib/core/eosio/time.hpp)
- [x] [`time_point_sec`](https://github.com/AntelopeIO/cdt/blob/main/libraries/eosiolib/core/eosio/time.hpp)
- [ ] [`block_timestamp`](https://github.com/AntelopeIO/cdt/blob/main/libraries/eosiolib/core/eosio/time.hpp)## Install
```bash
$ cargo add antelope
```## Quickstart
```rust
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());
```