nt-time
nt-time is a Windows file time library for Rust.
Usage
Add this to your Cargo.toml:
[]
= "0.6.5"
Example
use Duration;
use ;
let ft = NT_TIME_EPOCH;
assert_eq!;
let ft = ft + from_secs;
assert_eq!;
assert_eq!;
assert_eq!;
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.
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.65.0.
Changelog
Please see CHANGELOG.adoc.
Contributing
Please see CONTRIBUTING.adoc.
License
Copyright © 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.0 of the REUSE Specification. See copyright notices of individual files for more details on copyright and licensing information.