# 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" name = "nix-installer" version = "0.23.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "The Determinate Nix Installer" documentation = "https://docs.rs/nix-installer/latest/nix_installer" readme = "README.md" license = "LGPL-2.1" repository = "https://github.com/DeterminateSystems/nix-installer" resolver = "2" [package.metadata.docs.rs] cargo-args = [ "--config", 'env.NIX_INSTALLER_TARBALL_PATH="../Cargo.toml"', "--config", 'env.DETERMINATE_NIXD_BINARY_PATH="../Cargo.toml"', ] [profile.release] opt-level = "z" lto = true strip = true [lib] name = "nix_installer" path = "src/lib.rs" [[bin]] name = "nix-installer" path = "src/bin/nix-installer.rs" required-features = ["cli"] [[test]] name = "plan" path = "tests/plan.rs" [dependencies.async-trait] version = "0.1.57" default-features = false [dependencies.bytes] version = "1.2.1" features = [ "std", "serde", ] default-features = false [dependencies.clap] version = "4" features = [ "std", "color", "usage", "help", "error-context", "suggestions", "derive", "env", ] optional = true [dependencies.color-eyre] version = "0.6.2" features = [ "track-caller", "issue-url", "tracing-error", "capture-spantrace", "color-spantrace", ] optional = true default-features = false [dependencies.dirs] version = "5.0.0" default-features = false [dependencies.dyn-clone] version = "1.0.9" default-features = false [dependencies.eyre] version = "0.6.8" features = ["track-caller"] optional = true default-features = false [dependencies.glob] version = "0.3.0" default-features = false [dependencies.indexmap] version = "2.0.2" features = ["serde"] [dependencies.is_ci] version = "1.1.1" optional = true default-features = false [dependencies.nix] version = "0.29.0" features = [ "user", "fs", "process", "term", ] default-features = false [dependencies.nix-config-parser] version = "0.2" features = ["serde"] [dependencies.once_cell] version = "1.19.0" [dependencies.os-release] version = "0.1.0" default-features = false [dependencies.owo-colors] version = "4.0.0" features = ["supports-colors"] default-features = false [dependencies.plist] version = "1.7.0" features = ["serde"] default-features = false [dependencies.rand] version = "0.8.5" features = [ "std", "std_rng", ] default-features = false [dependencies.reqwest] version = "0.12.4" features = [ "rustls-tls-native-roots", "stream", "socks", ] default-features = false [dependencies.semver] version = "1.0.23" features = [ "serde", "std", ] default-features = false [dependencies.serde] version = "1.0.203" features = [ "std", "derive", ] default-features = false [dependencies.serde_json] version = "1.0.120" features = ["std"] default-features = false [dependencies.serde_with] version = "3" features = [ "std", "macros", ] default-features = false [dependencies.strum] version = "0.26.1" features = ["derive"] [dependencies.sysctl] version = "0.5.4" [dependencies.tar] version = "0.4.38" features = ["xattr"] default-features = false [dependencies.target-lexicon] version = "0.12.4" features = ["std"] default-features = false [dependencies.term] version = "1.0.0" default-features = false [dependencies.thiserror] version = "1.0.61" default-features = false [dependencies.tokio] version = "1.21.0" features = [ "time", "io-std", "process", "fs", "signal", "tracing", "rt-multi-thread", "macros", "io-util", "parking_lot", ] default-features = false [dependencies.tracing] version = "0.1.36" features = [ "std", "attributes", ] default-features = false [dependencies.tracing-error] version = "0.2.0" features = ["traced-error"] optional = true default-features = false [dependencies.tracing-subscriber] version = "0.3.15" features = [ "std", "registry", "fmt", "json", "ansi", "env-filter", ] optional = true default-features = false [dependencies.typetag] version = "0.2.17" default-features = false [dependencies.url] version = "2.3.1" features = ["serde"] default-features = false [dependencies.uuid] version = "1.2.2" features = ["serde"] [dependencies.walkdir] version = "2.3.3" [dependencies.which] version = "6.0.0" [dependencies.xz2] version = "0.1.7" features = [ "static", "tokio", ] default-features = false [dev-dependencies.eyre] version = "0.6.8" features = ["track-caller"] default-features = false [dev-dependencies.tempfile] version = "3.3.0" [features] cli = [ "eyre", "color-eyre", "clap", "tracing-subscriber", "tracing-error", ] default = [ "cli", "diagnostics", "determinate-nix", ] determinate-nix = [] diagnostics = ["is_ci"]