2023-03-12 19:27:55 +03:00
|
|
|
[workspace]
|
|
|
|
members = ["license-store-cache"]
|
|
|
|
|
|
|
|
[workspace.package]
|
2023-09-16 17:49:44 +03:00
|
|
|
version = "0.3.0"
|
2023-01-15 07:41:10 +03:00
|
|
|
authors = ["figsoda <figsoda@pm.me>"]
|
|
|
|
edition = "2021"
|
2023-03-12 19:27:55 +03:00
|
|
|
license = "MPL-2.0"
|
|
|
|
|
|
|
|
[workspace.dependencies]
|
|
|
|
askalono = "0.4.6"
|
|
|
|
|
|
|
|
[package]
|
|
|
|
name = "nix-init"
|
|
|
|
version.workspace = true
|
|
|
|
authors.workspace = true
|
|
|
|
edition.workspace = true
|
2023-01-28 22:46:08 +03:00
|
|
|
description = "Generate Nix packages from URLs with hash prefetching, dependency inference, license detection, and more"
|
2023-01-15 07:41:10 +03:00
|
|
|
readme = "README.md"
|
|
|
|
homepage = "https://github.com/nix-community/nix-init"
|
|
|
|
repository = "https://github.com/nix-community/nix-init"
|
2023-03-12 19:27:55 +03:00
|
|
|
license.workspace = true
|
2023-01-15 07:41:10 +03:00
|
|
|
keywords = ["cli", "interactive", "generate", "nix", "package"]
|
|
|
|
categories = ["command-line-utilities"]
|
2023-03-12 19:27:55 +03:00
|
|
|
include = ["data", "src", "Cargo.lock", "Cargo.toml", "build.rs"]
|
2023-01-15 07:41:10 +03:00
|
|
|
|
|
|
|
[dependencies]
|
2024-01-09 11:22:59 +03:00
|
|
|
anyhow = "1.0.79"
|
2023-03-12 19:27:55 +03:00
|
|
|
askalono.workspace = true
|
2024-01-02 11:48:18 +03:00
|
|
|
bstr = "1.9.0"
|
2023-11-21 11:33:03 +03:00
|
|
|
cargo = "0.75.1"
|
2023-11-20 05:05:18 +03:00
|
|
|
chumsky = "=1.0.0-alpha.6"
|
2023-03-19 23:14:57 +03:00
|
|
|
expand = "0.3.0"
|
2023-10-16 11:30:44 +03:00
|
|
|
flate2 = "1.0.28"
|
2023-02-14 17:47:14 +03:00
|
|
|
heck = "0.4.1"
|
2023-09-18 11:32:20 +03:00
|
|
|
indoc = "2.0.4"
|
2024-01-08 11:30:48 +03:00
|
|
|
is-terminal = "0.4.10"
|
2023-11-15 11:29:04 +03:00
|
|
|
itertools = "0.12.0"
|
2023-12-08 11:29:00 +03:00
|
|
|
once_cell = "1.19.0"
|
2024-01-08 11:31:01 +03:00
|
|
|
owo-colors = "4.0.0"
|
2023-07-17 11:28:27 +03:00
|
|
|
parse-display = "0.8.2"
|
2023-11-20 05:05:18 +03:00
|
|
|
pep-508 = "0.4.0"
|
2024-01-18 11:31:40 +03:00
|
|
|
rayon = "1.8.1"
|
2023-10-17 12:00:28 +03:00
|
|
|
regex = "1.10.2"
|
2023-12-19 11:21:37 +03:00
|
|
|
reqwest = { version = "0.11.23", features = ["json"] }
|
2023-01-15 07:41:10 +03:00
|
|
|
rustc-hash = "1.1.0"
|
2023-01-20 01:19:21 +03:00
|
|
|
secrecy = { version = "0.8.0", features = ["serde"] }
|
2024-01-03 11:59:17 +03:00
|
|
|
semver = "1.0.21"
|
2024-01-30 11:20:22 +03:00
|
|
|
serde = { version = "1.0.196", features = ["derive"] }
|
2024-01-16 11:22:21 +03:00
|
|
|
serde_json = "1.0.111"
|
2024-01-30 11:20:10 +03:00
|
|
|
serde_with = "3.5.1"
|
2024-01-08 11:31:17 +03:00
|
|
|
serde_yaml = "0.9.30"
|
2024-01-23 00:51:13 +03:00
|
|
|
shlex = "1.3.0"
|
2024-01-16 11:22:32 +03:00
|
|
|
spdx = "0.10.3"
|
2023-08-08 11:22:57 +03:00
|
|
|
tar = "0.4.40"
|
2024-01-02 11:48:49 +03:00
|
|
|
tempfile = "3.9.0"
|
2024-01-06 06:42:06 +03:00
|
|
|
time = { version = "0.3.31", features = ["parsing", "serde"] }
|
2023-11-20 05:05:18 +03:00
|
|
|
toml = { version = "0.8.8", default-features = false, features = ["parse"] }
|
2023-10-19 11:19:43 +03:00
|
|
|
tracing = "0.1.40"
|
2023-11-14 11:41:56 +03:00
|
|
|
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
|
2023-11-23 11:26:27 +03:00
|
|
|
url = "2.5.0"
|
2023-07-24 11:12:26 +03:00
|
|
|
xdg = "2.5.2"
|
2023-05-16 12:06:01 +03:00
|
|
|
zip = "0.6.6"
|
2023-01-15 07:41:10 +03:00
|
|
|
|
|
|
|
[dependencies.clap]
|
2024-01-17 11:35:35 +03:00
|
|
|
version = "4.4.18"
|
2023-01-15 07:41:10 +03:00
|
|
|
features = ["cargo", "derive", "unicode", "wrap_help"]
|
|
|
|
|
|
|
|
[dependencies.rustyline]
|
2023-12-06 12:01:43 +03:00
|
|
|
version = "13.0.0"
|
2023-01-15 07:41:10 +03:00
|
|
|
default-features = false
|
|
|
|
features = ["derive", "with-fuzzy"]
|
|
|
|
|
|
|
|
[dependencies.tokio]
|
2023-12-20 11:06:25 +03:00
|
|
|
version = "1.35.1"
|
2023-01-15 07:41:10 +03:00
|
|
|
features = ["macros", "process", "rt-multi-thread"]
|
|
|
|
|
|
|
|
[build-dependencies]
|
2024-01-17 11:35:35 +03:00
|
|
|
clap = { version = "4.4.18", features = ["derive"] }
|
2024-01-17 01:30:22 +03:00
|
|
|
clap_complete = "4.4.7"
|
2024-01-17 11:36:06 +03:00
|
|
|
clap_mangen = "0.2.17"
|
2023-01-15 07:41:10 +03:00
|
|
|
|
2023-03-18 18:31:24 +03:00
|
|
|
[dev-dependencies]
|
|
|
|
heck = "0.4.1"
|
2023-10-10 11:12:41 +03:00
|
|
|
insta = "1.34.0"
|
2024-01-02 11:48:49 +03:00
|
|
|
tempfile = "3.9.0"
|
2023-03-18 18:31:24 +03:00
|
|
|
|
2023-01-15 07:41:10 +03:00
|
|
|
[features]
|
2023-03-22 02:58:46 +03:00
|
|
|
default = ["vendored"]
|
2023-02-24 08:00:16 +03:00
|
|
|
vendored = ["cargo/vendored-libgit2", "cargo/vendored-openssl"]
|
2023-01-15 07:41:10 +03:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
lto = true
|
|
|
|
panic = "abort"
|
|
|
|
codegen-units = 1
|