mockforge-core 0.3.13

Shared logic for MockForge - routing, validation, latency, proxy
Documentation
[[bench]]
harness = false
name = "core_benchmarks"
path = "benches/core_benchmarks.rs"

[dependencies.aes-gcm]
version = "0.10"

[dependencies.anyhow]
version = "1"

[dependencies.argon2]
version = "0.5"

[dependencies.async-trait]
version = "0.1"

[dependencies.axum]
features = ["ws", "multipart"]
version = "0.8"

[dependencies.base32]
version = "0.5"

[dependencies.base64]
version = "0.22"

[dependencies.blake3]
version = "1.5"

[dependencies.bytes]
version = "1.5"

[dependencies.chacha20poly1305]
version = "0.10"

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

[dependencies.cron]
version = "0.15"

[dependencies.dirs]
version = "5.0"

[dependencies.futures]
version = "0.3"

[dependencies.globwalk]
version = "0.9.1"

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.12"

[dependencies.indexmap]
version = "2.0"

[dependencies.json-patch]
version = "4.0.0"

[dependencies.jsonpath]
version = "0.1"

[dependencies.jsonptr]
version = "0.7.1"

[dependencies.jsonschema]
version = "0.33.0"

[dependencies.jsonwebtoken]
version = "9.0"

[dependencies.mockforge-data]
optional = true
version = "0.3.13"

[dependencies.notify]
version = "8.2"

[dependencies.once_cell]
version = "1"

[dependencies.openapiv3]
version = "2.2"

[dependencies.pbkdf2]
version = "0.12"

[dependencies.prost]
version = "0.14"

[dependencies.prost-reflect]
version = "0.16"

[dependencies.prost-types]
version = "0.14"

[dependencies.rand]
version = "0.9"

[dependencies.rayon]
optional = true
version = "1.10"

[dependencies.regex]
version = "1.10"

[dependencies.reqwest]
features = ["json", "rustls-tls"]
version = "0.12"

[dependencies.roxmltree]
version = "0.21"

[dependencies.rquickjs]
features = ["macro", "classes"]
version = "0.9"

[dependencies.schemars]
features = ["derive"]
optional = true
version = "0.8"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
version = "0.10"

[dependencies.sqlx]
features = ["runtime-tokio-rustls", "postgres", "chrono", "uuid"]
optional = true
version = "0.8"

[dependencies.tempfile]
version = "3.10"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
features = ["rt-multi-thread", "macros", "net", "time", "sync", "fs"]
version = "1.0"

[dependencies.tokio-tungstenite]
version = "0.28"

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2.5"

[dependencies.urlencoding]
version = "2.1"

[dependencies.uuid]
features = ["v4", "serde"]
version = "1.0"

[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"

[dev-dependencies.mockforge-template-expansion]
version = "0.3.13"

[dev-dependencies.proptest]
version = "1.8.0"

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

[dev-dependencies.tokio]
features = ["rt-multi-thread", "macros", "net", "time", "sync", "fs", "macros", "test-util"]
version = "1.0"

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

[features]
data = ["mockforge-data"]
database = ["sqlx"]
default = ["data"]
parallel-routes = ["rayon"]
persona-graph = []
schema = ["schemars"]

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

[lints.rust]
missing_docs = "deny"

[package]
authors = ["SaaSy Solutions LLC <ray.clanan@saasysolutionsllc.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools::testing", "web-programming"]
description = "Shared logic for MockForge - routing, validation, latency, proxy"
documentation = "https://docs.rs/mockforge-core"
edition = "2021"
homepage = "https://mockforge.dev"
keywords = ["mock", "api", "testing", "http", "grpc"]
license = "MIT OR Apache-2.0"
name = "mockforge-core"
readme = "README.md"
repository = "https://github.com/SaaSy-Solutions/mockforge"
version = "0.3.13"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[target."cfg(windows)".dependencies.windows]
features = ["Win32_Security_Credentials"]
version = "0.62"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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