[package]
edition = "2021"
name = "mockforge-ws"
version = "0.3.71"
authors = ["SaaSy Solutions LLC <ray.clanan@saasysolutionsllc.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WebSocket protocol support for MockForge"
homepage = "https://mockforge.dev"
documentation = "https://docs.rs/mockforge"
readme = "README.md"
keywords = [
"websocket",
"ws",
"api",
"mock",
"testing",
]
categories = [
"development-tools::testing",
"web-programming::websocket",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/SaaSy-Solutions/mockforge"
[features]
data-faker = []
default = []
[lib]
name = "mockforge_ws"
path = "src/lib.rs"
[[test]]
name = "ws_handlers_e2e"
path = "tests/ws_handlers_e2e.rs"
[[test]]
name = "ws_proxy_debug"
path = "tests/ws_proxy_debug.rs"
[[test]]
name = "ws_proxy_e2e"
path = "tests/ws_proxy_e2e.rs"
[[test]]
name = "ws_templating_e2e"
path = "tests/ws_templating_e2e.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
version = "0.8"
features = [
"ws",
"multipart",
]
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.fastrand]
version = "2.0"
[dependencies.futures]
version = "0.3"
[dependencies.futures-util]
version = "0.3"
[dependencies.jsonpath]
version = "0.1"
[dependencies.mockforge-core]
version = "0.3.71"
[dependencies.mockforge-data]
version = "0.3.71"
[dependencies.mockforge-observability]
version = "0.3.71"
[dependencies.mockforge-tracing]
version = "0.3.71"
[dependencies.opentelemetry]
version = "0.22"
features = ["trace"]
[dependencies.regex]
version = "1.10"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.0"
features = [
"rt-multi-thread",
"macros",
"net",
"time",
"sync",
"fs",
]
[dependencies.tokio-tungstenite]
version = "0.28"
features = ["rustls-tls-native-roots"]
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1.0"
features = ["v4"]
[dev-dependencies.axum]
version = "0.8"
[dev-dependencies.futures-util]
version = "0.3"
[dev-dependencies.opentelemetry_sdk]
version = "0.22"
[dev-dependencies.tokio]
version = "1.48"
features = [
"macros",
"rt-multi-thread",
]
[dev-dependencies.tokio-tungstenite]
version = "0.28"
features = ["rustls-tls-native-roots"]
[lints.rust]
missing_docs = "deny"