[package]
edition = "2021"
rust-version = "1.86"
name = "atomic-replace"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Replace a file atomically: write a sibling temp file, keep the old permissions and symlinks, optionally fsync, then rename it over the target"
readme = "README.md"
keywords = [
"atomic",
"write",
"file",
"rename",
"fsync",
]
categories = ["filesystem"]
license = "GPL-3.0-or-later"
repository = "https://github.com/pyrlyn/crates"
[lib]
name = "atomic_replace"
path = "src/lib.rs"
[dev-dependencies.tempfile]
version = "3"
[lints.rust]
unsafe_code = "forbid"