host-chain-core 0.3.12

WASM-compatible DotNS resolution, IPFS fetching, and CAR parsing (async, reqwest + ruzstd)
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"
name = "host-chain-core"
version = "0.3.12"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WASM-compatible DotNS resolution, IPFS fetching, and CAR parsing (async, reqwest + ruzstd)"
readme = false
license = "AGPL-3.0"
repository = "https://github.com/paritytech/host-sdk"

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

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

[dependencies.futures]
version = "0.3"

[dependencies.host-encoding]
version = "0.3.2"

[dependencies.log]
version = "0.4"

[dependencies.ruzstd]
version = "0.8"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "rt-multi-thread",
    "macros",
]

[target.'cfg(not(any(target_os = "ios", target_arch = "wasm32")))'.dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls-native-roots",
    "gzip",
    "deflate",
]
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.reqwest]
version = "0.12"
default-features = false

[target.'cfg(target_os = "ios")'.dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls-webpki-roots",
    "gzip",
    "deflate",
]
default-features = false