31 releases (9 breaking)

0.10.3 Nov 9, 2024
0.10.1 Sep 29, 2024
0.8.1 Jul 31, 2024
0.6.9 Mar 3, 2024
0.1.0 Mar 27, 2023

#31 in Date and time

Download history 3412/week @ 2024-08-12 3525/week @ 2024-08-19 4387/week @ 2024-08-26 5034/week @ 2024-09-02 4051/week @ 2024-09-09 4313/week @ 2024-09-16 4581/week @ 2024-09-23 4221/week @ 2024-09-30 3846/week @ 2024-10-07 4060/week @ 2024-10-14 4094/week @ 2024-10-21 4143/week @ 2024-10-28 4075/week @ 2024-11-04 4329/week @ 2024-11-11 4911/week @ 2024-11-18 3748/week @ 2024-11-25

17,410 downloads per month
Used in 36 crates (5 directly)

Apache-2.0 OR MIT

335KB
7.5K SLoC

nt-time

CI Version MSRV Docs License

nt-time is a Windows file time library for Rust.

Usage

Add this to your Cargo.toml:

[dependencies]
nt-time = "0.10.3"

Crate features

std

Enables features that depend on the standard library. This is enabled by default.

large-dates

Enables the large-dates feature of the time crate.

chrono

Enables the chrono crate.

rand

Enables the rand crate.

serde

Enables the serde crate.

serde-human-readable

Allows Serde representations to use a human-readable format. This implicitly enables the serde feature.

no_std support

This supports no_std mode. Disables the default feature to enable this.

Documentation

See the documentation for more details.

Minimum supported Rust version

The minimum supported Rust version (MSRV) of this library is v1.67.0.

Source code

The upstream repository is available at https://github.com/sorairolake/nt-time.git.

The source code is also available at:

Changelog

Please see CHANGELOG.adoc.

Contributing

Please see CONTRIBUTING.adoc.

License

Copyright © 2023–2024 Shun Sakai (see AUTHORS.adoc)

This library is distributed under the terms of either the Apache License 2.0 or the MIT License.

This project is compliant with version 3.2 of the REUSE Specification. See copyright notices of individual files for more details on copyright and licensing information.

Dependencies

~0.7–1.5MB
~26K SLoC