# 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.1.48"
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 = "transfer"
path = "tests/transfer.rs"

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.22"

[dependencies.bincode]
version = "1"

[dependencies.blake3]
version = "1"

[dependencies.bytes]
version = "1"

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

[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.quinn]
version = "0.11"
features = [
    "rustls-ring",
    "runtime-tokio",
]
default-features = false

[dependencies.rcgen]
version = "0.13"

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

[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.thiserror]
version = "1"

[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.tracing]
version = "0.1"

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

[dependencies.zstd]
version = "0.13"

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

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

[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
