# 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"
name = "runledger-core"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core contracts and types for the Runledger durable job and workflow system"
homepage = "https://github.com/featherenvy/runledger"
documentation = "https://docs.rs/runledger-core"
readme = "README.md"
keywords = [
    "jobs",
    "workflows",
    "postgres",
    "queue",
]
categories = [
    "asynchronous",
    "database",
]
license = "MIT"
repository = "https://github.com/featherenvy/runledger"
resolver = "2"

[features]
sqlx-postgres = ["dep:sqlx"]

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

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

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

[dependencies.serde_json]
version = "1"

[dependencies.sqlx]
version = "0.8.6"
features = ["postgres"]
optional = true
default-features = false

[dependencies.uuid]
version = "1"
features = [
    "serde",
    "v7",
]

[dev-dependencies.proptest]
version = "1.11"
