# 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 = "2024"
name = "rsy"
version = "1.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A blazing fast parallel copy tool for Unix"
readme = "README.md"
keywords = [
    "rsync",
    "sync",
    "file-transfer",
    "backup",
    "delta",
]
categories = [
    "command-line-utilities",
    "filesystem",
]
license = "MIT"
repository = "https://github.com/pranavgundu/rsy"

[[bin]]
name = "rsy"
path = "src/main.rs"

[[bench]]
name = "sync_vs_tools"
path = "benches/sync_vs_tools.rs"
harness = false

[dependencies.anyhow]
version = "1"

[dependencies.blake3]
version = "1"

[dependencies.byteorder]
version = "1"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.crossbeam-channel]
version = "0.5"

[dependencies.crossterm]
version = "0.28"

[dependencies.filetime]
version = "0.2"

[dependencies.jwalk]
version = "0.8"

[dependencies.memmap2]
version = "0.9"

[dependencies.ratatui]
version = "0.29"

[dependencies.rayon]
version = "1"

[dependencies.rustc-hash]
version = "2"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.tempfile]
version = "3"

[target.'cfg(any(target_os = "macos", target_os = "linux"))'.dependencies.libc]
version = "0.2"

[target."cfg(unix)".dependencies.nix]
version = "0.29"
features = [
    "fs",
    "user",
]

[profile.dev]
opt-level = 1

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true
