trillium-client 0.9.13

http client for trillium.rs
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 = "2024"
name = "trillium-client"
version = "0.9.13"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "http client for trillium.rs"
readme = "README.md"
keywords = [
    "trillium",
    "framework",
    "async",
]
categories = [
    "web-programming",
    "web-programming::http-client",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/trillium-rs/trillium"
resolver = "2"

[package.metadata.cargo-udeps.ignore]
development = ["trillium"]

[package.metadata.docs.rs]
features = [
    "sonic-rs",
    "websockets",
    "hickory",
    "sse",
]

[features]
hickory = [
    "dep:hickory-proto",
    "dep:async-channel",
]
parse = []
serde_json = [
    "dep:serde_json",
    "dep:serde",
    "dep:thiserror",
]
sonic-rs = [
    "dep:sonic-rs",
    "dep:serde",
    "dep:thiserror",
]
sse = ["dep:thiserror"]
websockets = [
    "dep:trillium-websockets",
    "dep:thiserror",
]
webtransport = [
    "dep:trillium-webtransport",
    "dep:thiserror",
]

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

[[example]]
name = "client"
path = "examples/client.rs"

[[example]]
name = "doh"
path = "examples/doh.rs"
required-features = ["hickory"]

[[example]]
name = "h3_client"
path = "examples/h3_client.rs"

[[test]]
name = "base"
path = "tests/base.rs"

[[test]]
name = "client_handler"
path = "tests/client_handler.rs"

[[test]]
name = "corpus_h1"
path = "tests/corpus_h1.rs"

[[test]]
name = "default_headers"
path = "tests/default_headers.rs"

[[test]]
name = "doh"
path = "tests/doh.rs"

[[test]]
name = "early_hints"
path = "tests/early_hints.rs"

[[test]]
name = "h2_alpn"
path = "tests/h2_alpn.rs"

[[test]]
name = "h2_extended_connect_gate"
path = "tests/h2_extended_connect_gate.rs"

[[test]]
name = "h2_websocket"
path = "tests/h2_websocket.rs"

[[test]]
name = "h2c_prior_knowledge"
path = "tests/h2c_prior_knowledge.rs"

[[test]]
name = "h3_hinted_downgrade"
path = "tests/h3_hinted_downgrade.rs"

[[test]]
name = "h3_trailers"
path = "tests/h3_trailers.rs"

[[test]]
name = "h3_websocket"
path = "tests/h3_websocket.rs"

[[test]]
name = "http1_0"
path = "tests/http1_0.rs"

[[test]]
name = "into_url"
path = "tests/into_url.rs"

[[test]]
name = "one_hundred_continue"
path = "tests/one_hundred_continue.rs"

[[test]]
name = "response_body_lifecycle"
path = "tests/response_body_lifecycle.rs"

[[test]]
name = "sse"
path = "tests/sse.rs"

[[test]]
name = "synthesis"
path = "tests/synthesis.rs"

[[test]]
name = "timeout"
path = "tests/timeout.rs"

[[test]]
name = "unsafe_headers"
path = "tests/unsafe_headers.rs"

[[test]]
name = "websocket"
path = "tests/websocket.rs"

[dependencies.async-channel]
version = "2.5.0"
optional = true

[dependencies.async-lock]
version = "3.4.2"

[dependencies.crossbeam-queue]
version = "0.3.12"

[dependencies.dashmap]
version = "6.1.0"

[dependencies.encoding_rs]
version = "0.8.35"

[dependencies.fieldwork]
version = "0.5.0"

[dependencies.futures-lite]
version = "2.6.1"

[dependencies.hickory-proto]
version = "0.26"
optional = true
default-features = false

[dependencies.log]
version = "0.4.29"

[dependencies.memchr]
version = "2.8.0"

[dependencies.mime]
version = "0.3.17"

[dependencies.serde]
version = "1.0.228"
optional = true

[dependencies.serde_json]
version = "1.0.149"
optional = true

[dependencies.smallvec]
version = "1.15.1"
features = ["const_new"]

[dependencies.sonic-rs]
version = "0.5.8"
optional = true

[dependencies.thiserror]
version = "2.0.18"
optional = true

[dependencies.trillium-http]
version = "1.5.2"
features = ["unstable"]

[dependencies.trillium-macros]
version = "0.1"

[dependencies.trillium-server-common]
version = "0.7.5"

[dependencies.trillium-websockets]
version = "0.8"
optional = true

[dependencies.trillium-webtransport]
version = "0.2"
optional = true

[dev-dependencies.async-channel]
version = "2.5.0"

[dev-dependencies.async-global-executor]
version = "3.1.0"

[dev-dependencies.async-io]
version = "2.4"

[dev-dependencies.async-net]
version = "2.0"

[dev-dependencies.env_logger]
version = "0.11.10"

[dev-dependencies.indoc]
version = "2.0.7"

[dev-dependencies.pretty_assertions]
version = "1.4.1"

[dev-dependencies.rcgen]
version = "0.14.7"

[dev-dependencies.test-harness]
version = "0.3.1"