type-bridge-server 2.2.2

Query-intercepting proxy server for TypeDB with validation and audit logging
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.88"
name = "type-bridge-server"
version = "2.2.2"
authors = ["ds1sqe"]
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Query-intercepting proxy server for TypeDB with validation and audit logging"
documentation = "https://docs.rs/type-bridge-server/2.2.2"
readme = "README.md"
license = "MIT"
license-file = "LICENSE"
repository = "https://github.com/ds1sqe/type-bridge"

[features]
axum-transport = [
    "dep:axum",
    "dep:tower-http",
    "dep:axum-server",
]
band8 = [
    "typedb",
    "type-bridge-typedb-runtime/band8",
    "type-bridge-orm?/band8",
]
band9 = [
    "typedb",
    "type-bridge-typedb-runtime/band9",
    "type-bridge-orm?/band9",
]
default = [
    "band8",
    "band9",
    "v2-query",
]
typedb = ["dep:type-bridge-typedb-runtime"]
v2-query = [
    "axum-transport",
    "dep:type-bridge-contract",
    "dep:type-bridge-query",
    "dep:type-bridge-orm",
    "dep:type-bridge-schema",
    "dep:type-bridge-schema-compat",
]

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

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

[[example]]
name = "v2_smoke_server"
path = "examples/v2_smoke_server.rs"
required-features = [
    "typedb",
    "v2-query",
]

[[test]]
name = "http_integration_tests"
path = "tests/http_integration_tests.rs"
required-features = ["axum-transport"]

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

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

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

[[test]]
name = "runtime_config_documentation"
path = "tests/runtime_config_documentation.rs"
required-features = ["v2-query"]

[[test]]
name = "tls_transport_tests"
path = "tests/tls_transport_tests.rs"
required-features = ["axum-transport"]

[[test]]
name = "v2_query_integration_tests"
path = "tests/v2_query_integration_tests.rs"
required-features = [
    "typedb",
    "v2-query",
]

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

[dependencies.axum-server]
version = "0.7"
features = ["tls-rustls-no-provider"]
optional = true

[dependencies.cap-fs-ext]
version = "4.0"

[dependencies.cap-std]
version = "4.0"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.futures]
version = "0.3"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.toml]
version = "0.8"

[dependencies.tower-http]
version = "0.6"
features = [
    "cors",
    "trace",
]
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "json",
    "env-filter",
]

[dependencies.type-bridge-contract]
version = "2.2.2"
optional = true

[dependencies.type-bridge-core-lib]
version = "2.2.2"

[dependencies.type-bridge-orm]
version = "2.2.2"
optional = true
default-features = false

[dependencies.type-bridge-query]
version = "2.2.2"
optional = true

[dependencies.type-bridge-schema]
version = "2.2.2"
optional = true

[dependencies.type-bridge-schema-compat]
version = "2.2.2"
optional = true

[dependencies.type-bridge-typedb-runtime]
version = "2.2.2"
optional = true
default-features = false

[dependencies.uuid]
version = "1"
features = ["v4"]

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

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

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

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tower]
version = "0.5"
features = ["util"]

[target."cfg(unix)".dependencies.rustix]
version = "1"
features = ["fs"]

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(coverage_nightly)",
    "cfg(coverage)",
]