# 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-core"
version = "0.1.0"
authors = ["Tom Whiting <tom@ablative.com.au>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure domain model and shared vocabulary for Aion durable workflows."
documentation = "https://docs.rs/aion-core"
readme = "README.md"
keywords = [
    "aion",
    "workflow",
    "durable-execution",
    "domain",
    "events",
]
categories = ["development-tools"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tomWhiting/aion"
resolver = "2"

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

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.ts-rs]
version = "12.0.1"
features = [
    "chrono-impl",
    "uuid-impl",
    "no-serde-warnings",
]

[dependencies.uuid]
version = "1.23"
features = [
    "v4",
    "serde",
]

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