hyper 1.10.1

A protective and efficient HTTP library for all.
Documentation
# 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 = "2021"
rust-version = "1.63"
name = "hyper"
version = "1.10.1"
authors = ["Sean McArthur <sean@seanmonstar.com>"]
build = false
include = [
    "Cargo.toml",
    "LICENSE",
    "src/**/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A protective and efficient HTTP library for all."
homepage = "https://hyper.rs"
documentation = "https://docs.rs/hyper"
readme = "README.md"
keywords = [
    "http",
    "hyper",
    "hyperium",
]
categories = [
    "network-programming",
    "web-programming::http-client",
    "web-programming::http-server",
]
license = "MIT"
repository = "https://github.com/hyperium/hyper"

[package.metadata.docs.rs]
features = [
    "ffi",
    "full",
    "tracing",
]
rustdoc-args = [
    "--cfg",
    "hyper_unstable_ffi",
    "--cfg",
    "hyper_unstable_tracing",
]

[package.metadata.playground]
features = ["full"]

[package.metadata.capi.header]
generation = false
subdirectory = false

[[package.metadata.capi.install.include.asset]]
from = "capi/include/hyper.h"

[features]
capi = []
client = [
    "dep:want",
    "dep:pin-project-lite",
    "dep:smallvec",
]
default = []
ffi = [
    "dep:http-body-util",
    "dep:futures-util",
]
full = [
    "client",
    "http1",
    "http2",
    "server",
]
http1 = [
    "dep:atomic-waker",
    "dep:futures-channel",
    "dep:futures-core",
    "dep:httparse",
    "dep:itoa",
]
http2 = [
    "dep:futures-channel",
    "dep:futures-core",
    "dep:h2",
]
nightly = []
server = [
    "dep:httpdate",
    "dep:pin-project-lite",
    "dep:smallvec",
]
tracing = ["dep:tracing"]

[lib]
name = "hyper"
path = "src/lib.rs"

[dependencies.atomic-waker]
version = "1.1.2"
optional = true

[dependencies.bytes]
version = "1.2"

[dependencies.futures-channel]
version = "0.3"
optional = true

[dependencies.futures-core]
version = "0.3.31"
optional = true

[dependencies.futures-util]
version = "0.3"
features = ["alloc"]
optional = true
default-features = false

[dependencies.h2]
version = "0.4.14"
optional = true

[dependencies.http]
version = "1"

[dependencies.http-body]
version = "1"

[dependencies.http-body-util]
version = "0.1"
optional = true

[dependencies.httparse]
version = "1.9"
optional = true

[dependencies.httpdate]
version = "1.0"
optional = true

[dependencies.itoa]
version = "1"
optional = true

[dependencies.pin-project-lite]
version = "0.2.4"
optional = true

[dependencies.smallvec]
version = "1.12"
features = [
    "const_generics",
    "const_new",
]
optional = true

[dependencies.tokio]
version = "1"
features = ["sync"]

[dependencies.tracing]
version = "0.1"
features = ["std"]
optional = true
default-features = false

[dependencies.want]
version = "0.3"
optional = true

[dev-dependencies.form_urlencoded]
version = "1"

[dev-dependencies.futures-channel]
version = "0.3"
features = ["sink"]

[dev-dependencies.futures-util]
version = "0.3"
features = [
    "alloc",
    "sink",
]
default-features = false

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.pin-project-lite]
version = "0.2.4"

[dev-dependencies.pretty_env_logger]
version = "0.5"

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.spmc]
version = "0.3"

[dev-dependencies.tokio]
version = "1"
features = [
    "fs",
    "macros",
    "net",
    "io-std",
    "io-util",
    "rt",
    "rt-multi-thread",
    "sync",
    "time",
    "test-util",
]

[dev-dependencies.tokio-test]
version = "0.4"

[dev-dependencies.tokio-util]
version = "0.7.10"

[dev-dependencies.tracing]
version = "0.1"

[dev-dependencies.tracing-subscriber]
version = "0.3"

[lints.clippy]
absolute_paths = "allow"
arbitrary_source_item_ordering = "allow"
arithmetic_side_effects = "allow"
as_conversions = "allow"
blanket_clippy_restriction_lints = "allow"
borrow_as_ptr = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
checked_conversions = "allow"
clone_on_ref_ptr = "allow"
cognitive_complexity = "allow"
collapsible_match = "allow"
decimal_literal_representation = "allow"
default_numeric_fallback = "allow"
default_trait_access = "allow"
else_if_without_else = "allow"
empty_structs_with_brackets = "allow"
enum_glob_use = "allow"
error_impl_error = "allow"
expect_used = "allow"
explicit_iter_loop = "allow"
field_scoped_visibility_modifiers = "allow"
float_arithmetic = "allow"
if_not_else = "allow"
if_then_some_else_none = "allow"
ignored_unit_patterns = "allow"
impl_trait_in_params = "allow"
implicit_return = "allow"
indexing_slicing = "allow"
inline_modules = "allow"
inline_trait_bounds = "allow"
integer_division = "allow"
integer_division_remainder_used = "allow"
items_after_statements = "allow"
large_enum_variant = "allow"
let_underscore_must_use = "allow"
let_underscore_untyped = "allow"
let_unit_value = "allow"
manual_assert_eq = "allow"
map_err_ignore = "allow"
map_unwrap_or = "allow"
match_wild_err_arm = "allow"
min_ident_chars = "allow"
missing_assert_message = "allow"
missing_docs_in_private_items = "allow"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_inline_in_public_items = "allow"
missing_panics_doc = "allow"
missing_trait_methods = "allow"
mod_module_files = "allow"
module_inception = "allow"
module_name_repetitions = "allow"
multiple_inherent_impl = "allow"
multiple_unsafe_ops_per_block = "allow"
must_use_candidate = "allow"
needless_continue = "allow"
needless_pass_by_value = "allow"
new_without_default = "allow"
panic = "allow"
panic_in_result_fn = "allow"
pattern_type_mismatch = "allow"
ptr_as_ptr = "allow"
pub_use = "allow"
pub_with_shorthand = "allow"
question_mark = "allow"
question_mark_used = "allow"
redundant_closure_for_method_calls = "allow"
redundant_else = "allow"
ref_option = "allow"
ref_patterns = "allow"
renamed_function_params = "allow"
same_name_method = "allow"
self_named_module_files = "deny"
semicolon_if_nothing_returned = "allow"
semicolon_inside_block = "allow"
semicolon_outside_block = "allow"
shadow_reuse = "allow"
shadow_same = "allow"
shadow_unrelated = "allow"
single_call_fn = "allow"
single_char_lifetime_names = "allow"
single_match_else = "allow"
std_instead_of_alloc = "allow"
std_instead_of_core = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
type_complexity = "allow"
undocumented_unsafe_blocks = "allow"
uninlined_format_args = "allow"
unnecessary_safety_comment = "allow"
unnecessary_semicolon = "allow"
unnecessary_trailing_comma = "allow"
unnested_or_patterns = "allow"
unreachable = "allow"
unseparated_literal_suffix = "allow"
unused_async = "allow"
unused_trait_names = "allow"
unwrap_in_result = "allow"
used_underscore_items = "allow"
useless_borrows_in_formatting = "allow"
wildcard_enum_match_arm = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.clippy.restriction]
level = "warn"
priority = -2

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(hyper_unstable_tracing)",
    "cfg(hyper_unstable_ffi)",
]

[profile.bench]
codegen-units = 1
incremental = false

[profile.release]
codegen-units = 1
incremental = false