#utilities #primitive #blockchain #everscale #type #status #ton-labs-types

everscale-types

A set of primitive types and utilities for the Everscale blockchain

17 releases

0.1.0-rc.6 Oct 24, 2023
0.1.0-rc.3 Aug 15, 2023
0.1.0-rc.0 Jul 27, 2023
0.1.0-pre.7 Mar 9, 2023
0.1.0-pre.2 Dec 28, 2022

#12 in Magic Beans

Download history 2/week @ 2023-12-11 7/week @ 2023-12-18 5/week @ 2023-12-25 9/week @ 2024-01-08 7/week @ 2024-02-05 11/week @ 2024-02-12 30/week @ 2024-02-19 54/week @ 2024-02-26 38/week @ 2024-03-04 30/week @ 2024-03-11 34/week @ 2024-03-18

157 downloads per month
Used in 6 crates (4 directly)

MIT/Apache

1MB
25K SLoC

Logo

Everscale types   crates-io-batch docs-badge rust-version-badge workflow-badge

Status: WIP

About

A set of primitive types and utilities for the Everscale blockchain.

Heavily inspired by ton-labs-types, but with much more emphasis on speed.

Development

How to bench

cargo bench boc
cargo bench dict

How to miri check

# Add Miri component
rustup +nightly component add miri

# Run all tests with Miri
cargo +nightly miri test

How to fuzz

# Install fuzzer
cargo install cargo-fuzz

# Run any of the fuzzer targets
cargo +nightly fuzz run boc_decode -j 12
cargo +nightly fuzz run boc_decode_encode -j 12
cargo +nightly fuzz run boc_decode_pair -j 12
cargo +nightly fuzz run boc_dict -j 12
cargo +nightly fuzz run boc_message -j 12

Contributing

We welcome contributions to the project! If you notice any issues or errors, feel free to open an issue or submit a pull request.

License

Licensed under either of

at your option.

Dependencies

~1.8–3.5MB
~75K SLoC