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

#569 in Magic Beans

Download history 20/week @ 2024-01-24 8/week @ 2024-01-31 63/week @ 2024-02-07 29/week @ 2024-02-14 247/week @ 2024-02-21 147/week @ 2024-02-28 85/week @ 2024-03-06 137/week @ 2024-03-13 86/week @ 2024-03-20 60/week @ 2024-03-27 90/week @ 2024-04-03 46/week @ 2024-04-10 37/week @ 2024-04-17 60/week @ 2024-04-24 28/week @ 2024-05-01 37/week @ 2024-05-08

165 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

~33–54MB
~1M SLoC