[[bin]]
name = "copia"
path = "src/bin/copia.rs"
required-features = ["cli"]
[dependencies.bincode]
version = "1.3"
[dependencies.blake3]
version = "1.5"
[dependencies.bytes]
version = "1.9"
[dependencies.clap]
features = ["derive"]
optional = true
version = "4.5"
[dependencies.rayon]
version = "1.10"
[dependencies.rustc-hash]
version = "2.1"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
features = ["rt", "io-util", "fs", "sync"]
optional = true
version = "1.43"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"
[dev-dependencies.proptest]
version = "1.6"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.tempfile]
version = "3.14"
[dev-dependencies.tokio]
features = ["rt-multi-thread", "macros", "io-util", "fs"]
version = "1.43"
[features]
async = ["tokio"]
cli = ["clap", "async", "tokio/rt-multi-thread", "tokio/macros", "tokio/process"]
default = []
[lib]
name = "copia"
path = "src/lib.rs"
[lints.clippy]
cast_possible_truncation = "warn"
cast_precision_loss = "warn"
cast_sign_loss = "warn"
cognitive_complexity = "warn"
expect_used = "deny"
missing_const_for_fn = "allow"
panic = "deny"
todo = "deny"
unimplemented = "deny"
unreachable = "warn"
unwrap_used = "deny"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
unsafe_code = "deny"
[package]
authors = ["Pragmatic AI Labs <info@paiml.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["filesystem", "compression", "algorithms"]
description = "Pure Rust rsync-style delta synchronization library"
documentation = "https://docs.rs/copia"
edition = "2021"
exclude = ["benches/*", "tests/*", "docs/*", ".github/*", "mutants.out/*", "mutants.out.old/*", "proptest-regressions/*", "Makefile"]
homepage = "https://github.com/paiml/copia"
keywords = ["rsync", "sync", "delta", "file-transfer", "backup"]
license = "MIT"
name = "copia"
readme = "README.md"
repository = "https://github.com/paiml/copia"
rust-version = "1.75"
version = "0.1.2"
[profile.dev]
panic = "abort"
[profile.release]
codegen-units = 1
lto = true
panic = "abort"