Vulnerabilities | |||||
---|---|---|---|---|---|
Version | Suggest | Low | Medium | High | Critical |
0.4.4 | 0 | 0 | 0 | 0 | 0 |
0.4.3 | 0 | 0 | 0 | 0 | 0 |
0.4.2 | 0 | 0 | 0 | 0 | 0 |
0.4.1 | 0 | 0 | 0 | 0 | 0 |
0.4.0 | 0 | 0 | 0 | 0 | 0 |
0.3.1 | 0 | 0 | 0 | 0 | 0 |
0.3.0 | 0 | 0 | 0 | 0 | 0 |
0.2.5 | 0 | 0 | 0 | 0 | 0 |
0.2.4 | 0 | 0 | 0 | 0 | 0 |
0.2.3 | 0 | 0 | 0 | 0 | 0 |
0.2.2 | 0 | 0 | 0 | 0 | 0 |
0.2.1 | 0 | 0 | 0 | 0 | 0 |
0.2.0 | 0 | 0 | 0 | 0 | 0 |
0.1.5 | 0 | 0 | 0 | 0 | 0 |
0.1.4 | 0 | 0 | 0 | 0 | 0 |
0.1.3 | 0 | 0 | 0 | 0 | 0 |
0.1.2 | 0 | 0 | 0 | 0 | 0 |
0.1.1 | 0 | 0 | 0 | 0 | 0 |
0.1.0 | 0 | 0 | 0 | 0 | 0 |
0.0.14 | 0 | 0 | 0 | 0 | 0 |
0.0.13 | 0 | 0 | 0 | 0 | 0 |
0.0.12 | 0 | 0 | 0 | 0 | 0 |
0.0.11 | 0 | 0 | 0 | 0 | 0 |
0.0.10 | 0 | 0 | 0 | 0 | 0 |
0.0.9 | 0 | 0 | 0 | 0 | 0 |
0.0.8 | 0 | 0 | 0 | 0 | 0 |
0.0.7 | 0 | 0 | 0 | 0 | 0 |
0.0.6 | 0 | 0 | 0 | 0 | 0 |
0.0.5 | 0 | 0 | 0 | 0 | 0 |
0.0.4 | 0 | 0 | 0 | 0 | 0 |
0.0.3 | 0 | 0 | 0 | 0 | 0 |
0.0.2 | 0 | 0 | 0 | 0 | 0 |
0.0.1 | 0 | 0 | 0 | 0 | 0 |
0.4.4 - This version may not be safe as it has not been updated for a long time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform
Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.
MIT - MIT LicenseAtomic file-writes. Works on both POSIX and Windows.
The basic idea is to write to temporary files (in the same file
system), and move them when done writing.
This avoids the problem of two programs writing to the same file. For
AllowOverwrite
, rename
is used. For DisallowOverwrite
, link + unlink
is
used instead to raise errors when the target path already exists.
This is mostly a port of the same-named Python package.
use atomicwrites::{AtomicFile,DisallowOverwrite};
let af = AtomicFile::new("foo", DisallowOverwrite);
af.write(|f| {
f.write_all(b"HELLO")
})?;
persist
method doing the same thing.Licensed under MIT, see LICENSE
.