dtt 0.0.8

A Rust library for parsing, validating, manipulating, and formatting dates and times.
Documentation
[[bench]]
harness = false
name = "benchmark"
path = "benches/criterion.rs"

[[bin]]
name = "dtt"
path = "src/main.rs"

[build-dependencies.version_check]
version = "0.9.4"

[dependencies.lazy_static]
version = "1.5.0"

[dependencies.paste]
version = "1.0"

[dependencies.regex]
version = "1.10"

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

[dependencies.serde_derive]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.time]
features = ["serde", "formatting", "parsing", "macros"]
version = "0.3"

[dev-dependencies.assert_cmd]
version = "2.0"

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

[dev-dependencies.serde_json]
version = "1.0"

[[example]]
name = "dtt"
path = "examples/dtt.rs"

[features]
bench = []
default = []

[lib]
crate-type = ["lib"]
name = "dtt"
path = "src/lib.rs"

[lints.rust]
bare_trait_objects = "allow"
box_pointers = "warn"
dead_code = "deny"
deprecated_in_future = "deny"
elided_lifetimes_in_paths = "allow"
ellipsis_inclusive_range_patterns = "deny"
explicit_outlives_requirements = "deny"
macro_use_extern_crate = "deny"
meta_variable_misuse = "deny"
missing_copy_implementations = "warn"
missing_debug_implementations = "forbid"
missing_docs = "warn"
missing_fragment_specifier = "deny"
non_ascii_idents = "forbid"
non_camel_case_types = "allow"
non_upper_case_globals = "allow"
noop_method_call = "deny"
single_use_lifetimes = "deny"
trivial_bounds = "allow"
trivial_casts = "deny"
trivial_numeric_casts = "deny"
unreachable_pub = "forbid"
unsafe_code = "allow"
unstable_features = "warn"
unused_extern_crates = "warn"
unused_features = "deny"
unused_import_braces = "deny"
unused_labels = "deny"
unused_lifetimes = "deny"
unused_macro_rules = "deny"
unused_qualifications = "deny"
unused_results = "warn"
variant_size_differences = "deny"

[lints.rust.future_incompatible]
level = "deny"
priority = -1

[lints.rust.keyword_idents]
level = "deny"
priority = -1

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1

[lints.rust.rust_2021_compatibility]
level = "deny"
priority = -1

[lints.rust.unused]
level = "deny"
priority = -1

[package]
authors = ["The DateTime (DTT) contributors"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = "build.rs"
categories = ["date-and-time", "parser-implementations", "value-formatting"]
description = """
    A Rust library for parsing, validating, manipulating, and formatting dates
    and times.
"""
documentation = "https://docs.rs/dtt"
edition = "2021"
exclude = ["/.git/*", "/.github/*", "/.gitignore", "/.vscode/*"]
homepage = "https://dttlib.com/"
include = ["/CONTRIBUTING.md", "/LICENSE-APACHE", "/LICENSE-MIT", "/benches/**", "/build.rs", "/Cargo.toml", "/examples/**", "/README.md", "/src/**", "/tests/**"]
keywords = ["dtt", "date", "datetime", "time", "timezone"]
license = "MIT OR Apache-2.0"
name = "dtt"
readme = "README.md"
repository = "https://github.com/sebastienrousseau/dtt.git"
rust-version = "1.56.0"
version = "0.0.8"

[package.metadata.clippy]
warn-lints = ["clippy::all", "clippy::pedantic", "clippy::cargo", "clippy::nursery"]

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--generate-link-to-definition", "--cfg", "docsrs", "--document-private-items"]
targets = ["x86_64-unknown-linux-gnu"]

[profile.bench]
debug = 2

[profile.dev]
codegen-units = 256
debug = 2
debug-assertions = true
incremental = true
lto = false
opt-level = 0
overflow-checks = true
panic = "unwind"
rpath = false
strip = false

[profile.release]
codegen-units = 1
debug = 0
debug-assertions = false
incremental = false
lto = true
opt-level = "s"
overflow-checks = false
panic = "abort"
rpath = false
strip = "symbols"

[profile.test]
codegen-units = 256
debug = 2
debug-assertions = true
incremental = true
lto = false
opt-level = 0
overflow-checks = true
rpath = false
strip = false

[[test]]
name = "test_datetime"
path = "tests/test_datetime.rs"

[[test]]
name = "test_dtt"
path = "tests/test_dtt.rs"

[[test]]
name = "test_error"
path = "tests/test_error.rs"

[[test]]
name = "test_lib"
path = "tests/test_lib.rs"

[[test]]
name = "test_macros"
path = "tests/test_macros.rs"

[[test]]
name = "test_main"
path = "tests/test_main.rs"

[[test]]
name = "test_readme"
path = "tests/test_readme.rs"