# 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"
name = "http-type"
version = "18.4.0"
authors = ["root@ltpp.vip"]
build = false
exclude = [
"target",
"Cargo.lock",
"sh",
".github",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A comprehensive Rust type library for HTTP operations and concurrent programming. Provides core HTTP types (Request/Response with builder patterns, Method, HttpStatus, HttpVersion, ContentType, FileExtension with MIME mapping, Cookie parsing/building, HttpUrl parsing, WebSocket frame/opcode, protocol upgrade types, stream/task management, panic handling), thread-safe concurrent wrappers (ArcMutex, ArcRwLock, BoxRwLock, RcRwLock), dynamic dispatch types (BoxAny, RcAny, ArcAny with Send/Sync variants), high-performance hash collections (HashMapXxHash3_64, HashSetXxHash3_64), and static lifetime utilities (BoxLeak, Lifetime trait)."
readme = "README.md"
keywords = [
"http",
"request",
"response",
"tcp",
"redirect",
]
categories = [
"network-programming",
"web-programming",
]
license = "MIT"
repository = "https://github.com/crates-dev/http-type.git"
[lib]
name = "http_type"
path = "src/lib.rs"
[dependencies.hex]
version = "0.4.3"
[dependencies.http-compress]
version = "3.0.18"
[dependencies.http-constant]
version = "5.5.0"
[dependencies.lombok-macros]
version = "2.0.27"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde-xml-rs]
version = "0.8.2"
[dependencies.serde_json]
version = "1.0.149"
[dependencies.serde_urlencoded]
version = "0.7.1"
[dependencies.tokio]
version = "1.52.3"
features = ["full"]
[dependencies.url]
version = "2.5.8"
[profile.dev]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
panic = "unwind"
incremental = false
strip = "debuginfo"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
panic = "unwind"
incremental = false
strip = "debuginfo"