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

50
yarr-cli/Cargo.toml Normal file
View File

@@ -0,0 +1,50 @@
[package]
name = "yarr"
version = "0.1.0"
edition = "2021"
license = "MIT"
description = "A TUI client for Sonarr"
authors = ["yarr contributors"]
repository = "https://github.com/user/yarr"
[[bin]]
name = "yarr"
path = "src/main.rs"
[dependencies]
# API client library
yarr-api = { path = "../yarr-api" }
# CLI dependencies
clap = { version = "4.5", features = ["derive", "env"] }
clap_complete = "4.5"
# Error handling
error-stack = { workspace = true }
thiserror = { workspace = true }
# Async runtime
tokio = { workspace = true }
# Logging
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
# TUI dependencies
ratatui = { version = "0.28", features = ["crossterm"] }
crossterm = "0.28"
# Serialization
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
# Date/time handling
chrono = { workspace = true, features = ["serde"] }
# Async utilities
futures = "0.3"
# Configuration
config = "0.14"
toml = "0.8"
dirs = "5.0"