2022-09-02 23:03:57 +00:00
|
|
|
[package]
|
|
|
|
name = "harmonic"
|
|
|
|
description = "A `nix` installer"
|
2022-09-09 19:26:53 +00:00
|
|
|
version = "0.0.0-unreleased"
|
2022-09-02 23:03:57 +00:00
|
|
|
edition = "2021"
|
|
|
|
resolver = "2"
|
|
|
|
|
2022-09-28 18:52:22 +00:00
|
|
|
[package.metadata.riff.targets.aarch64-apple-darwin]
|
|
|
|
build-inputs = ["darwin.apple_sdk.frameworks.Security"]
|
|
|
|
|
|
|
|
[package.metadata.riff.targets.x86_64-apple-darwin]
|
|
|
|
build-inputs = ["darwin.apple_sdk.frameworks.Security"]
|
|
|
|
|
2022-11-28 22:57:35 +00:00
|
|
|
[features]
|
|
|
|
default = ["cli"]
|
|
|
|
cli = [ "eyre", "color-eyre", "crossterm", "clap", "tracing-subscriber", "tracing-error", "atty" ]
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "harmonic"
|
|
|
|
required-features = [ "cli" ]
|
|
|
|
|
2022-09-02 23:03:57 +00:00
|
|
|
[dependencies]
|
|
|
|
async-tar = "0.4.2"
|
|
|
|
async-trait = "0.1.57"
|
2022-11-28 22:57:35 +00:00
|
|
|
atty = { version = "0.2.14", optional = true }
|
2022-10-18 18:03:19 +00:00
|
|
|
bytes = "1.2.1"
|
2022-11-28 22:57:35 +00:00
|
|
|
clap = { version = "4", features = ["derive", "env"], optional = true }
|
|
|
|
color-eyre = { version = "0.6.2", optional = true }
|
|
|
|
crossterm = { version = "0.25.0", features = ["event-stream"], optional = true }
|
|
|
|
eyre = { version = "0.6.8", optional = true }
|
2022-09-02 23:03:57 +00:00
|
|
|
futures = "0.3.24"
|
2022-10-18 18:03:19 +00:00
|
|
|
glob = "0.3.0"
|
2022-12-02 16:20:42 +00:00
|
|
|
nix = { version = "0.26.0", features = ["user", "fs", "process", "term"], default-features = false }
|
2022-09-02 23:03:57 +00:00
|
|
|
owo-colors = { version = "3.5.0", features = [ "supports-colors" ] }
|
2022-09-08 00:13:06 +00:00
|
|
|
reqwest = { version = "0.11.11", default-features = false, features = ["rustls-tls", "stream"] }
|
2022-10-18 18:03:19 +00:00
|
|
|
serde = { version = "1.0.144", features = ["derive"] }
|
|
|
|
serde_json = "1.0.85"
|
|
|
|
serde_with = "2.0.1"
|
|
|
|
tar = "0.4.38"
|
2022-09-02 23:03:57 +00:00
|
|
|
target-lexicon = "0.12.4"
|
|
|
|
thiserror = "1.0.33"
|
2022-11-25 16:02:00 +00:00
|
|
|
tokio = { version = "1.21.0", features = ["time", "io-std", "process", "fs", "signal", "tracing", "rt-multi-thread", "macros", "io-util", "parking_lot" ] }
|
2022-09-08 00:13:06 +00:00
|
|
|
tokio-util = { version = "0.7", features = ["io"] }
|
2022-09-02 23:03:57 +00:00
|
|
|
tracing = { version = "0.1.36", features = [ "valuable" ] }
|
2022-11-28 22:57:35 +00:00
|
|
|
tracing-error = { version = "0.2.0", optional = true }
|
2022-12-09 19:15:54 +00:00
|
|
|
tracing-subscriber = { version = "0.3.15", features = [ "json", "env-filter", "valuable" ], optional = true }
|
2022-10-18 18:03:19 +00:00
|
|
|
url = { version = "2.3.1", features = ["serde"] }
|
2022-09-02 23:03:57 +00:00
|
|
|
valuable = { version = "0.1.0", features = ["derive"] }
|
2022-09-09 18:43:35 +00:00
|
|
|
walkdir = "2.3.2"
|
2022-10-18 18:03:19 +00:00
|
|
|
sxd-xpath = "0.4.2"
|
|
|
|
xz2 = { version = "0.1.7", features = ["static", "tokio"] }
|
|
|
|
sxd-document = "0.3.2"
|
2022-10-19 22:12:50 +00:00
|
|
|
plist = "1.3.1"
|
2022-10-20 18:36:44 +00:00
|
|
|
dirs = "4.0.0"
|
2022-10-27 13:42:00 +00:00
|
|
|
erased-serde = "0.3.23"
|
|
|
|
typetag = "0.2.3"
|
|
|
|
dyn-clone = "1.0.9"
|
2022-11-01 18:33:54 +00:00
|
|
|
rand = "0.8.5"
|
2022-11-25 19:46:38 +00:00
|
|
|
semver = { version = "1.0.14", features = ["serde"] }
|
2022-12-08 16:04:49 +00:00
|
|
|
term = "0.7.0"
|
2022-12-05 17:47:13 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
eyre = "0.6.8"
|
2022-12-13 18:02:57 +00:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
strip = true # Automatically strip symbols from the binary.
|
|
|
|
opt-level = "z" # Optimize for size.
|
|
|
|
lto = true
|