feat(yarr): restructure into workspace with separate API and CLI crates
This commit is contained in:
48
Cargo.toml
48
Cargo.toml
@@ -1,40 +1,18 @@
|
||||
[package]
|
||||
name = "yarr"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
[workspace]
|
||||
members = [
|
||||
"yarr-cli",
|
||||
"yarr-api"
|
||||
]
|
||||
resolver = "2"
|
||||
|
||||
[[bin]]
|
||||
name = "yarr"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
clap = { version = "4.5", features = ["derive", "env"] }
|
||||
clap_complete = "4.5"
|
||||
error-stack = "0.5"
|
||||
thiserror = "2.0"
|
||||
[workspace.dependencies]
|
||||
# Common dependencies that can be shared across workspace members
|
||||
tokio = { version = "1.43.1", features = ["full"] }
|
||||
tracing = "0.1"
|
||||
tracing-subscriber = "0.3"
|
||||
|
||||
# TUI dependencies
|
||||
ratatui = { version = "0.28", features = ["crossterm"] }
|
||||
crossterm = "0.28"
|
||||
|
||||
# HTTP client and serialization
|
||||
reqwest = { version = "0.12", features = ["json"] }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
|
||||
# Date/time handling
|
||||
reqwest = { version = "0.12", features = ["json"] }
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
|
||||
# Async utilities
|
||||
futures = "0.3"
|
||||
urlencoding = "2.1.3"
|
||||
serde_path_to_error = "0.1.20"
|
||||
|
||||
# Configuration
|
||||
config = "0.14"
|
||||
toml = "0.8"
|
||||
dirs = "5.0"
|
||||
thiserror = "2.0"
|
||||
error-stack = "0.5"
|
||||
tracing = "0.1"
|
||||
tracing-subscriber = "0.3"
|
||||
|
||||
Reference in New Issue
Block a user