aion-server 0.5.0

Aion workflow server library: HTTP, gRPC, WebSocket, and worker endpoints. Run it with the `aion` binary from the aion-cli crate.
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "aion-server"
version = "0.5.0"
authors = ["Tom Whiting <tom@ablative.com.au>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Aion workflow server library: HTTP, gRPC, WebSocket, and worker endpoints. Run it with the `aion` binary from the aion-cli crate."
documentation = "https://docs.rs/aion-server"
readme = "README.md"
keywords = [
    "aion",
    "workflow",
    "durable-execution",
    "server",
    "grpc",
]
categories = [
    "asynchronous",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tomWhiting/aion"
resolver = "2"

[features]
auth = [
    "dep:jsonwebtoken",
    "dep:reqwest",
]
default = []

[lib]
name = "aion_server"
path = "src/lib.rs"

[[test]]
name = "deploy_api_e2e"
path = "tests/deploy_api_e2e.rs"

[[test]]
name = "deploy_audit_log"
path = "tests/deploy_audit_log.rs"

[[test]]
name = "deploy_restart_e2e"
path = "tests/deploy_restart_e2e.rs"

[[test]]
name = "namespace_restart"
path = "tests/namespace_restart.rs"

[[test]]
name = "query_workflow"
path = "tests/query_workflow.rs"

[[test]]
name = "websocket_resume"
path = "tests/websocket_resume.rs"

[[test]]
name = "worker_dispatch_delivery"
path = "tests/worker_dispatch_delivery.rs"

[[test]]
name = "worker_sdk_e2e"
path = "tests/worker_sdk_e2e.rs"

[dependencies.aion]
version = "0.5.0"
package = "aion-rs"

[dependencies.aion-core]
version = "0.5.0"

[dependencies.aion-package]
version = "0.5.0"

[dependencies.aion-proto]
version = "0.5.0"
features = ["generated"]

[dependencies.aion-store]
version = "0.5.0"

[dependencies.aion-store-libsql]
version = "0.5.0"

[dependencies.async-trait]
version = "0.1"

[dependencies.axum]
version = "0.8"
features = ["ws"]

[dependencies.base64]
version = "0.22.1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.dashmap]
version = "6.2"

[dependencies.futures]
version = "0.3"

[dependencies.http-body-util]
version = "0.1"

[dependencies.jsonwebtoken]
version = "10.3.0"
features = ["rust_crypto"]
optional = true

[dependencies.prometheus]
version = "0.14.0"

[dependencies.prost]
version = "0.14"

[dependencies.reqwest]
version = "0.13.4"
features = [
    "json",
    "rustls",
]
optional = true
default-features = false

[dependencies.rust-embed]
version = "8.11.0"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.52"
features = ["full"]

[dependencies.tokio-stream]
version = "0.1"

[dependencies.toml]
version = "1.1.2"

[dependencies.tonic]
version = "0.14"

[dependencies.tower]
version = "0.5"
features = ["util"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
    "json",
    "env-filter",
]

[dependencies.uuid]
version = "1.23"

[dev-dependencies.tempfile]
version = "3.27.0"

[dev-dependencies.tokio-stream]
version = "0.1"
features = ["net"]

[dev-dependencies.tokio-tungstenite]
version = "0.29.0"

[dev-dependencies.zip]
version = "8.6"

[lints.clippy]
expect_used = "warn"
panic = "warn"
todo = "warn"
unwrap_used = "warn"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"