aion-client 0.2.0

Rust caller SDK for connecting to aion-server and operating Aion workflows.
Documentation
# 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-client"
version = "0.2.0"
authors = ["Tom Whiting <tom@ablative.com.au>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust caller SDK for connecting to aion-server and operating Aion workflows."
documentation = "https://docs.rs/aion-client"
readme = "README.md"
keywords = [
    "aion",
    "workflow",
    "durable-execution",
    "sdk",
    "client",
]
categories = [
    "api-bindings",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tomWhiting/aion"
resolver = "2"

[features]
default = []
embedded = ["dep:aion"]

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

[[example]]
name = "seven_operations"
path = "examples/seven_operations.rs"

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

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

[dependencies.aion]
version = "0.2.0"
optional = true
package = "aion-rs"

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

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

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

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

[dependencies.chrono]
version = "0.4"

[dependencies.futures]
version = "0.3"

[dependencies.http]
version = "1.4.1"

[dependencies.prost]
version = "0.14"

[dependencies.rustls]
version = "0.23.40"
features = [
    "aws-lc-rs",
    "logging",
    "std",
    "tls12",
]
default-features = false

[dependencies.rustls-pemfile]
version = "2.2.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 = [
    "macros",
    "rt",
    "sync",
    "time",
]

[dependencies.tokio-tungstenite]
version = "0.29.0"
features = ["rustls-tls-webpki-roots"]

[dependencies.tonic]
version = "0.14"
features = [
    "transport",
    "tls-webpki-roots",
]

[dependencies.uuid]
version = "1.23"

[dependencies.webpki-roots]
version = "1.0.7"

[dev-dependencies.tokio]
version = "1.52"
features = [
    "io-util",
    "macros",
    "net",
    "rt-multi-thread",
    "sync",
    "time",
]

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