402 releases

0.1.5 Feb 27, 2024
0.1.4 Oct 6, 2023
0.1.3 Sep 18, 2023
0.0.400 Jul 25, 2023
0.0.24 Jul 22, 2022

#839 in Magic Beans

Download history 147/week @ 2023-12-11 51/week @ 2023-12-18 6/week @ 2023-12-25 29/week @ 2024-01-01 51/week @ 2024-01-08 55/week @ 2024-01-22 2/week @ 2024-01-29 62/week @ 2024-02-05 16/week @ 2024-02-12 162/week @ 2024-02-19 234/week @ 2024-02-26 73/week @ 2024-03-04 142/week @ 2024-03-11 89/week @ 2024-03-18 60/week @ 2024-03-25

374 downloads per month
Used in 6 crates (5 directly)

Custom license

3MB
55K SLoC

avalanche-types

Introduction

The avalanche-types crate implements and is the canonical representation of Avalanche primitive types in Rust. Avalanche types are separated by modules and are all under the src directory.

This crate also provides an SDK library for developing subnets in Rust. For the SDK functionality, see src/subnet which contains everything required to build a subnet VM in Rust.

The following VMs were built with the SDK:

Getting Started

Examples can be found in examples and are a good first step to getting an understanding of general usage.

Resources

Rust Version

This project uses the latest stable Rust toolchain.

Getting Help

First please try find the answer to your question in the code documentation. If more clarification is required, try opening an issue with the question.

Features

The basic types available in this crate are used in other Avalanche Rust projects (e.g., distributed load tester blizzard, avalanche-ops).

Dependencies

~34–56MB
~1M SLoC