Cargo Features

xavax-avalanche has no features set by default.

[dependencies]
xavax-avalanche = { version = "0.2.0", features = ["request-api", "crypto-api"] }

Optional part of the API includes the avalanche post request API

request-api = reqwest, tokio

Affects xavax-avalanche::api

crypto-api = arrayref, blake3, libsecp256k1, ripemd, sha3, tiny-bip39, tiny-hderive

Optional part of the API, includes the cryptography necessary for Avalanche VMs

Affects xavax-avalanche::crypto

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

tokio request-api?
reqwest request-api?

Enables reqwest ^0.11.8

libsecp256k1 crypto-api?
tiny-hderive crypto-api?
tiny-bip39 crypto-api?

Enables tiny-bip39 ^0.8.2

arrayref crypto-api?
sha3 crypto-api?
ripemd crypto-api?
blake3 crypto-api?