# 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 = "tardigrade"
version = "0.6.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Modern archive tool — tar for 2026"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/gnathoi/tardigrade"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/tdg-{ target }.tar.gz"
bin-dir = "tdg"
pkg-fmt = "tgz"

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

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

[dependencies.anyhow]
version = "1"

[dependencies.blake3]
version = "1"

[dependencies.byteorder]
version = "1"

[dependencies.chacha20poly1305]
version = "0.10.1"
features = ["std"]

[dependencies.chrono]
version = "0.4"

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

[dependencies.console]
version = "0.15"

[dependencies.crc32fast]
version = "1"

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

[dependencies.dashmap]
version = "6"

[dependencies.fastcdc]
version = "3"

[dependencies.filetime]
version = "0.2.27"

[dependencies.flate2]
version = "1"

[dependencies.hex]
version = "0.4.3"

[dependencies.humansize]
version = "2"

[dependencies.ignore]
version = "0.4"

[dependencies.indicatif]
version = "0.17"

[dependencies.lz4_flex]
version = "0.11"

[dependencies.memmap2]
version = "0.9"

[dependencies.rand]
version = "0.10.0"

[dependencies.rayon]
version = "1"

[dependencies.reed-solomon-erasure]
version = "6"

[dependencies.rmp-serde]
version = "1"

[dependencies.rpassword]
version = "7.4.0"

[dependencies.self-replace]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.tar]
version = "0.4"

[dependencies.tempfile]
version = "3.27.0"

[dependencies.thiserror]
version = "2"

[dependencies.ureq]
version = "3"

[dependencies.walkdir]
version = "2"

[dependencies.zstd]
version = "0.13"

[dev-dependencies]

[profile.release]
lto = true
codegen-units = 1
strip = true
