# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.62" name = "avalanche-utils" version = "0.0.12" publish = true description = "Avalanche utilities" homepage = "https://avax.network" readme = "README.md" license = "BSD-3-Clause" repository = "https://github.com/ava-labs/avalanche-rust/tree/main/utils" [[example]] name = "install_avalanchego" required-features = ["install_avalanchego"] [dependencies.bs58] version = "0.4.0" [dependencies.chrono] version = "0.4.19" optional = true [dependencies.compress-manager] version = "0.0.2" optional = true [dependencies.dirs] version = "4.0.0" optional = true [dependencies.http-manager] version = "0.0.1" optional = true [dependencies.human-readable] version = "0.0.1" [dependencies.lazy_static] version = "1.4.0" [dependencies.log] version = "0.4.17" [dependencies.num-bigint] version = "0.4.3" optional = true [dependencies.random-manager] version = "0.0.1" [dependencies.regex] version = "1.6.0" optional = true [dependencies.ripemd] version = "0.1.1" optional = true [dependencies.serde] version = "1.0.139" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0.82" optional = true [dependencies.whoami] version = "1.2.1" optional = true [dev-dependencies.env_logger] version = "0.9.0" [dev-dependencies.proptest] version = "1.0.0" [dev-dependencies.tempfile] version = "3.3.0" [dev-dependencies.tokio-test] version = "0.4.2" [features] big_int = [ "num-bigint", "serde", ] default = [] full = [ "big_int", "home_dir", "install_avalanchego", "system_id", "prometheus", "rfc3339", "time", ] home_dir = ["dirs"] install_avalanchego = [ "serde", "compress-manager", "http-manager", "serde_json", ] prometheus = [ "chrono", "regex", ] rfc3339 = [ "chrono", "serde", ] system_id = [ "ripemd", "whoami", ] time = ["chrono"]