torrust-server-lib 0.1.0

Common functionality used in all Torrust HTTP servers.
Documentation
# 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"
name = "torrust-server-lib"
version = "0.1.0"
authors = ["Nautilus Cyberneering <info@nautilus-cyberneering.de>, Mick van Dijke <mick@dutchbits.nl>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Common functionality used in all Torrust HTTP servers."
homepage = "https://torrust.com/"
documentation = "https://docs.rs/torrust-server-lib"
readme = "README.md"
keywords = [
    "lib",
    "server",
    "torrust",
]
categories = [
    "network-programming",
    "web-programming",
]
license = "AGPL-3.0-only"
repository = "https://github.com/torrust/torrust-server-lib"

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

[dependencies.derive_more]
version = "2"
features = [
    "as_ref",
    "constructor",
    "display",
    "from",
]

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "net",
    "rt-multi-thread",
    "signal",
    "sync",
]

[dependencies.torrust-net-primitives]
version = "0.1.0"

[dependencies.tower-http]
version = "0"
features = [
    "compression-full",
    "cors",
    "propagate-header",
    "request-id",
    "trace",
]

[dependencies.tracing]
version = "0"