[package]
name = "holochain_http_gateway"
version = "0.1.0"
description = "The Holochain HTTP Gateway for providing a way to bridge from the web2 world into Holochain"
authors = ["Holochain Core Dev Team <devcore@holochain.org>"]
homepage = "https://github.com/holochain/hc-http-gw"
license = "Apache-2.0"
repository = "https://github.com/holochain/hc-http-gw"
edition = "2021"

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

[dependencies]
anyhow = "1.0.96"
axum = "0.8.1"
base64 = "0.22.1"
clap = { version = "4.5.30", features = ["derive", "env"] }
futures = "0.3"
holochain_client = "0.6.2"
holochain_conductor_api = "0.4.1"
holochain_types = "0.4.1"
holochain_websocket = "0.4.1"
serde = { version = "=1.0.203", features = ["derive"] }
serde_json = { version = "1.0.140", git = "https://github.com/ThetaSinner/json.git", branch = "master" }
thiserror = "2.0.11"
tokio = { version = "1.43.0", features = ["rt-multi-thread", "macros", "net"] }
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19", features = [
  "env-filter",
  "registry",
] }
url = "2.5"

[dev-dependencies]
holochain_http_gateway = { path = ".", features = ["test-utils"] }

assert2 = "0.3.15"
holochain = { version = "0.4.1", default-features = false, features = [
  "sqlite-encrypted",
  "tx5",
  "wasmer_sys",
  "sweettest",
] }
http-body-util = "0.1.2"
mockall = "0.13"
reqwest = { version = "0.12", default-features = false }
tower = "0.5.2"
holochain_serialized_bytes = "0.0.55"

[features]
test-utils = []