tork-core 0.1.0

Core runtime for the Tork web framework: HTTP server, routing, dependency injection, responses, and errors, built on Hyper and Tokio.
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 = "2021"
rust-version = "1.96"
name = "tork-core"
version = "0.1.0"
authors = ["muzakon <hasanmuzak@hotmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core runtime for the Tork web framework: HTTP server, routing, dependency injection, responses, and errors, built on Hyper and Tokio."
readme = false
license = "MIT"
repository = "https://github.com/tork-rs/tork"

[features]
otel = [
    "dep:opentelemetry",
    "dep:opentelemetry_sdk",
    "dep:opentelemetry-otlp",
    "dep:tracing-opentelemetry",
]
redis = ["dep:redis"]
tls = [
    "dep:rustls",
    "dep:tokio-rustls",
    "dep:rustls-pemfile",
]

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

[dependencies.bytes]
version = "1"

[dependencies.dotenvy]
version = "0.15"

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

[dependencies.flate2]
version = "1"

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

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

[dependencies.garde]
version = "0.23"
features = [
    "derive",
    "email",
]

[dependencies.http]
version = "1"

[dependencies.http-body]
version = "1"

[dependencies.http-body-util]
version = "0.1.3"

[dependencies.hyper]
version = "1.10"
features = [
    "server",
    "client",
    "http1",
    "http2",
]

[dependencies.hyper-util]
version = "0.1.20"
features = [
    "client",
    "client-legacy",
    "server",
    "server-auto",
    "server-graceful",
    "tokio",
    "http1",
    "http2",
]

[dependencies.infer]
version = "0.19"

[dependencies.ipnet]
version = "2.11"

[dependencies.matchit]
version = "0.9"

[dependencies.mime]
version = "0.3.17"

[dependencies.moka]
version = "0.12"
features = ["future"]

[dependencies.multer]
version = "3.1"

[dependencies.opentelemetry]
version = "0.31"
optional = true

[dependencies.opentelemetry-otlp]
version = "0.31"
features = ["grpc-tonic"]
optional = true

[dependencies.opentelemetry_sdk]
version = "0.31"
features = ["rt-tokio"]
optional = true

[dependencies.redis]
version = "1.2"
features = [
    "tokio-comp",
    "connection-manager",
]
optional = true

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
    "tls12",
    "logging",
]
optional = true
default-features = false

[dependencies.rustls-pemfile]
version = "2"
optional = true

[dependencies.schemars]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_urlencoded]
version = "0.7"

[dependencies.socket2]
version = "0.6"
features = ["all"]

[dependencies.tempfile]
version = "3.27"

[dependencies.time]
version = "0.3"
features = ["formatting"]

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

[dependencies.tokio-rustls]
version = "0.26"
features = [
    "ring",
    "tls12",
    "logging",
]
optional = true
default-features = false

[dependencies.tokio-tungstenite]
version = "0.24"
features = ["handshake"]
default-features = false

[dependencies.tracing]
version = "0.1"

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

[dependencies.tracing-opentelemetry]
version = "0.32"
optional = true

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
    "json",
    "registry",
    "ansi",
]

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

[dev-dependencies.rcgen]
version = "0.13"