lpkg/Cargo.toml

67 lines
1.8 KiB
TOML
Raw Normal View History

2025-09-30 16:51:03 +02:00
[package]
name = "package_management"
version = "0.1.0"
edition = "2024"
2025-09-30 20:44:34 +02:00
authors = ["Lucy <lucy@c-base.org>"]
description = "A Rust project for package management with CLI and optional TUI support."
license = "MIT"
2025-09-30 16:51:03 +02:00
[dependencies]
2025-09-30 20:44:34 +02:00
# CLI utilities
2025-09-30 18:49:50 +02:00
anyhow = "1.0.100"
2025-09-30 20:44:34 +02:00
clap = { version = "4.5.48", features = ["derive"] }
2025-09-30 16:51:03 +02:00
console = "0.16.1"
2025-09-30 20:44:34 +02:00
# Optional Terminal UI
2025-09-30 18:49:50 +02:00
crossterm = { version = "0.29.0", optional = true }
tui = { version = "0.19.0", optional = true }
rsille = { version = "2.3", optional = true }
gptman = { version = "2.0.1", optional = true }
uuid = { version = "1.18.1", optional = true, features = ["v4"] }
2025-09-30 17:08:26 +02:00
2025-09-30 20:44:34 +02:00
# Parsing & scraping
html_parser = "0.7.0"
scraper = "0.19.0"
regex = "1.11.3"
2025-09-30 16:51:03 +02:00
serde = { version = "1.0.228", features = ["derive"] }
2025-09-30 20:38:13 +02:00
serde_json = "1.0.145"
jsonschema = { version = "0.17.0", default-features = false, features = ["draft202012"] }
walkdir = "2.5.0"
chrono = { version = "0.4.38", default-features = false, features = ["clock"] }
sha2 = "0.10.8"
2025-09-30 20:44:34 +02:00
# Utilities
num_cpus = "1.17.0"
rand = { version = "0.9.2", optional = true }
2025-09-30 20:44:34 +02:00
md5 = "0.8.0"
# HTTP
2025-09-30 20:54:25 +02:00
semver = "1.0.27"
2025-09-30 21:38:22 +02:00
inquire = "0.9.1"
juniper = { version = "0.17", optional = true }
actix-web = { version = "4.9", optional = true }
juniper_actix = { version = "0.7", optional = true }
2025-09-30 23:56:51 +02:00
shell-words = "1.1.0"
url = "2.5.7"
hex = "0.4.3"
diesel = { version = "2.1.6", features = ["sqlite", "r2d2", "returning_clauses_for_sqlite_3_35"] }
# Networking
ureq = { version = "2.9.7", features = ["tls", "json"] }
2025-09-30 16:51:03 +02:00
2025-09-30 18:49:50 +02:00
[features]
2025-09-30 20:44:34 +02:00
# TUI feature flag
tui = ["dep:tui", "dep:crossterm", "dep:rsille", "dep:gptman", "dep:uuid"]
# GraphQL/HTTP server feature flag
graphql = ["dep:juniper", "dep:actix-web", "dep:juniper_actix", "dep:rand"]
2025-09-30 20:44:34 +02:00
# Optional default features
default = []
[[bin]]
name = "graphql_server"
path = "src/bin/graphql_server.rs"
required-features = ["graphql"]