Archived
3
0

initial commit

This commit is contained in:
2025-03-04 11:22:53 +01:00
commit 5bb655b7de
32 changed files with 6229 additions and 0 deletions

24
lib/inferium/Cargo.toml Normal file
View File

@@ -0,0 +1,24 @@
[package]
name = "inferium"
version = "0.1.0"
edition = "2021"
description = "A small HTTP library"
authors = ["Ondřej Mekina <ondrej@mekina.cz>"]
keywords = ["http", "inferium", "zumepro"]
categories = ["network-programming", "web-programming:http-client", "web-programming:http-server"]
[dependencies]
proc = { path = "./proc/" }
tokio = { version = "1.43.0", features = ["full"], optional = true }
tokio-rustls = { version = "0.26.1", optional = true }
webpki-roots = { version = "0.26.8", optional = true }
[features]
full = ["async", "tokio-full"]
dev = ["full", "testing", "dep:webpki-roots"]
async = []
tokio-full = ["async", "tokio-net", "tokio-unixsocks", "tokio-tls"]
tokio-net = ["async", "dep:tokio"]
tokio-unixsocks = ["async", "dep:tokio"]
tokio-tls = ["dep:tokio-rustls", "tokio-net"]
testing = []