crux_http 0.17.0

HTTP capability for use with crux_core
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"
rust-version = "1.90"
name = "crux_http"
version = "0.17.0"
authors = ["Red Badger Consulting Limited"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP capability for use with crux_core"
readme = "README.md"
keywords = [
    "cross-platform-ui",
    "crux",
    "crux_core",
    "ffi",
    "wasm",
]
license = "Apache-2.0"
repository = "https://github.com/redbadger/crux/"

[features]
default = ["encoding"]
encoding = [
    "encoding_rs",
    "web-sys",
]
facet_typegen = ["crux_core/facet_typegen"]
http-compat = ["dep:http"]
typegen = ["crux_core/typegen"]

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.async-trait]
version = "0.1"

[dependencies.crux_core]
version = "0.18.0"

[dependencies.derive_builder]
version = "0.20"

[dependencies.encoding_rs]
version = "0.8"
optional = true

[dependencies.facet]
version = "=0.44"

[dependencies.facet-generate-attrs]
version = "0.17"

[dependencies.futures-util]
version = "0.3"

[dependencies.http]
version = "1.4"
optional = true

[dependencies.http-types]
version = "6.0"
default-features = false
package = "http-types-red-badger-temporary-fork"

[dependencies.pin-project-lite]
version = "0.2"

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

[dependencies.serde_bytes]
version = "0.11"

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_qs]
version = "1.1"

[dependencies.thiserror]
version = "2.0"

[dependencies.url]
version = "2.5"

[dev-dependencies.assert_fs]
version = "1.1.3"

[dev-dependencies.assert_matches]
version = "1.5"

[dev-dependencies.crux_core]
version = "0.18.0"
features = ["testing"]

[dev-dependencies.futures-test]
version = "0.3"

[dev-dependencies.insta]
version = "1.47.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3.98"
features = ["TextDecoder"]
optional = true