Cargo Features

avalanche-utils has no features set by default.

[dependencies]
avalanche-utils = { version = "0.0.12", features = ["full", "big_int", "home_dir", "install_avalanchego", "prometheus", "rfc3339", "system_id", "time"] }
full = big_int, home_dir, install_avalanchego, prometheus, rfc3339, system_id, time
big_int full? = num-bigint, serde

Affects avalanche-utils::big_int

home_dir full? = dirs

Affects avalanche-utils::home_dir

install_avalanchego full? = compress-manager, http-manager, serde, serde_json

Affects avalanche-utils::install_avalanchego

prometheus full? = chrono, regex

Affects avalanche-utils::prometheus

rfc3339 full? = chrono, serde

Affects avalanche-utils::rfc3339

system_id full? = ripemd, whoami

Affects avalanche-utils::system_id

time full? = chrono

Affects avalanche-utils::time

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.

num-bigint big_int?

Enables num-bigint

[OPTIONAL] for "big_int"

serde big_int? install_avalanchego? rfc3339?
dirs home_dir?

Enables dirs ^4.0.0

[OPTIONAL] for "home_dir"

compress-manager install_avalanchego?

Enables compress-manager ^0.0.2

[OPTIONAL] for "install_avalanchego"

http-manager install_avalanchego?

Enables http-manager ^0.0.1

serde_json install_avalanchego?
ripemd system_id?

Enables ripemd

[OPTIONAL] for "system_id"

whoami system_id?
chrono prometheus? rfc3339? time?

Enables chrono

[OPTIONAL] for "rfc3339" and "time"

regex prometheus?

Enables regex

[OPTIONAL] for "prometheus"