athene 2.0.4

A simple and lightweight rust web framework based on hyper
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"
name = "athene"
version = "2.0.4"
description = "A simple and lightweight rust web framework based on hyper"
documentation = "https://docs.rs/athene"
readme = "README.md"
keywords = [
    "hyper",
    "web",
    "framework",
    "http",
    "async",
]
categories = [
    "web-programming::http-server",
    "web-programming::websocket",
    "network-programming",
    "asynchronous",
]
license = "Apache-2.0"
repository = "https://gitea.com/rustacean/athene"
resolver = "1"

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

[dependencies.athene_macro]
version = "0.2.3"
optional = true

[dependencies.ciborium]
version = "0.2.1"
optional = true

[dependencies.cookie]
version = "0.17.0 "
optional = true

[dependencies.enumflags2]
version = "0.7.7"

[dependencies.futures]
version = "0.3.28"

[dependencies.headers]
version = "0.3.8"

[dependencies.http-body-util]
version = "0.1.0-rc.2"

[dependencies.hyper]
version = "1.0.0-rc.4"
features = ["server"]

[dependencies.mime]
version = "0.3.17"

[dependencies.mime_guess]
version = "2.0.4"

[dependencies.multer]
version = "2.1.0"
optional = true

[dependencies.multimap]
version = "0.9.0"
optional = true

[dependencies.percent-encoding]
version = "2.2.0"
optional = true

[dependencies.pin-project-lite]
version = "0.2.4"

[dependencies.regex]
version = "1.8.1"

[dependencies.rmp-serde]
version = "1.1.1"
optional = true

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

[dependencies.serde_json]
version = "1.0.104"

[dependencies.serde_urlencoded]
version = "0.7.1"

[dependencies.tempfile]
version = "3.5.0"
optional = true

[dependencies.thiserror]
version = "1.0.40"

[dependencies.time]
version = "0.3"
features = [
    "serde",
    "macros",
    "formatting",
]
optional = true

[dependencies.tokio]
version = "1.30.0"
features = [
    "parking_lot",
    "io-util",
    "fs",
    "net",
    "rt-multi-thread",
]

[dependencies.tokio-tungstenite]
version = "0.20.0 "
optional = true

[dependencies.validator]
version = "0.16.0"
features = ["derive"]
optional = true

[dev-dependencies.jsonwebtoken]
version = "8"

[dev-dependencies.once_cell]
version = "1.17"

[dev-dependencies.tera]
version = "1.18"

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

[dev-dependencies.tracing]
version = "0.1.37"

[dev-dependencies.tracing-subscriber]
version = "0.3.16"
features = ["env-filter"]

[dev-dependencies.utoipa]
version = "3.4.4"

[dev-dependencies.utoipa-swagger-ui]
version = "3.1.5"

[features]
cbor = ["ciborium"]
cookie = ["dep:cookie"]
default = [
    "macro",
    "http1",
]
download = ["percent-encoding"]
full = [
    "validate",
    "multipart",
    "download",
    "static_file",
    "websocket",
    "macro",
    "http1",
    "cookie",
]
http1 = ["hyper/http1"]
http2 = ["hyper/http2"]
macro = ["athene_macro"]
msgpack = ["rmp-serde"]
multipart = [
    "multimap",
    "multer",
    "tempfile",
]
static_file = [
    "time",
    "percent-encoding",
]
validate = [
    "validator",
    "athene_macro/validate",
]
websocket = ["tokio-tungstenite"]