torrust-actix 4.2.15

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"
rust-version = "1.88.0"
name = "torrust-actix"
version = "4.2.15"
authors = ["Power2All <info@power2all.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A rich, fast and efficient Bittorrent Tracker."
homepage = "https://www.torrust-actix.com"
documentation = "https://docs.rs/torrust-actix"
readme = "README.md"
keywords = [
    "bittorrent",
    "tracker",
    "actix",
    "rtctorrent",
    "webrtc",
]
categories = [
    "network-programming",
    "web-programming::http-server",
]
license = "MIT"
repository = "https://github.com/Power2All/torrust-actix"

[package.metadata.bundle]
name = "Torrust Actix"
identifier = "com.power2all.torrust-actix"
icon = ["icon.ico"]
version = "4.2.15"
copyright = "Copyright (c) 2024-2026 Power2All"
category = "Public Utility"
short_description = "BitTorrent Tracker"
long_description = "A rich, fast and efficient Bittorrent Tracker."

[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.5"

[dependencies.actix-cors]
version = "0.7.1"

[dependencies.actix-web]
version = "4.14.0"
features = [
    "rustls-0_23",
    "compress-gzip",
]

[dependencies.actix-web-actors]
version = "4.3.1"

[dependencies.ahash]
version = "0.8.12"

[dependencies.async-trait]
version = "0.1.89"

[dependencies.base64]
version = "0.22.1"

[dependencies.binascii]
version = "0.1.4"

[dependencies.bip_bencode]
version = "0.4.4"

[dependencies.byteorder]
version = "1.5.0"

[dependencies.chrono]
version = "0.4.44"

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

[dependencies.crossbeam]
version = "0.8.4"

[dependencies.fern]
version = "0.7.1"
features = ["colored"]

[dependencies.futures-util]
version = "0.3.32"

[dependencies.hex]
version = "0.4.3"

[dependencies.lazy_static]
version = "1.5.0"

[dependencies.log]
version = "0.4.33"

[dependencies.lz4_flex]
version = "0.13.0"
default-features = false

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

[dependencies.once_cell]
version = "1.21.4"

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

[dependencies.percent-encoding]
version = "2.3.2"

[dependencies.rand]
version = "0.10.2"

[dependencies.rcgen]
version = "0.14.7"

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

[dependencies.regex]
version = "1.12.4"

[dependencies.rmp-serde]
version = "1.3.1"

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

[dependencies.rustls-pemfile]
version = "2.2.0"

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

[dependencies.sentry-actix]
version = "0.48.3"

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

[dependencies.serde_json]
version = "1.0.149"
features = ["preserve_order"]

[dependencies.serde_millis]
version = "0.1.1"

[dependencies.sha1]
version = "0.11.0"

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

[dependencies.socket2]
version = "0.6.4"

[dependencies.sqlx]
version = "0.9.0"
features = [
    "mysql",
    "mysql-rsa",
    "postgres",
    "sqlite",
    "runtime-tokio",
    "tls-rustls-ring-webpki",
]

[dependencies.thiserror]
version = "2.0.18"

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

[dependencies.tokio-shutdown]
version = "0.1.5"

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

[dependencies.toml]
version = "1.1.2"

[dependencies.tracing]
version = "0.1.44"

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

[dependencies.uuid]
version = "1.23.4"
features = ["v4"]

[dependencies.zstd]
version = "0.13.3"
default-features = false

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

[dev-dependencies.mockall]
version = "0.15.0"

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

[dev-dependencies.reqwest]
version = "0.13.4"
features = [
    "rustls",
    "json",
]
default-features = false

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

[target.'cfg(target_os = "linux")'.dependencies.io-uring]
version = "0.7"

[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2"

[target."cfg(windows)".dependencies.windows-sys]
version = "0.61.2"
features = [
    "Win32_Foundation",
    "Win32_Networking_WinSock",
    "Win32_Security",
    "Win32_System_IO",
    "Win32_System_Threading",
]

[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