cron-when 0.4.2

A CLI tool to parse cron expressions and display next execution times with human-readable durations
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"
name = "cron-when"
version = "0.4.2"
authors = ["Nicolas Embriz <nbari@tequila.io>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A CLI tool to parse cron expressions and display next execution times with human-readable durations"
documentation = "https://docs.rs/cron-when/latest/cron_when/"
readme = "README.md"
keywords = [
    "cron",
    "crontab",
    "scheduler",
    "parser",
    "cli",
]
categories = [
    "command-line-utilities",
    "date-and-time",
    "parser-implementations",
]
license = "BSD-3-Clause"
repository = "https://github.com/nbari/cron-when"

[[package.metadata.generate-rpm.assets]]
source = "target/release/cron-when"
dest = "/usr/bin/cron-when"
mode = "0755"

[package.metadata.deb]
assets = [[
    "target/release/cron-when",
    "/usr/bin/cron-when",
    "755",
]]
depends = ""

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

[[bin]]
name = "cron-when"
path = "src/bin/cron-when.rs"

[[bench]]
name = "parse_benchmark"
path = "benches/parse_benchmark.rs"
harness = false

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.22"

[dependencies.chrono]
version = "0.4"

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.colored]
version = "3"

[dependencies.compound_duration]
version = "2"

[dependencies.cron-parser]
version = "0.11"

[dependencies.once_cell]
version = "1.21"

[dependencies.opentelemetry]
version = "0.31.0"

[dependencies.opentelemetry-otlp]
version = "0.31.0"
features = [
    "grpc-tonic",
    "gzip-tonic",
    "tls",
    "tls-webpki-roots",
    "trace",
]

[dependencies.opentelemetry_sdk]
version = "0.31.0"
features = ["rt-tokio"]

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
]

[dependencies.tonic]
version = "0.14.3"
features = ["tls-webpki-roots"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-futures]
version = "0.2.5"

[dependencies.tracing-opentelemetry]
version = "0.32.1"

[dependencies.tracing-subscriber]
version = "0.3.22"
features = ["env-filter"]

[dependencies.ulid]
version = "1.2.1"

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

[build-dependencies.built]
version = "0.8.0"
features = ["git2"]

[lints.clippy]
all = "deny"
await_holding_lock = "deny"
complexity = "deny"
correctness = "deny"
expect_used = "deny"
indexing_slicing = "deny"
large_stack_arrays = "deny"
needless_borrow = "deny"
needless_collect = "deny"
panic = "deny"
pedantic = "deny"
perf = "deny"
suspicious = "deny"
unwrap_used = "deny"

[lints.clippy.nursery]
level = "allow"
priority = -1

[lints.rust]
warnings = "deny"

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
strip = true