# 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 = "mtorrent-cli"
version = "0.5.2"
authors = ["Mikhail Vasilyev <mikail.vasilyev@gmail.com>"]
build = false
exclude = [
    "/tests/",
    "/src/bin/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "mtorrent-cli"
description = "Fast and lightweight CLI BitTorrent client in Rust"
readme = "README.md"
keywords = [
    "bittorrent",
    "torrent",
    "client",
    "p2p",
    "protocol",
]
categories = [
    "asynchronous",
    "network-programming",
    "command-line-utilities",
    "security",
]
license = "Apache-2.0"
repository = "https://github.com/DanglingPointer/mtorrent"

[[bin]]
name = "mtorrent-cli"
path = "src/main.rs"

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

[dependencies.dirs-next]
version = "2.0.0"

[dependencies.local_async_utils]
version = "0.2.13"
features = ["tokio"]

[dependencies.log]
version = "0.4"

[dependencies.mtorrent]
version = "0.5.2"

[dependencies.mtorrent-core]
version = "0.5.2"

[dependencies.mtorrent-dht]
version = "0.5.2"

[dependencies.mtorrent-utils]
version = "0.5.2"

[dependencies.simple_logger]
version = "5"
features = ["threads"]

[dependencies.tokio]
version = "1.51"
features = [
    "rt",
    "net",
    "time",
    "io-util",
    "sync",
    "macros",
]

[dev-dependencies.futures-util]
version = "0.3"
default-features = false

[dev-dependencies.mockito]
version = "1.7"
default-features = false

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(coverage)"]
