Files
2026-08-01 16:11:49 +03:00

93 lines
1.8 KiB
TOML

# 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 = "3.0.1"
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"
[features]
serde = ["dep:serde"]
[lib]
name = "croner"
path = "src/lib.rs"
[[example]]
name = "iter_demo"
path = "examples/iter_demo.rs"
[[example]]
name = "simple_demo"
path = "examples/simple_demo.rs"
[[example]]
name = "timezone_demo"
path = "examples/timezone_demo.rs"
[[test]]
name = "ocps"
path = "tests/ocps.rs"
[[bench]]
name = "croner_bench"
path = "benches/croner_bench.rs"
harness = false
[dependencies.chrono]
version = "0.4.42"
[dependencies.derive_builder]
version = "0.20.2"
[dependencies.serde]
version = "1.0"
optional = true
[dependencies.strum]
version = "0.27.2"
features = ["derive"]
[dev-dependencies.chrono-tz]
version = "0.10.4"
[dev-dependencies.criterion]
version = "0.7.0"
[dev-dependencies.rstest]
version = "0.26.1"
[dev-dependencies.serde_test]
version = "1.0"