# 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 = "holochain_http_gateway"
version = "0.1.0"
authors = ["Holochain Core Dev Team <devcore@holochain.org>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The Holochain HTTP Gateway for providing a way to bridge from the web2 world into Holochain"
homepage = "https://github.com/holochain/hc-http-gw"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/holochain/hc-http-gw"

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

[[bin]]
name = "hc-http-gw"
path = "src/bin/hc-http-gw.rs"

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

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

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

[dependencies.anyhow]
version = "1.0.96"

[dependencies.axum]
version = "0.8.1"

[dependencies.base64]
version = "0.22.1"

[dependencies.clap]
version = "4.5.30"
features = [
    "derive",
    "env",
]

[dependencies.futures]
version = "0.3"

[dependencies.holochain_client]
version = "0.6.2"

[dependencies.holochain_conductor_api]
version = "0.4.1"

[dependencies.holochain_types]
version = "0.4.1"

[dependencies.holochain_websocket]
version = "0.4.1"

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

[dependencies.serde_json]
version = "1.0.140"

[dependencies.thiserror]
version = "2.0.11"

[dependencies.tokio]
version = "1.43.0"
features = [
    "rt-multi-thread",
    "macros",
    "net",
]

[dependencies.tracing]
version = "0.1.41"

[dependencies.tracing-subscriber]
version = "0.3.19"
features = [
    "env-filter",
    "registry",
]

[dependencies.url]
version = "2.5"

[dev-dependencies.assert2]
version = "0.3.15"

[dev-dependencies.holochain]
version = "0.4.1"
features = [
    "sqlite-encrypted",
    "tx5",
    "wasmer_sys",
    "sweettest",
]
default-features = false

[dev-dependencies.holochain_serialized_bytes]
version = "0.0.55"

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

[dev-dependencies.mockall]
version = "0.13"

[dev-dependencies.reqwest]
version = "0.12"
default-features = false

[dev-dependencies.tower]
version = "0.5.2"

[features]
test-utils = []