[package] name = "trillium-client" version = "0.6.2" authors = ["Jacob Rothstein "] edition = "2021" description = "http/1.x client for trillium.rs" license = "MIT OR Apache-2.0" repository = "https://github.com/trillium-rs/trillium" readme = "../README.md" keywords = ["trillium", "framework", "async"] categories = ["web-programming", "web-programming::http-client"] [features] websockets = ["dep:trillium-websockets", "dep:thiserror"] json = ["dep:serde_json", "dep:serde", "dep:thiserror"] [dependencies] encoding_rs = "0.8.33" futures-lite = "2.1.0" httparse = "1.8.0" log = "0.4.20" size = "0.4.1" trillium-server-common = { version = "0.5.2", path = "../server-common" } trillium-websockets = { version = "0.6.6", path = "../websockets", optional = true } mime = "0.3.17" serde_json = { version = "1.0.108", optional = true } serde = { version = "1.0.193", optional = true } thiserror = { version = "1.0.52", optional = true } dashmap = "5.5.3" crossbeam-queue = "0.3.10" memchr = "2.7.1" [dependencies.trillium-http] path = "../http" features = ["unstable"] version = "0.3.17" [dev-dependencies] async-channel = "2.1.1" async-global-executor = "2.4.1" env_logger = "0.11.0" indoc = "2.0.4" pretty_assertions = "1.4.0" test-harness = "0.2.0" trillium = { path = "../trillium" } trillium-client = { path = ".", features = ["websockets"] } trillium-smol = { path = "../smol/" } trillium-testing = { path = "../testing" } [package.metadata.cargo-udeps.ignore] development = ["trillium"]