# 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 = "qft"
version = "0.7.44"
authors = [
    "github.com/pepa65",
    "Daniel H. github.com/tudbut",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Quick File Transfer, true peer-to-peer over UDP on CLI"
documentation = "https://docs.rs/qft"
readme = "README.md"
keywords = [
    "UDP",
    "file-transfer",
    "P2P",
]
categories = ["command-line-utilities"]
license = "GPL-3.0-or-later"
repository = "https://github.com/pepa65/qft"

[package.metadata.binstall]
pkg-url = "{repo}/releases/download/{version}/{name}"
pkg-fmt = "bin"
disabled-strategies = [
    "quick-install",
    "compile",
]
target-family = "Linux"
target-arch = "X86_64"

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

[dependencies.time]
version = "0.3.37"

[lints.clippy]
cast_possible_truncation = "warn"
cast_precision_loss = "allow"
cognitive_complexity = "allow"
enum_glob_use = "deny"
too_many_lines = "allow"
unnecessary_wraps = "allow"

[lints.clippy.nursery]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
unsafe_code = "forbid"

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