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

#3 in #avalanche

Download history 129/week @ 2024-07-19 25/week @ 2024-07-26 15/week @ 2024-08-02 41/week @ 2024-08-09 72/week @ 2024-08-16 19/week @ 2024-08-23 39/week @ 2024-08-30 16/week @ 2024-09-06 11/week @ 2024-09-13 71/week @ 2024-09-20 122/week @ 2024-09-27 36/week @ 2024-10-04 42/week @ 2024-10-11 18/week @ 2024-10-18 41/week @ 2024-10-25 53/week @ 2024-11-01

155 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–55MB
~1M SLoC