[package]
edition = "2021"
rust-version = "1.82"
name = "edtf-normalize"
version = "1.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Deterministic prose-date to EDTF normalizer (English and Russian): '1980s' -> 198X, 'circa 1920' -> 1920~. Honest ambiguity, no silent guesses. no_std, zero dependencies."
readme = "README.md"
keywords = [
"edtf",
"date",
"iso8601",
"natural-language",
"no-std",
]
categories = [
"date-and-time",
"parser-implementations",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/CarlAllenn/edtf"
[lib]
name = "edtf_normalize"
path = "src/lib.rs"
[[test]]
name = "oracle"
path = "tests/oracle.rs"
[[test]]
name = "props"
path = "tests/props.rs"
[[test]]
name = "traps"
path = "tests/traps.rs"
[[test]]
name = "traps_ru"
path = "tests/traps_ru.rs"
[dependencies.edtf-core]
version = "1.1.0"
[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