31 releases (9 breaking)

new 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

#32 in Date and time

Download history 4081/week @ 2024-07-27 3467/week @ 2024-08-03 3489/week @ 2024-08-10 3513/week @ 2024-08-17 4091/week @ 2024-08-24 4868/week @ 2024-08-31 4334/week @ 2024-09-07 4223/week @ 2024-09-14 4606/week @ 2024-09-21 4134/week @ 2024-09-28 3994/week @ 2024-10-05 4236/week @ 2024-10-12 3982/week @ 2024-10-19 4236/week @ 2024-10-26 3958/week @ 2024-11-02 3044/week @ 2024-11-09

15,952 downloads per month
Used in 33 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