25 lines
815 B
TOML
25 lines
815 B
TOML
[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 = ["net"], 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 = []
|