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