nt-time is a Windows file time library for Rust.
A Windows file time is a 64-bit unsigned integer value that represents the number of 100-nanosecond intervals that have elapsed since "1601-01-01 00:00:00 UTC", and is used as timestamps such as NTFS or 7z. Windows uses a file time to record when an application creates, accesses, or writes to a file.
Run the following command in your project directory:
cargo add nt-timeEnables the chrono crate.
Enables the dos-date-time crate. This is enabled by default.
Enables the jiff crate.
Enables the large-dates feature of the time crate.
Enables the rand crate.
Enables the serde crate.
Allows Serde representations to use a human-readable format. This implicitly
enables the serde feature.
Enables features that depend on the standard library. This is enabled by default.
This supports no_std mode. Disables the default feature to enable this.
See the documentation for more details.
The minimum supported Rust version (MSRV) of this library is v1.85.0.
The upstream repository is available at https://github.com/sorairolake/nt-time.git.
Please see CHANGELOG.adoc.
Please see CONTRIBUTING.adoc.
Copyright (C) 2023 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.3 of the REUSE Specification. See copyright notices of individual files for more details on copyright and licensing information.