Added config stuff

This commit is contained in:
Connor Johnstone
2026-03-18 15:14:45 -04:00
parent edcc5cb110
commit b8f178ae08
6 changed files with 461 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
[workspace]
exclude = ["shanty-web/frontend"]
members = [
"shanty-config",
"shanty-db",
"shanty-index",
"shanty-tag",
@@ -40,3 +41,31 @@ 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 }