pgtask-core 0.2.0

Core types and state model for pgtask
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.94"
name = "pgtask-core"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core types and state model for pgtask"
readme = "README.md"
license = "MIT"
repository = "https://github.com/Kludex/pgtask"

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

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

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

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

[dependencies.cron]
version = "0.17.0"

[dependencies.rand]
version = "0.9.2"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
unsafe_code = "forbid"