feat(yarr): restructure into workspace with separate API and CLI crates
Some checks failed
build / checks-matrix (push) Has been cancelled
build / checks-build (push) Has been cancelled
build / codecov (push) Has been cancelled
docs / docs (push) Has been cancelled

This commit is contained in:
uttarayan21
2025-10-08 17:02:34 +05:30
parent e9ecd2a295
commit 03fd2de38f
17 changed files with 803 additions and 148 deletions

View File

@@ -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"