[package]
edition = "2021"
rust-version = "1.82"
name = "edtf-core"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "EDTF (ISO 8601-2:2019 Annex A) parsing, validation, bounds, temporal relations and canonical formatting, levels 0-2. no_std, zero dependencies."
readme = "README.md"
keywords = [
"edtf",
"date",
"iso8601",
"parser",
"no-std",
]
categories = [
"date-and-time",
"parser-implementations",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/CarlAllenn/edtf"
[features]
serde = ["dep:serde"]
[lib]
name = "edtf_core"
path = "src/lib.rs"
[[test]]
name = "bounds"
path = "tests/bounds.rs"
[[test]]
name = "conformance"
path = "tests/conformance.rs"
[[test]]
name = "display"
path = "tests/display.rs"
[[test]]
name = "fuzz"
path = "tests/fuzz.rs"
[[test]]
name = "interop"
path = "tests/interop.rs"
[[test]]
name = "loc"
path = "tests/loc.rs"
[[test]]
name = "props"
path = "tests/props.rs"
[[test]]
name = "relation"
path = "tests/relation.rs"
[[test]]
name = "spec"
path = "tests/spec.rs"
[[bench]]
name = "core"
path = "benches/core.rs"
harness = false
[dependencies.serde]
version = "1"
features = [
"derive",
"alloc",
]
optional = true
default-features = false
[dev-dependencies.criterion]
version = "=0.8.2"
features = ["cargo_bench_support"]
default-features = false
[dev-dependencies.proptest]
version = "=1.11.0"
features = ["std"]
default-features = false
[dev-dependencies.serde_json]
version = "=1.0.151"
[lints.rust]
missing_docs = "deny"
unsafe_code = "forbid"