[package]
edition = "2024"
name = "httpageboy"
version = "1.0.19"
authors = ["fahedsl <fahedsl@yandex.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight library for handling raw HTTP request/response transmission. Good base for APIs. Supports both synchronous and asynchronous programming models."
homepage = "https://gitlab.com/numanope/libs/rs/http-server"
documentation = "https://docs.rs/httpageboy"
readme = "README.md"
keywords = [
"http",
"server",
"request",
"response",
]
categories = [
"network-programming",
"web-programming::http-server",
]
license = "MIT"
repository = "https://gitlab.com/numanope/libs/rs/http-server"
[features]
async_smol = [
"smol",
"futures-lite",
]
async_std = ["async-std"]
async_tokio = ["tokio"]
sync = []
[lib]
name = "httpageboy"
path = "src/lib.rs"
[[bin]]
name = "httpageboy"
path = "src/main.rs"
[[test]]
name = "test_async_smol"
path = "tests/test_async_smol.rs"
[[test]]
name = "test_async_std"
path = "tests/test_async_std.rs"
[[test]]
name = "test_async_tokio"
path = "tests/test_async_tokio.rs"
[[test]]
name = "test_sync"
path = "tests/test_sync.rs"
[dependencies.async-std]
version = "1"
features = ["attributes"]
optional = true
[dependencies.async-trait]
version = "0.1.89"
[dependencies.futures]
version = "0.3"
[dependencies.futures-lite]
version = "1.8"
optional = true
[dependencies.smol]
version = "1"
optional = true
[dependencies.tokio]
version = "1"
features = [
"rt",
"net",
"io-util",
"rt-multi-thread",
"macros",
"time",
]
optional = true
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1.0"