torrust-actix 4.1.2

A rich, fast and efficient Bittorrent Tracker.
# 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 = "torrust-actix"
version = "4.1.2"
authors = [
    "Jasper Lingers <info@power2all.com>",
    "Mick van Dijke <mick@dutchbits.nl>",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A rich, fast and efficient Bittorrent Tracker."
documentation = "https://docs.rs/torrust-actix"
readme = "README.md"
keywords = [
    "bittorrent",
    "tracker",
    "torrent",
    "actix",
    "async",
]
categories = [
    "network-programming",
    "web-programming",
]
license = "AGPL-3.0"
repository = "https://github.com/Power2All/torrust-actix"

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

[[bin]]
name = "torrust-actix"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

[dependencies.actix]
version = "^0.13"

[dependencies.actix-cors]
version = "^0.7"

[dependencies.actix-web]
version = "^4"
features = ["rustls-0_23"]

[dependencies.actix-web-actors]
version = "^4"

[dependencies.ahash]
version = "^0.8"

[dependencies.async-std]
version = "^1"

[dependencies.async-trait]
version = "^0.1"

[dependencies.binascii]
version = "^0.1"

[dependencies.bip_bencode]
version = "^0.4"

[dependencies.byteorder]
version = "^1.5"

[dependencies.chrono]
version = "^0.4"

[dependencies.clap]
version = "^4.5"
features = ["derive"]

[dependencies.crossbeam]
version = "^0.8"

[dependencies.fern]
version = "^0.7"
features = ["colored"]

[dependencies.futures-util]
version = "^0.3"

[dependencies.hex]
version = "^0.4"

[dependencies.lazy_static]
version = "^1.5"

[dependencies.log]
version = "^0.4"

[dependencies.memcache]
version = "^0.19"
default-features = false

[dependencies.once_cell]
version = "^1.21"

[dependencies.parking_lot]
version = "^0.12"
features = [
    "arc_lock",
    "hardware-lock-elision",
    "serde",
    "deadlock_detection",
]

[dependencies.percent-encoding]
version = "^2.3"

[dependencies.rcgen]
version = "^0.14"

[dependencies.redis]
version = "^1.0"
features = [
    "tokio-comp",
    "connection-manager",
]

[dependencies.regex]
version = "^1.11"

[dependencies.rmp-serde]
version = "^1.3"

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

[dependencies.rustls-pemfile]
version = "^2.2"

[dependencies.sentry]
version = "^0.46"
features = [
    "rustls",
    "backtrace",
    "contexts",
    "panic",
    "transport",
    "debug-images",
    "reqwest",
]
default-features = false

[dependencies.sentry-actix]
version = "^0.46"

[dependencies.serde]
version = "^1.0"
features = ["derive"]

[dependencies.serde_json]
version = "^1.0"
features = ["preserve_order"]

[dependencies.serde_millis]
version = "^0.1"

[dependencies.sha1]
version = "^0.10"

[dependencies.smallvec]
version = "^1.13"
features = [
    "union",
    "const_generics",
]

[dependencies.socket2]
version = "^0.6"

[dependencies.sqlx]
version = "^0.8"
features = [
    "mysql",
    "postgres",
    "sqlite",
    "runtime-tokio-rustls",
]

[dependencies.thiserror]
version = "^2.0"

[dependencies.tokio]
version = "^1.49"
features = ["full"]

[dependencies.tokio-shutdown]
version = "^0.1"

[dependencies.tokio-tungstenite]
version = "^0.28"
features = ["rustls-tls-webpki-roots"]

[dependencies.toml]
version = "^0.9"

[dependencies.tracing]
version = "^0.1"

[dependencies.utoipa-swagger-ui]
version = "^9"
features = ["actix-web"]

[dependencies.uuid]
version = "^1.16"
features = ["v4"]

[dev-dependencies.criterion]
version = "^0.8"
features = ["async_tokio"]

[dev-dependencies.mockall]
version = "^0.14"

[dev-dependencies.proptest]
version = "^1.9"

[dev-dependencies.rand]
version = "^0.9"

[dev-dependencies.tempfile]
version = "^3.14"

[target."cfg(windows)".build-dependencies.winres]
version = "^0.1"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
debug-assertions = false
rpath = false
panic = "abort"
overflow-checks = false
incremental = false
strip = "debuginfo"

[profile.release.package."*"]
opt-level = 3