[package]
edition = "2021"
rust-version = "1.82"
name = "edtf-core"
version = "1.0.2"
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"
[[test]]
name = "values"
path = "tests/values.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"
[lints.clippy]
allow_attributes_without_reason = "warn"
dbg_macro = "warn"
expect_used = "warn"
multiple_crate_versions = "allow"
print_stderr = "warn"
print_stdout = "warn"
redundant_pub_crate = "allow"
todo = "warn"
undocumented_unsafe_blocks = "warn"
unwrap_used = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
elided_lifetimes_in_paths = "warn"
explicit_outlives_requirements = "warn"
let_underscore_drop = "warn"
meta_variable_misuse = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
non_ascii_idents = "warn"
redundant_lifetimes = "warn"
single_use_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unit_bindings = "warn"
unnameable_types = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_lifetimes = "warn"
unused_qualifications = "warn"
variant_size_differences = "warn"
[lints.rust.rust-2024-compatibility]
level = "warn"
priority = -1