php-dates 0.2.1

PHP date() patterns for Rust: strict createFromFormat-style parsing, a pattern resolution contract and a Day.js export, with no framework dependency
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.85"
name = "php-dates"
version = "0.2.1"
authors = ["ReynoTECH"]
build = false
exclude = [
    ".github/",
    ".gitignore",
    "AUDIT.md",
    "deny.toml",
    "fuzz/",
    "rust-toolchain.toml",
    "tests/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PHP date() patterns for Rust: strict createFromFormat-style parsing, a pattern resolution contract and a Day.js export, with no framework dependency"
readme = "README.md"
keywords = [
    "php",
    "date",
    "format",
    "datetime",
    "dayjs",
]
categories = ["date-and-time"]
license = "MIT"
repository = "https://github.com/reynotech/php-dates-rust"

[package.metadata.docs.rs]
all-features = true

[features]
tzdb-bundle = ["jiff/tzdb-bundle-always"]

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

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

[dependencies.jiff]
version = "1"

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

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.thiserror]
version = "2"

[dev-dependencies.criterion]
version = "0.7"
features = ["cargo_bench_support"]
default-features = false

[dev-dependencies.proptest]
version = "1"
features = ["std"]
default-features = false

[lints.rust]
unsafe_code = "forbid"