nt-time 0.13.1

A Windows file time library
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88.0"
name = "nt-time"
version = "0.13.1"
build = false
include = [
    "/LICENSES",
    "/README.md",
    "/src",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Windows file time library"
documentation = "https://docs.rs/nt-time"
readme = "README.md"
keywords = [
    "date",
    "time",
    "windows",
]
categories = [
    "date-and-time",
    "no-std",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/sorairolake/nt-time"

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

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

[lib]
name = "nt_time"
path = "src/lib.rs"

[dependencies.chrono]
version = "0.4.43"
optional = true
default-features = false

[dependencies.dos-date-time]
version = "0.2.1"
optional = true
default-features = false

[dependencies.jiff]
version = "0.2.18"
optional = true
default-features = false

[dependencies.rand]
version = "0.9.2"
optional = true
default-features = false

[dependencies.serde]
version = "1.0.228"
optional = true
default-features = false

[dependencies.time]
version = "0.3.46"
default-features = false

[dev-dependencies.anyhow]
version = "1.0.100"

[dev-dependencies.clap]
version = "4.5.56"
features = ["derive"]

[dev-dependencies.proptest]
version = "1.9.0"

[dev-dependencies.proptest-derive]
version = "0.7.0"

[dev-dependencies.rand_pcg]
version = "0.9.0"

[dev-dependencies.serde]
version = "1.0.228"
features = ["derive"]

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

[dev-dependencies.serde_test]
version = "1.0.177"

[dev-dependencies.test-strategy]
version = "0.4.4"

[dev-dependencies.time]
version = "0.3.46"
features = [
    "macros",
    "parsing",
]

[lints.clippy]
multiple_crate_versions = "allow"

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "deny"
unsafe_code = "forbid"

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