TypeDialog/Cargo.toml

75 lines
1.4 KiB
TOML
Raw Normal View History

2025-12-18 01:16:44 +00:00
[workspace]
members = [
"crates/typedialog-core",
"crates/typedialog",
"crates/typedialog-tui",
"crates/typedialog-web",
]
resolver = "2"
[workspace.package]
version = "0.1.0"
authors = ["Jesús Pérez <jpl@jesusperez.com>"]
edition = "2021"
repository = "https://github.com/jesusperezlorenzo/typedialog"
license = "MIT"
[workspace.dependencies]
# Core serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
toml = "0.9"
# Utility
chrono = { version = "0.4", features = ["serde"] }
anyhow = "1.0"
thiserror = "2.0"
clap = { version = "4.5", features = ["derive", "cargo"] }
async-trait = "0.1"
# Async
tokio = { version = "1", features = ["full"] }
futures = "0.3"
# Templates
tera = "1.20"
# i18n
fluent = "0.17"
fluent-bundle = "0.16"
unic-langid = "0.9"
sys-locale = "0.3"
dirs = "6.0"
# Nushell integration
nu-protocol = "0.109.1"
nu-plugin = "0.109.1"
# CLI Backend (inquire)
inquire = { version = "0.9", features = ["editor", "date"] }
dialoguer = "0.12"
rpassword = "7.4"
# TUI Backend (ratatui)
ratatui = "0.29"
crossterm = "0.29"
atty = "0.2"
# Web Backend (axum)
axum = "0.8.7"
tower = "0.5.2"
tower-http = { version = "0.6.8", features = ["fs", "cors"] }
tracing = "0.1"
tracing-subscriber = "0.3"
# Misc
tempfile = "3.23"
[workspace.lints.rust]
unsafe_code = "forbid"
[workspace.lints.clippy]
all = "warn"