[package]
edition = "2024"
name = "specmock-runtime"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Runtime servers for HTTP (OpenAPI), WebSocket (AsyncAPI), and gRPC (Protobuf) mocking"
homepage = "https://github.com/longcipher/spec-mock"
documentation = "https://docs.rs/specmock-core"
readme = "README.md"
keywords = [
"mock",
"openapi",
"asyncapi",
"grpc",
"testing",
]
categories = [
"development-tools::testing",
"web-programming",
"simulation",
]
license = "Apache-2.0"
repository = "https://github.com/longcipher/spec-mock"
[features]
integration-test = []
[lib]
name = "specmock_runtime"
path = "src/lib.rs"
[[test]]
name = "grpc_protobuf"
path = "tests/grpc_protobuf.rs"
[[test]]
name = "http_openapi"
path = "tests/http_openapi.rs"
[[test]]
name = "prism_comparison"
path = "tests/prism_comparison.rs"
[[test]]
name = "ws_asyncapi"
path = "tests/ws_asyncapi.rs"
[dependencies.axum]
version = "0.8.8"
features = [
"ws",
"json",
"query",
"tokio",
"tracing",
"http1",
]
[dependencies.base64]
version = "0.22.1"
[dependencies.bytes]
version = "1.11.1"
[dependencies.futures-util]
version = "0.3.32"
[dependencies.hpx]
version = "2.4.0"
[dependencies.http]
version = "1.4.0"
[dependencies.http-body]
version = "1.0.1"
[dependencies.http-body-util]
version = "0.1.3"
[dependencies.hyper]
version = "1.8.1"
features = ["server"]
[dependencies.hyper-util]
version = "0.1.20"
features = [
"tokio",
"server-auto",
"service",
]
[dependencies.prost]
version = "0.14.3"
[dependencies.prost-reflect]
version = "0.16.3"
[dependencies.protox]
version = "0.9.1"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[dependencies.specmock-core]
version = "0.1.0"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tokio]
version = "1.50.0"
features = [
"rt-multi-thread",
"macros",
"net",
"sync",
"signal",
"time",
]
[dependencies.tonic]
version = "0.14.5"
features = ["transport"]
[dependencies.tower]
version = "0.5.3"
features = ["util"]
[dependencies.tracing]
version = "0.1.44"
[dependencies.url]
version = "2.5.8"
[dev-dependencies.hpx]
version = "2.4.0"
[dev-dependencies.rand]
version = "0.10.0"
[dev-dependencies.rand_chacha]
version = "0.10.0"
[dev-dependencies.serde_yml]
version = "0.0.12"
[dev-dependencies.tokio-tungstenite]
version = "0.29.0"
[dev-dependencies.tonic]
version = "0.14.5"
features = [
"codegen",
"transport",
]
[lints.clippy]
expect_used = "allow"