[package]
edition = "2024"
rust-version = "1.95"
name = "moirai-http"
version = "0.7.0"
authors = ["Moirai Team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Minimal async HTTP/1.1 client and bounded server over Moirai sockets, no Tokio"
homepage = "https://github.com/ryancinsight/Moirai"
documentation = "https://docs.rs/moirai-http"
readme = "README.md"
keywords = [
"http",
"client",
"async",
"moirai",
"network",
]
categories = [
"network-programming",
"web-programming::http-client",
"web-programming::http-server",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ryancinsight/Moirai"
[features]
default = [
"parallel",
"mnemosyne-memory",
]
mnemosyne-memory = []
parallel = []
[lib]
name = "moirai_http"
path = "src/lib.rs"
[[test]]
name = "http_client"
path = "tests/http_client.rs"
[[test]]
name = "http_server"
path = "tests/http_server.rs"
[dependencies.http]
version = "1"
[dependencies.httparse]
version = "1"
[dependencies.moirai-async]
version = "0.7.0"
[dependencies.moirai-crypto]
version = "0.7.0"
[dependencies.moirai-tls]
version = "0.7.0"
[dev-dependencies]
[lints.clippy]
assigning_clones = "allow"
bool_to_int_with_if = "allow"
borrow_as_ptr = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
cloned_instead_of_copied = "allow"
comparison_chain = "allow"
doc_markdown = "allow"
duration_suboptimal_units = "allow"
elidable_lifetime_names = "allow"
explicit_iter_loop = "allow"
float_cmp = "allow"
fn_params_excessive_bools = "allow"
if_not_else = "allow"
ignore_without_reason = "allow"
ignored_unit_patterns = "allow"
inline_always = "allow"
items_after_statements = "allow"
large_stack_arrays = "allow"
linkedlist = "allow"
manual_assert = "allow"
manual_let_else = "allow"
manual_midpoint = "allow"
manual_string_new = "allow"
many_single_char_names = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
needless_continue = "allow"
needless_for_each = "allow"
needless_pass_by_value = "allow"
needless_raw_string_hashes = "allow"
no_effect_underscore_binding = "allow"
option_option = "allow"
ptr_as_ptr = "allow"
ptr_cast_constness = "allow"
range_plus_one = "allow"
redundant_closure_for_method_calls = "allow"
ref_as_ptr = "allow"
return_self_not_must_use = "allow"
semicolon_if_nothing_returned = "allow"
similar_names = "allow"
single_char_pattern = "allow"
single_match_else = "allow"
stable_sort_primitive = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
uninlined_format_args = "allow"
unnecessary_wraps = "allow"
unreadable_literal = "allow"
unused_async = "allow"
unused_self = "allow"
unwrap_used = "deny"
used_underscore_binding = "allow"
wildcard_imports = "allow"
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(loom)",
"cfg(fuzzing)",
]