# 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 = "superseedr"
version = "1.0.2"
authors = ["Jaga Tranvo <jagatranvo@prudential.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A BitTorrent Client in your Terminal."
readme = "README.md"
license = "GPL-3.0-or-later"
repository = "https://github.com/Jagalite/superseedr"

[package.metadata.bundle]
name = "superseedr"
identifier = "com.github.jagalite.superseedr"
icon = ["assets/app_icon.icns"]
version = "1.0.2"
copyright = "Copyright © 2025 Jaga Tranvo. All rights reserved."
category = "public.app-category.utilities"
short_description = "A BitTorrent Client in your Terminal."
long_description = "A BitTorrent Client in your Terminal, written in Rust using Ratatui."
linux_use_terminal = true
linux_mime_types = [
    "application/x-bittorrent",
    "x-scheme-handler/magnet",
]
linux_exec_args = "%U"

[package.metadata.wix]
eula = false
linker-args = [
    "-ext",
    "WixFirewallExtension",
]
compiler-args = [
    "-ext",
    "WixFirewallExtension",
]

[features]
console = ["dep:console-subscriber"]
default = [
    "dht",
    "pex",
]
dht = ["dep:mainline"]
pex = []

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

[dependencies.chrono]
version = "0.4.43"

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

[dependencies.console-subscriber]
version = "0.5.0"
optional = true

[dependencies.crossterm]
version = "0.29.0"

[dependencies.data-encoding]
version = "2.10.0"

[dependencies.directories]
version = "6.0"

[dependencies.feed-rs]
version = "2.3.1"

[dependencies.figment]
version = "0.10"
features = [
    "toml",
    "env",
]

[dependencies.fs2]
version = "0.4.3"

[dependencies.fuzzy-matcher]
version = "0.3.7"

[dependencies.hex]
version = "0.4"

[dependencies.magnet-url]
version = "3.0.0"

[dependencies.mainline]
version = "6.0.1"
optional = true

[dependencies.notify]
version = "8.2.0"
features = ["serde"]

[dependencies.rand]
version = "0.9.2"

[dependencies.ratatui]
version = "0.29.0"

[dependencies.regex]
version = "1.12.2"

[dependencies.reqwest]
version = "0.12.24"
features = ["json"]

[dependencies.rlimit]
version = "0.10"

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

[dependencies.serde_bencode]
version = "0.2"

[dependencies.serde_bytes]
version = "0.11.19"

[dependencies.serde_json]
version = "1.0.149"

[dependencies.sha1]
version = "0.10.6"

[dependencies.sha2]
version = "0.10.9"

[dependencies.strum]
version = "0.27.2"

[dependencies.strum_macros]
version = "0.27.2"

[dependencies.sysinfo]
version = "0.37.2"

[dependencies.thiserror]
version = "2.0.18"

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

[dependencies.tokio-stream]
version = "0.1.18"
features = ["sync"]

[dependencies.toml]
version = "0.9.11"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-appender]
version = "0.2"

[dependencies.tracing-subscriber]
version = "0.3"

[dependencies.urlencoding]
version = "2.1.3"

[dev-dependencies.proptest]
version = "1.4"

[dev-dependencies.proptest-state-machine]
version = "0.6"

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

[target."cfg(windows)".dependencies.clipboard]
version = "0.5.0"

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