# 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 = "2021"
name = "seesaw_core"
version = "0.23.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A deterministic, event-driven coordination layer where machines decide, effects execute, and transactions define authority"
readme = false
license = "MIT"

[features]
default = ["macros"]
macros = ["dep:seesaw_core_macros"]

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

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

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

[dependencies.dashmap]
version = "6.1"

[dependencies.futures]
version = "0.3"

[dependencies.parking_lot]
version = "0.12"

[dependencies.seesaw_core_macros]
version = "0.23.6"
optional = true

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.49"
features = [
    "sync",
    "rt",
    "time",
    "macros",
]

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.fastrand]
version = "2.3"

[dev-dependencies.tokio]
version = "1.49"
features = [
    "sync",
    "rt",
    "time",
    "macros",
    "rt-multi-thread",
    "macros",
    "time",
]

[dev-dependencies.trybuild]
version = "1.0"
