[dependencies.cfg-if]
version = "1.0.0"
[dependencies.tracing]
default-features = false
optional = true
version = "0.1.37"
[dependencies.tracing-attributes]
optional = true
version = "0.1.26"
[dev-dependencies.regex]
version = "1.11.1"
[dev-dependencies.tempfile]
version = "3.12.0"
[dev-dependencies.walkdir]
version = "2.5.0"
[[example]]
name = "check_reflink_support"
path = "examples/check_reflink_support.rs"
[[example]]
name = "clone_or_copy"
path = "examples/clone_or_copy.rs"
[[example]]
name = "clonefile"
path = "examples/clonefile.rs"
[[example]]
name = "compare"
path = "examples/compare.rs"
[[example]]
name = "copy_folder"
path = "examples/copy_folder.rs"
[features]
tracing = ["dep:tracing", "dep:tracing-attributes"]
[lib]
name = "reflink_copy"
path = "src/lib.rs"
[package]
authors = ["Jiahao XU <Jiahao_XU@outlook.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["filesystem", "os"]
description = "copy-on-write mechanism on supported file systems"
documentation = "https://docs.rs/reflink-copy"
edition = "2018"
homepage = "https://github.com/cargo-bins/reflink-copy"
keywords = ["reflink", "COW", "copy", "btrfs", "xfs"]
license = "MIT/Apache-2.0"
name = "reflink-copy"
readme = "README.md"
repository = "https://github.com/cargo-bins/reflink-copy"
version = "0.1.20"
[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies.rustix]
default-features = false
features = ["fs", "std"]
version = "0.38.20"
[target."cfg(windows)".dependencies.windows]
features = ["Win32_Storage_FileSystem", "Win32_Foundation", "Win32_System_Ioctl", "Win32_System_IO", "Win32_System_SystemServices"]
version = "0.58.0"
[[test]]
name = "reflink"
path = "tests/reflink.rs"
[[test]]
name = "reflink_win"
path = "tests/reflink_win.rs"