atomic-replace 0.1.0

Replace a file atomically: write a sibling temp file, keep the old permissions and symlinks, optionally fsync, then rename it over the target
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[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"