Files
Main/Cargo.toml
Connor Johnstone b8f178ae08 Added config stuff
2026-03-18 15:14:45 -04:00

72 lines
1.4 KiB
TOML

[workspace]
exclude = ["shanty-web/frontend"]
members = [
"shanty-config",
"shanty-db",
"shanty-index",
"shanty-tag",
"shanty-org",
"shanty-watch",
"shanty-dl",
"shanty-search",
"shanty-notify",
"shanty-playlist",
"shanty-serve",
"shanty-play",
"shanty-web",
]
resolver = "3"
[workspace.package]
version = "0.1.0"
edition = "2024"
license = "MIT"
repository = "https://git.squid-inc.dev/connor/shanty"
[workspace.dependencies]
# Async runtime
tokio = { version = "1", features = ["full"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# CLI
clap = { version = "4", features = ["derive"] }
# Error handling
thiserror = "2"
anyhow = "1"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Top-level binary
[package]
name = "shanty"
version.workspace = true
edition.workspace = true
license.workspace = true
[[bin]]
name = "shanty"
path = "src/main.rs"
[dependencies]
shanty-config = { path = "shanty-config" }
shanty-db = { path = "shanty-db" }
shanty-web = { path = "shanty-web" }
shanty-tag = { path = "shanty-tag" }
shanty-search = { path = "shanty-search" }
actix-web = "4"
actix-cors = "0.7"
actix-files = "0.6"
tracing-actix-web = "0.7"
tokio = { workspace = true }
clap = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
anyhow = { workspace = true }
serde_json = { workspace = true }