2022-09-02 23:03:57 +00:00
|
|
|
[package]
|
2022-12-19 18:26:58 +00:00
|
|
|
name = "nix-installer"
|
2023-02-10 19:48:44 +00:00
|
|
|
description = "The Determinate Nix Installer"
|
2023-05-31 16:43:17 +00:00
|
|
|
version = "0.9.2-unreleased"
|
2022-09-02 23:03:57 +00:00
|
|
|
edition = "2021"
|
|
|
|
resolver = "2"
|
2022-12-21 19:58:18 +00:00
|
|
|
license = "LGPL-2.1"
|
|
|
|
repository = "https://github.com/DeterminateSystems/nix-installer"
|
|
|
|
documentation = "https://docs.rs/nix-installer/latest/nix_installer"
|
2022-09-02 23:03:57 +00:00
|
|
|
|
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]
|
2023-02-24 18:11:12 +00:00
|
|
|
default = ["cli", "diagnostics"]
|
2023-01-11 21:52:55 +00:00
|
|
|
cli = ["eyre", "color-eyre", "clap", "tracing-subscriber", "tracing-error", "atty"]
|
2023-06-01 20:00:39 +00:00
|
|
|
diagnostics = ["is_ci"]
|
2022-11-28 22:57:35 +00:00
|
|
|
|
|
|
|
[[bin]]
|
2022-12-19 18:26:58 +00:00
|
|
|
name = "nix-installer"
|
2022-11-28 22:57:35 +00:00
|
|
|
required-features = [ "cli" ]
|
|
|
|
|
2022-09-02 23:03:57 +00:00
|
|
|
[dependencies]
|
2022-12-14 21:13:09 +00:00
|
|
|
async-trait = { version = "0.1.57", default-features = false }
|
|
|
|
atty = { version = "0.2.14", default-features = false, optional = true }
|
|
|
|
bytes = { version = "1.2.1", default-features = false, features = ["std", "serde"] }
|
|
|
|
clap = { version = "4", features = ["std", "color", "usage", "help", "error-context", "suggestions", "derive", "env"], optional = true }
|
2023-03-03 22:20:17 +00:00
|
|
|
color-eyre = { version = "0.6.2", default-features = false, features = [ "track-caller", "issue-url", "tracing-error", "capture-spantrace", "color-spantrace" ], optional = true }
|
2022-12-14 21:13:09 +00:00
|
|
|
eyre = { version = "0.6.8", default-features = false, features = [ "track-caller" ], optional = true }
|
|
|
|
glob = { version = "0.3.0", default-features = false }
|
|
|
|
nix = { version = "0.26.0", default-features = false, features = ["user", "fs", "process", "term"] }
|
|
|
|
owo-colors = { version = "3.5.0", default-features = false, features = [ "supports-colors" ] }
|
2023-03-14 14:56:57 +00:00
|
|
|
reqwest = { version = "0.11.11", default-features = false, features = ["rustls-tls-native-roots", "stream", "socks"] }
|
2022-12-14 21:13:09 +00:00
|
|
|
serde = { version = "1.0.144", default-features = false, features = [ "std", "derive" ] }
|
|
|
|
serde_json = { version = "1.0.85", default-features = false, features = [ "std" ] }
|
2023-05-03 18:01:34 +00:00
|
|
|
serde_with = { version = "3", default-features = false, features = [ "std", "macros" ] }
|
2022-12-14 21:13:09 +00:00
|
|
|
tar = { version = "0.4.38", default-features = false, features = [ "xattr" ] }
|
|
|
|
target-lexicon = { version = "0.12.4", default-features = false, features = [ "std" ] }
|
|
|
|
thiserror = { version = "1.0.33", default-features = false }
|
|
|
|
tokio = { version = "1.21.0", default-features = false, features = ["time", "io-std", "process", "fs", "signal", "tracing", "rt-multi-thread", "macros", "io-util", "parking_lot" ] }
|
|
|
|
tracing = { version = "0.1.36", default-features = false, features = [ "std", "attributes" ] }
|
|
|
|
tracing-error = { version = "0.2.0", default-features = false, optional = true, features = ["traced-error"] }
|
|
|
|
tracing-subscriber = { version = "0.3.15", default-features = false, features = [ "std", "registry", "fmt", "json", "ansi", "env-filter" ], optional = true }
|
|
|
|
url = { version = "2.3.1", default-features = false, features = ["serde"] }
|
|
|
|
xz2 = { version = "0.1.7", default-features = false, features = ["static", "tokio"] }
|
|
|
|
plist = { version = "1.3.1", default-features = false, features = [ "serde" ]}
|
2023-03-29 17:13:28 +00:00
|
|
|
dirs = { version = "5.0.0", default-features = false }
|
2022-12-14 21:13:09 +00:00
|
|
|
typetag = { version = "0.2.3", default-features = false }
|
|
|
|
dyn-clone = { version = "1.0.9", default-features = false }
|
|
|
|
rand = { version = "0.8.5", default-features = false, features = [ "std", "std_rng" ] }
|
|
|
|
semver = { version = "1.0.14", default-features = false, features = ["serde", "std"] }
|
|
|
|
term = { version = "0.7.0", default-features = false }
|
2023-02-01 18:40:56 +00:00
|
|
|
uuid = { version = "1.2.2", features = ["serde"] }
|
2023-06-01 20:00:39 +00:00
|
|
|
os-release = { version = "0.1.0", default-features = false }
|
2023-02-24 21:07:11 +00:00
|
|
|
is_ci = { version = "1.1.1", default-features = false, optional = true }
|
2023-02-24 18:11:12 +00:00
|
|
|
strum = { version = "0.24.1", features = ["derive"] }
|
2023-03-06 17:29:44 +00:00
|
|
|
nix-config-parser = { version = "0.1.2", features = ["serde"] }
|
2023-03-10 22:00:20 +00:00
|
|
|
which = "4.4.0"
|
2023-03-22 17:58:46 +00:00
|
|
|
sysctl = "0.5.4"
|
2023-05-05 19:27:00 +00:00
|
|
|
walkdir = "2.3.3"
|
2022-12-05 17:47:13 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-12-14 21:13:09 +00:00
|
|
|
eyre = { version = "0.6.8", default-features = false, features = [ "track-caller" ] }
|
2023-02-24 21:07:11 +00:00
|
|
|
tempfile = "3.3.0"
|
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
|