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

#30 in Date and time

Download history 3856/week @ 2024-08-21 4155/week @ 2024-08-28 5186/week @ 2024-09-04 4216/week @ 2024-09-11 4499/week @ 2024-09-18 4334/week @ 2024-09-25 4174/week @ 2024-10-02 3658/week @ 2024-10-09 4401/week @ 2024-10-16 4164/week @ 2024-10-23 3726/week @ 2024-10-30 4055/week @ 2024-11-06 4589/week @ 2024-11-13 4648/week @ 2024-11-20 3810/week @ 2024-11-27 3684/week @ 2024-12-04

17,321 downloads per month
Used in 38 crates (6 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
~27K SLoC