# 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 = "msy"
version = "0.4.9"
authors = [
    "Nick Russo <nijaru7@gmail.com>",
    "<github.com/pepa65>",
]
build = false
exclude = [
    "tmp/",
    "ai/",
    "scripts/",
    "man/",
    "templates/",
    ".claude/",
    ".github/",
    "benches/",
    "AGENTS.md",
    "CLAUDE.md",
    "CONTRIBUTING.md",
    "deny.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Modern musl rsync alternative - Fast, parallel file synchronization"
readme = "README.md"
keywords = [
    "rsync",
    "sync",
    "file-transfer",
    "backup",
    "cli",
]
categories = [
    "command-line-utilities",
    "filesystem",
]
license = "MIT"
repository = "https://github.com/pepa65/msy"

[features]
acl = ["exacl"]
default = ["ssh"]
gcs = ["object_store"]
s3 = ["object_store"]
ssh = [
    "dep:ssh2",
    "dep:whoami",
    "dep:regex",
]
watch = ["dep:notify"]

[lib]
name = "msy"
path = "src/lib.rs"

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

[[bin]]
name = "sy-bench-gen"
path = "src/bin/sy-bench-gen.rs"

[[bin]]
name = "sy-remote"
path = "src/bin/sy-remote.rs"

[[bin]]
name = "sy-scan"
path = "src/bin/sy-scan.rs"

[[test]]
name = "archive_mode_test"
path = "tests/archive_mode_test.rs"

[[test]]
name = "change_ratio_test"
path = "tests/change_ratio_test.rs"

[[test]]
name = "comparison_modes_test"
path = "tests/comparison_modes_test.rs"

[[test]]
name = "compression_integration"
path = "tests/compression_integration.rs"

[[test]]
name = "delta_sync_test"
path = "tests/delta_sync_test.rs"

[[test]]
name = "edge_cases_test"
path = "tests/edge_cases_test.rs"

[[test]]
name = "filter_cli_test"
path = "tests/filter_cli_test.rs"

[[test]]
name = "hardlink_test"
path = "tests/hardlink_test.rs"

[[test]]
name = "integration_test"
path = "tests/integration_test.rs"

[[test]]
name = "large_file_test"
path = "tests/large_file_test.rs"

[[test]]
name = "massive_directory_test"
path = "tests/massive_directory_test.rs"

[[test]]
name = "per_file_progress_edge_cases"
path = "tests/per_file_progress_edge_cases.rs"

[[test]]
name = "per_file_progress_test"
path = "tests/per_file_progress_test.rs"

[[test]]
name = "performance_test"
path = "tests/performance_test.rs"

[[test]]
name = "property_test"
path = "tests/property_test.rs"

[[test]]
name = "remote_to_local_parent_dirs_test"
path = "tests/remote_to_local_parent_dirs_test.rs"

[[test]]
name = "s3_integration_test"
path = "tests/s3_integration_test.rs"

[[test]]
name = "server_mode_test"
path = "tests/server_mode_test.rs"

[[test]]
name = "size_filter_test"
path = "tests/size_filter_test.rs"

[[test]]
name = "ssh_bisync_test"
path = "tests/ssh_bisync_test.rs"

[[test]]
name = "ssh_comprehensive_test"
path = "tests/ssh_comprehensive_test.rs"

[[test]]
name = "ssh_remote_to_local_progress_test"
path = "tests/ssh_remote_to_local_progress_test.rs"

[[test]]
name = "ssh_resume_retry_test"
path = "tests/ssh_resume_retry_test.rs"

[[test]]
name = "ssh_sparse_hardlink_test"
path = "tests/ssh_sparse_hardlink_test.rs"

[[test]]
name = "symlink_overwrite_test"
path = "tests/symlink_overwrite_test.rs"

[[test]]
name = "trailing_slash_behavior_test"
path = "tests/trailing_slash_behavior_test.rs"

[dependencies.anyhow]
version = "1"

[dependencies.async-trait]
version = "0.1"

[dependencies.base64]
version = "0.22"

[dependencies.bincode]
version = "1.3"

[dependencies.bitflags]
version = "2.10.0"

[dependencies.blake3]
version = "1"

[dependencies.bytes]
version = "1.11.1"

[dependencies.chrono]
version = "0.4"

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
    "color",
]

[dependencies.colored]
version = "2"

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

[dependencies.dirs]
version = "5"

[dependencies.fastbloom]
version = "0.7"

[dependencies.filetime]
version = "0.2"

[dependencies.fjall]
version = "2.11.2"

[dependencies.fs2]
version = "0.4"

[dependencies.futures]
version = "0.3.31"

[dependencies.glob]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.ignore]
version = "0.4"

[dependencies.indicatif]
version = "0.17"

[dependencies.libc]
version = "0.2"

[dependencies.lz4_flex]
version = "0.11"

[dependencies.memmap2]
version = "0.9.9"

[dependencies.notify]
version = "6.0"
optional = true

[dependencies.num_cpus]
version = "1.16"

[dependencies.object_store]
version = "0.12.4"
features = [
    "aws",
    "gcp",
]
optional = true

[dependencies.rayon]
version = "1.10"

[dependencies.regex]
version = "1"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.ssh2]
version = "0.9"
features = ["vendored-openssl"]
optional = true

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "fs",
    "io-util",
    "io-std",
    "process",
    "time",
    "sync",
    "signal",
]

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

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

[dependencies.whoami]
version = "1"
optional = true

[dependencies.xxhash-rust]
version = "0.8"
features = ["xxh3"]

[dependencies.zstd]
version = "0.13"

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

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.serial_test]
version = "3.0"

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

[target."cfg(unix)".dependencies.exacl]
version = "0.12"
optional = true

[target."cfg(unix)".dependencies.xattr]
version = "1.3"

[target."cfg(windows)".dependencies.windows-sys]
version = "0.52"
features = ["Win32_Storage_FileSystem"]

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