[package]
edition = "2024"
rust-version = "1.94"
name = "cronoq-server"
version = "0.2.1"
authors = ["Daniel Bentes <daniel.bentes@synapti.ai>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "gRPC/HTTP server for the cronoq scheduler with remote workers"
homepage = "https://synaptiai.github.io/cronoq/"
documentation = "https://docs.rs/cronoq-server"
readme = "README.md"
keywords = [
"scheduler",
"task-queue",
"grpc",
"worker",
"autoscaling",
]
categories = [
"network-programming",
"web-programming::http-server",
"concurrency",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/synaptiai/cronoq"
[lib]
name = "cronoq_server"
path = "src/lib.rs"
[[bin]]
name = "cronoq-server"
path = "src/main.rs"
[[test]]
name = "fairness"
path = "tests/fairness.rs"
[[test]]
name = "grpc_web"
path = "tests/grpc_web.rs"
[[test]]
name = "ha"
path = "tests/ha.rs"
[[test]]
name = "labels"
path = "tests/labels.rs"
[[test]]
name = "listing"
path = "tests/listing.rs"
[[test]]
name = "regressions"
path = "tests/regressions.rs"
[[test]]
name = "routing"
path = "tests/routing.rs"
[[test]]
name = "server"
path = "tests/server.rs"
[[test]]
name = "sharding"
path = "tests/sharding.rs"
[[test]]
name = "tls"
path = "tests/tls.rs"
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
version = "0.8"
[dependencies.base64]
version = "0.23"
[dependencies.bytes]
version = "1"
[dependencies.clap]
version = "4"
features = [
"derive",
"env",
]
[dependencies.cronoq]
version = "0.2.1"
[dependencies.cronoq-proto]
version = "0.2.1"
[dependencies.cronoq-store-postgres]
version = "0.2.1"
[dependencies.cronoq-store-sqlite]
version = "0.2.1"
[dependencies.futures-util]
version = "0.3"
[dependencies.http]
version = "1"
[dependencies.hyper]
version = "1"
features = [
"http1",
"http2",
"server",
]
[dependencies.hyper-util]
version = "0.1"
features = [
"server-auto",
"server-graceful",
"tokio",
"service",
]
[dependencies.reqwest]
version = "0.13"
features = [
"json",
"rustls-no-provider",
]
default-features = false
[dependencies.rustc-hash]
version = "2"
[dependencies.rustls]
version = "0.23"
features = [
"ring",
"std",
"tls12",
]
default-features = false
[dependencies.rustls-pki-types]
version = "1"
features = ["std"]
[dependencies.rustls-webpki]
version = "0.103"
features = ["std"]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.11"
[dependencies.subtle]
version = "2"
[dependencies.tokio]
version = "1.47"
features = ["full"]
[dependencies.tokio-rustls]
version = "0.26"
features = [
"ring",
"tls12",
]
default-features = false
[dependencies.tokio-stream]
version = "0.1"
features = ["sync"]
[dependencies.tokio-util]
version = "0.7"
[dependencies.toml]
version = "1.1"
[dependencies.tonic]
version = "0.14"
features = [
"tls-ring",
"tls-native-roots",
]
[dependencies.tonic-prost]
version = "0.14"
[dependencies.tonic-web]
version = "0.14"
[dependencies.tower]
version = "0.5"
features = [
"limit",
"util",
]
[dependencies.tower-http]
version = "0.7"
features = ["cors"]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"fmt",
]
[dev-dependencies.prost]
version = "0.14"
[dev-dependencies.rcgen]
version = "0.14"
[dev-dependencies.tempfile]
version = "3"