[package]
name = "claw-spawn"
version = "0.1.0"
edition = "2021"
authors = ["Cedros Team"]
description = "Digital Ocean VPS provisioning and OpenClaw bot orchestration"
license = "MIT"
repository = "https://github.com/conorholds/claw-spawn"
readme = "README.md"
keywords = ["digitalocean", "provisioning", "axum", "postgres", "orchestration"]
categories = ["web-programming::http-server"]
[features]
default = ["server"]
server = ["axum", "tokio/rt-multi-thread", "tower-http", "utoipa", "utoipa-swagger-ui"]
[[bin]]
name = "claw-spawn-server"
path = "src/main.rs"
required-features = ["server"]
[lib]
name = "claw_spawn"
path = "src/lib.rs"
[dependencies]
tokio = { version = "1.35", features = ["macros", "sync", "time"] }
async-trait = "0.1"
reqwest = { version = "0.11", features = ["json"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_bytes = "0.11"
sqlx = { version = "0.7", features = ["runtime-tokio-native-tls", "postgres", "uuid", "chrono", "migrate"] }
config = "0.14"
dotenvy = "0.15"
thiserror = "1.0"
anyhow = "1.0"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
aes-gcm = "0.10"
rand = "0.8"
base64 = { version = "0.21", features = ["std"] }
uuid = { version = "1.6", features = ["v4", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
validator = { version = "0.16", features = ["derive"] }
strum = { version = "0.25", features = ["derive"] }
tokio-cron-scheduler = { version = "0.9", optional = true }
axum = { version = "0.7", features = ["tokio", "http1", "json"], optional = true }
tower-http = { version = "0.5", features = ["trace", "cors"], optional = true }
utoipa = { version = "4.1", features = ["axum_extras"], optional = true }
utoipa-swagger-ui = { version = "6.0", features = ["axum"], optional = true }
[dev-dependencies]
tokio-test = "0.4"
mockall = "0.12"