croner 4.0.0

Fully-featured, lightweight, and efficient Rust library designed for parsing and evaluating cron patterns
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 = "2021"
name = "croner"
version = "4.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fully-featured, lightweight, and efficient Rust library designed for parsing and evaluating cron patterns"
homepage = "https://github.com/hexagon/croner-rust"
documentation = "https://docs.rs/croner"
readme = "README.md"
keywords = [
    "cron",
    "scheduler",
    "job",
    "task",
    "time",
]
categories = [
    "date-and-time",
    "parser-implementations",
]
license = "MIT"
repository = "https://github.com/hexagon/croner-rust"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
chrono = ["dep:chrono"]
default = ["chrono"]
jiff = ["dep:jiff"]
serde = ["dep:serde"]

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

[[example]]
name = "iter_demo"
path = "examples/iter_demo.rs"
required-features = ["chrono"]

[[example]]
name = "simple_demo"
path = "examples/simple_demo.rs"
required-features = ["chrono"]

[[example]]
name = "simple_demo_jiff"
path = "examples/simple_demo_jiff.rs"
required-features = ["jiff"]

[[example]]
name = "timezone_demo"
path = "examples/timezone_demo.rs"
required-features = ["chrono"]

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

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

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

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

[[bench]]
name = "croner_bench"
path = "benches/croner_bench.rs"
harness = false
required-features = ["chrono"]

[dependencies.chrono]
version = "0.4.42"
optional = true
default-features = false

[dependencies.derive_builder]
version = "0.20.2"

[dependencies.jiff]
version = "0.2.35"
features = ["alloc"]
optional = true
default-features = false

[dependencies.serde]
version = "1.0"
optional = true

[dependencies.strum]
version = "0.27.2"
features = ["derive"]

[dev-dependencies.chrono]
version = "0.4.42"
features = ["clock"]
default-features = false

[dev-dependencies.chrono-tz]
version = "0.10.4"

[dev-dependencies.criterion]
version = "0.7.0"

[dev-dependencies.jiff]
version = "0.2.35"

[dev-dependencies.rstest]
version = "0.26.1"

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