[dependencies.anyhow]
version = "1"
[dependencies.axum]
features = ["ws", "multipart"]
version = "0.8"
[dependencies.libc]
version = "0.2"
[dependencies.mockforge-core]
version = "0.3.4"
[dependencies.mockforge-data]
version = "0.3.4"
[dependencies.mockforge-graphql]
optional = true
version = "0.3.4"
[dependencies.mockforge-grpc]
optional = true
version = "0.3.4"
[dependencies.mockforge-http]
version = "0.3.4"
[dependencies.mockforge-observability]
version = "0.3.4"
[dependencies.mockforge-ws]
optional = true
version = "0.3.4"
[dependencies.reqwest]
features = ["json", "rustls-tls"]
version = "0.12"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
features = ["rt-multi-thread", "macros", "net", "time", "sync", "fs", "full"]
version = "1.0"
[dependencies.tower]
version = "0.5"
[dependencies.tower-http]
features = ["fs", "cors", "trace", "compression-full"]
version = "0.6"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.reqwest]
features = ["json", "rustls-tls"]
version = "0.12"
[dev-dependencies.tokio-test]
version = "0.4"
[features]
all-protocols = ["http", "websocket", "grpc", "graphql"]
default = ["http", "websocket", "grpc", "graphql"]
graphql = ["mockforge-graphql"]
grpc = ["mockforge-grpc"]
http = []
websocket = ["mockforge-ws"]
[lib]
crate-type = ["cdylib", "rlib"]
name = "mockforge_sdk"
path = "src/lib.rs"
[lints.clippy]
dead_code = "allow"
private_interfaces = "allow"
unused_imports = "allow"
unused_variables = "allow"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"
unused_qualifications = "warn"
[package]
authors = ["SaaSy Solutions LLC <ray.clanan@saasysolutionsllc.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools", "api-bindings", "web-programming"]
description = "Developer SDK for embedding MockForge in tests and applications"
documentation = "https://docs.rs/mockforge"
edition = "2021"
homepage = "https://mockforge.dev"
keywords = ["mock", "api", "testing", "grpc", "websocket"]
license = "MIT OR Apache-2.0"
name = "mockforge-sdk"
readme = "README.md"
repository = "https://github.com/SaaSy-Solutions/mockforge"
version = "0.3.4"
[[test]]
name = "admin_api_tests"
path = "tests/admin_api_tests.rs"
[[test]]
name = "dynamic_stub_tests"
path = "tests/dynamic_stub_tests.rs"
[[test]]
name = "error_handling_tests"
path = "tests/error_handling_tests.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "port_discovery_tests"
path = "tests/port_discovery_tests.rs"