# 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-worker"
version = "0.4.0"
authors = ["Tom Whiting <tom@ablative.com.au>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust remote-worker SDK for executing Aion activities over the gRPC worker protocol."
documentation = "https://docs.rs/aion-worker"
readme = "README.md"
keywords = [
    "aion",
    "workflow",
    "durable-execution",
    "worker",
    "activities",
]
categories = [
    "asynchronous",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tomWhiting/aion"
resolver = "2"

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

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

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

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

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

[dependencies.futures]
version = "0.3"

[dependencies.prost]
version = "0.14"

[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.18"

[dependencies.tonic]
version = "0.14"

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1.23"

[dev-dependencies.tokio]
version = "1.52"
features = [
    "full",
    "test-util",
]

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

[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"
