[package]
edition = "2024"
name = "hni"
version = "0.0.2"
authors = ["Spark <helllo@kamran.sh>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ni-compatible package manager command router with node shim"
readme = "README.md"
keywords = [
"package-manager",
"npm",
"yarn",
"pnpm",
"cli",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "GPL-3.0-only"
repository = "https://github.com/happytoolin/hni"
[lib]
name = "hni"
path = "src/lib.rs"
[[bin]]
name = "hni"
path = "src/main.rs"
[[test]]
name = "batch_commands"
path = "tests/batch_commands.rs"
[[test]]
name = "cli_contract"
path = "tests/cli_contract.rs"
[[test]]
name = "config_detect"
path = "tests/config_detect.rs"
[[test]]
name = "dispatch_multicall"
path = "tests/dispatch_multicall.rs"
[[test]]
name = "error_contract"
path = "tests/error_contract.rs"
[[test]]
name = "hni_meta"
path = "tests/hni_meta.rs"
[[test]]
name = "init_contract"
path = "tests/init_contract.rs"
[[test]]
name = "node_shim"
path = "tests/node_shim.rs"
[[test]]
name = "nr_interactive_behavior"
path = "tests/nr_interactive_behavior.rs"
[[test]]
name = "parity_against_antfu"
path = "tests/parity_against_antfu.rs"
[[test]]
name = "passthrough"
path = "tests/passthrough.rs"
[[test]]
name = "resolve_matrix"
path = "tests/resolve_matrix.rs"
[[test]]
name = "support"
path = "tests/support.rs"
[dependencies.anyhow]
version = "1.0.102"
[dependencies.clap]
version = "4.6.0"
features = ["std"]
[dependencies.clap_complete]
version = "4.6.0"
[dependencies.configparser]
version = "3.1.0"
[dependencies.confy]
version = "2.0.0"
[dependencies.dialoguer]
version = "0.12.0"
features = ["fuzzy-select"]
[dependencies.dirs]
version = "6.0.0"
[dependencies.reqwest]
version = "0.13.2"
features = [
"blocking",
"json",
"rustls",
]
default-features = false
[dependencies.semver]
version = "1.0.27"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[dependencies.shlex]
version = "1.3.0"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.which]
version = "8.0.2"
[dev-dependencies.tempfile]
version = "3.27.0"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true