A missing utime function for Rust. Documentation
Standard library of Rust doesn't provide stable way to set atime/mtime of a file. This crate provides stable way to change a file's last modification and access time.
toml
[dependencies]
utime = "0.1"
```rust
use std::fs::File;
use utime::setfiletimes;
File::create("target/testdummy").unwrap(); setfiletimes("target/testdummy", 1000000, 1000000000).unwrap(); ```