# 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 = "2021"
name = "mftp"
version = "0.2.2"
build = false
exclude = [
    "tests/results/",
    "*.data",
    "*.data.old",
    ".claudeignore",
    "CLAUDE.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-throughput file transfer over high-latency internet links"
homepage = "https://github.com/OmarHermannsson/mftp"
documentation = "https://github.com/OmarHermannsson/mftp#readme"
readme = "README.md"
keywords = [
    "file-transfer",
    "quic",
    "network",
    "ssh",
    "transfer",
]
categories = [
    "command-line-utilities",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/OmarHermannsson/mftp"

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.async-channel]
version = "2"

[dependencies.base64]
version = "0.22"

[dependencies.bincode]
version = "1"

[dependencies.blake3]
version = "1"

[dependencies.bytes]
version = "1"

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

[dependencies.console]
version = "0.15"

[dependencies.dirs]
version = "5"

[dependencies.futures]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.12"

[dependencies.indicatif]
version = "0.17"

[dependencies.libc]
version = "0.2"

[dependencies.mimalloc]
version = "0.1"

[dependencies.openssl]
version = "0.10.77"
features = ["vendored"]

[dependencies.quinn]
version = "0.11"
features = [
    "rustls-ring",
    "runtime-tokio",
]
default-features = false

[dependencies.rcgen]
version = "0.13"

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

[dependencies.reqwest]
version = "0.12"
features = ["rustls-tls"]
default-features = false

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
    "logging",
    "tls12",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.sha1]
version = "0.10"

[dependencies.sha2]
version = "0.10"

[dependencies.socket2]
version = "0.5"
features = ["all"]

[dependencies.ssh2]
version = "0.9"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-rustls]
version = "0.26"
features = ["ring"]
default-features = false

[dependencies.tokio-util]
version = "0.7"
features = ["io"]

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

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

[dependencies.walkdir]
version = "2"

[dependencies.zstd]
version = "0.13"

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

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

[dev-dependencies.tokio-test]
version = "0.4"

[target."cfg(windows)".dependencies.openssl]
version = "0.10"
features = ["vendored"]

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