puniyu_server 0.8.0

puniyu HTTP 服务器库,提供基于 Actix-Web 的 Web 服务功能
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.0"
name = "puniyu_server"
version = "0.8.0"
authors = ["wuliya <3369906077@qq.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "puniyu HTTP 服务器库,提供基于 Actix-Web 的 Web 服务功能"
homepage = "https://github.com/puniyu/puniyu"
readme = "README.md"
license = "LGPL-3.0-only"
repository = "https://github.com/puniyu/puniyu"
resolver = "2"

[features]
cli = [
    "dep:clap",
    "dep:const-str",
]
default = ["cli"]
registry = ["puniyu_error/registry"]

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

[[bin]]
name = "puniyu-server"
path = "src/main.rs"

[dependencies.actix-web]
version = "4.11.0"

[dependencies.bytes]
version = "1.11.0"
features = ["serde"]

[dependencies.clap]
version = "4.5"
features = [
    "std",
    "derive",
    "help",
]
optional = true
default-features = false

[dependencies.const-str]
version = "1.1.0"
optional = true

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

[dependencies.infer]
version = "0.19.0"

[dependencies.log]
version = "0.4.28"

[dependencies.mime]
version = "0.3.17"

[dependencies.puniyu_common]
version = "0.8.0"
default-features = false

[dependencies.puniyu_error]
version = "0.8.0"
default-features = false

[dependencies.puniyu_logger]
version = "0.7.2"

[dependencies.puniyu_path]
version = "0.8.0"

[dependencies.puniyu_runtime]
version = "0.8.0"

[dependencies.puniyu_version]
version = "0.8.0"

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

[dependencies.serde_json]
version = "1.0"

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

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

[lints.clippy]
unwrap_used = "deny"