lints.workspace = true
[package]
name = "gix-date"
version = "0.9.2"
repository = "https://github.com/GitoxideLabs/gitoxide"
license = "MIT OR Apache-2.0"
description = "A crate of the gitoxide project parsing dates the way git does"
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
edition = "2021"
include = ["src/**/*", "LICENSE-*"]
rust-version = "1.70"
[lib]
doctest = false
[features]
serde = ["dep:serde", "bstr/serde"]
[dependencies]
bstr = { version = "1.3.0", default-features = false, features = ["std"] }
serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] }
itoa = "1.0.1"
jiff = "0.1.1"
thiserror = "2.0.0"
document-features = { version = "0.2.0", optional = true }
[dev-dependencies]
gix-hash = { path = "../gix-hash" }
gix-testtools = { path = "../tests/tools" }
once_cell = "1.12.0"
pretty_assertions = "1.4.1"
[package.metadata.docs.rs]
all-features = true
features = ["document-features"]