wasmhub 0.2.0

Download and manage WebAssembly runtimes for multiple languages
Documentation
# 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.85"
name = "wasmhub"
version = "0.2.0"
authors = ["Kumar Anirudha <wasm@anirudha.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Download and manage WebAssembly runtimes for multiple languages"
readme = "README.md"
keywords = [
    "wasm",
    "webassembly",
    "runtime",
    "nodejs",
    "python",
]
categories = [
    "command-line-utilities",
    "development-tools",
    "wasm",
]
license = "MIT"
repository = "https://github.com/anistark/wasmhub"

[features]
cli = [
    "dep:clap",
    "dep:anyhow",
    "dep:colored",
    "progress",
]
default = []
progress = ["dep:indicatif"]

[lib]
name = "wasmhub"
path = "src/lib.rs"

[[bin]]
name = "wasmhub"
path = "src/bin/wasmhub.rs"
required-features = ["cli"]

[[test]]
name = "cli_integration"
path = "tests/cli_integration.rs"

[[test]]
name = "loader_integration"
path = "tests/loader_integration.rs"

[dependencies.anyhow]
version = "1.0"
optional = true

[dependencies.clap]
version = "4.5"
features = ["derive"]
optional = true

[dependencies.colored]
version = "3.0.0"
optional = true

[dependencies.dirs]
version = "6.0.0"

[dependencies.futures-util]
version = "0.3"

[dependencies.indicatif]
version = "0.18.3"
optional = true

[dependencies.reqwest]
version = "0.13.1"
features = [
    "json",
    "stream",
]

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.43"
features = ["full"]

[dev-dependencies.assert_cmd]
version = "2.0"

[dev-dependencies.predicates]
version = "3.0"

[dev-dependencies.tempfile]
version = "3.8"

[dev-dependencies.tokio-test]
version = "0.4"

[dev-dependencies.wiremock]
version = "0.6"

[profile.release]
lto = true
codegen-units = 1
strip = true