1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
|
# 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.23"
authors = ["Jiahao XU <Jiahao_XU@outlook.com>"]
build = false
autolib = 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"
[[example]]
name = "reflink_block"
path = "examples/reflink_block.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(target_os = "linux")'.dependencies.libc]
version = "0.2.169"
|