# 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 = "14.3.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 library providing essential types for HTTP operations. Includes core HTTP abstractions (request/response, methods, status codes, versions), content types, cookies, WebSocket support, and thread-safe concurrent types (ArcMutex, ArcRwLock). Also provides convenient Option-wrapped primitive types for flexible HTTP handling."
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.16"

[dependencies.http-constant]
version = "3.4.0"

[dependencies.lombok-macros]
version = "2.0.20"

[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.49.0"
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"
