type-bridge-server 1.4.2

Query-intercepting proxy server for TypeDB with validation and audit logging
Documentation
[package]
name = "type-bridge-server"
version = "1.4.2"
edition = "2024"
description = "Query-intercepting proxy server for TypeDB with validation and audit logging"
license.workspace = true
repository.workspace = true
authors.workspace = true

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

[[bin]]
name = "type-bridge-server"
path = "src/main.rs"
required-features = ["typedb", "axum-transport"]

[features]
default = ["typedb", "axum-transport"]
typedb = ["dep:typedb-driver", "dep:futures"]
axum-transport = ["dep:axum", "dep:tower-http"]
test-helpers = []

[dependencies]
type-bridge-core-lib = { path = "../core", version = "1.4.2" }
tokio = { version = "1", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.8"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["json", "env-filter"] }
uuid = { version = "1", features = ["v4"] }
chrono = { version = "0.4", features = ["serde"] }
thiserror = "2"
clap = { version = "4", features = ["derive"] }
# Optional: TypeDB backend
typedb-driver = { version = "3", optional = true }
futures = { version = "0.3", optional = true }

# Optional: Axum HTTP transport
axum = { version = "0.8", optional = true }
tower-http = { version = "0.6", features = ["cors", "trace"], optional = true }

[dev-dependencies]
type-bridge-server = { path = ".", features = ["test-helpers", "axum-transport"] }
tempfile = "3"
http-body-util = "0.1"
tower = { version = "0.5", features = ["util"] }

[lints]
workspace = true