[package]
authors = ["Sebastien Rousseau <sebastian.rousseau@gmail.com>"]
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://minifunctions.com/"
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.69.0"
version = "0.0.4"
include = [
"/CONTRIBUTING.md",
"/LICENSE-APACHE",
"/LICENSE-MIT",
"/benches/**",
"/build.rs",
"/Cargo.toml",
"/examples/**",
"/README.md",
"/src/**",
"/tests/**",
"/xtask/**",
]
[workspace]
members = ["xtask"]
[[bench]]
name = "benchmark"
harness = false
path = "benches/criterion.rs"
[profile.bench]
debug = true
[dependencies]
regex = "1.8.1"
serde = { version = "1.0.163", features = ["derive"] }
time = "0.3.21"
[dev-dependencies]
assert_cmd = "2.0.11"
criterion = "0.4.0"
[lib]
crate-type = ["lib"]
name = "dtt"
path = "src/lib.rs"
[features]
default = []
[package.metadata.docs.rs]
all-features = true
[profile.dev]
codegen-units = 256
debug = true
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 = false
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 = true
debug-assertions = true
incremental = true
lto = false
opt-level = 0
overflow-checks = true
rpath = false
strip = false