[package]
edition = "2024"
rust-version = "1.91.1"
name = "hammerwork-web"
version = "2.1.0"
authors = ["CodingAnarchy <noreply@codinganarchy.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Web-based admin dashboard for Hammerwork job queues with real-time monitoring, webhook management, event streaming, and comprehensive job queue administration"
homepage = "https://github.com/CodingAnarchy/hammerwork"
documentation = "https://docs.rs/hammerwork"
readme = "README.md"
keywords = [
"job-queue",
"dashboard",
"web",
"monitoring",
"admin",
]
categories = [
"web-programming",
"development-tools",
"database",
]
license = "MIT"
repository = "https://github.com/CodingAnarchy/hammerwork"
[features]
auth = ["bcrypt"]
default = [
"postgres",
"auth",
]
mysql = [
"hammerwork/mysql",
"sqlx/mysql",
]
postgres = [
"hammerwork/postgres",
"sqlx/postgres",
]
[lib]
name = "hammerwork_web"
path = "src/lib.rs"
[[bin]]
name = "hammerwork-web"
path = "src/main.rs"
[[test]]
name = "api_tests"
path = "tests/api_tests.rs"
[[test]]
name = "binary_tests"
path = "tests/binary_tests.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.base64]
version = "0.22"
[dependencies.bcrypt]
version = "0.15"
optional = true
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.clap]
version = "4.0"
features = [
"derive",
"derive",
]
[dependencies.futures-util]
version = "0.3"
[dependencies.hammerwork]
version = "2.1.0"
features = [
"postgres",
"mysql",
"metrics",
"encryption",
]
[dependencies.hmac]
version = "0.12"
[dependencies.rand]
version = "0.8"
[dependencies.reqwest]
version = "0.12"
features = ["json"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10"
[dependencies.sqlx]
version = "0.8"
features = [
"runtime-tokio-rustls",
"chrono",
"uuid",
"json",
"postgres",
"mysql",
]
[dependencies.subtle]
version = "2.6"
[dependencies.tokio]
version = "1.0"
features = ["full"]
[dependencies.tokio-tungstenite]
version = "0.21"
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"json",
]
[dependencies.uuid]
version = "1.0"
features = [
"v4",
"serde",
]
[dependencies.warp]
version = "0.4"
features = [
"server",
"websocket",
]
[dev-dependencies.tempfile]
version = "3.8"
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.warp]
version = "0.4"
features = [
"server",
"websocket",
"test",
]