nt-time 0.10.3

A Windows file time library
Documentation
# SPDX-FileCopyrightText: 2023 Shun Sakai
#
# SPDX-License-Identifier: Apache-2.0 OR MIT

[package]
name = "nt-time"
version = "0.10.3"
authors = ["Shun Sakai <sorairolake@protonmail.ch>"]
edition = "2021"
rust-version = "1.67.0"
description = "A Windows file time library"
documentation = "https://docs.rs/nt-time"
readme = "README.md"
repository = "https://github.com/sorairolake/nt-time"
license = "Apache-2.0 OR MIT"
keywords = ["date", "time", "windows"]
categories = ["date-and-time", "no-std"]
include = ["/LICENSES", "/README.md", "/src"]

[package.metadata.docs.rs]
all-features = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[[example]]
name = "date"
path = "examples/date.rs"
required-features = ["std"]

[[example]]
name = "dos2ft"
path = "examples/dos2ft.rs"
required-features = ["std"]

[[example]]
name = "ft2dos"
path = "examples/ft2dos.rs"
required-features = ["std"]

[[example]]
name = "ft2unix"
path = "examples/ft2unix.rs"
required-features = ["std"]

[[example]]
name = "unix2ft"
path = "examples/unix2ft.rs"
required-features = ["std"]

[dependencies]
chrono = { version = "0.4.38", default-features = false, optional = true }
rand = { version = "0.8.5", default-features = false, optional = true }
serde = { version = "1.0.214", default-features = false, features = ["derive"], optional = true }
time = { version = "0.3.36", default-features = false, features = ["macros"] }

[dev-dependencies]
anyhow = "1.0.93"
clap = { version = "4.5.20", features = ["derive"] }
proptest = "1.5.0"
proptest-derive = "0.5.0"
serde_json = "1.0.132"
serde_test = "1.0.177"
test-strategy = "0.4.0"

[features]
default = ["std"]
chrono = ["dep:chrono"]
rand = ["dep:rand"]
serde = ["dep:serde"]
std = ["chrono?/std", "rand?/std", "time/std"]
large-dates = ["time/large-dates"]
serde-human-readable = ["serde", "time/serde-human-readable"]

[lints.clippy]
cargo = "warn"
nursery = "warn"
pedantic = "warn"

[lints.rust]
missing_debug_implementations = "deny"
rust_2018_idioms = { level = "warn", priority = -1 }
unsafe_code = "forbid"