[[bin]]
name = "apicentric"
path = "src/bin/apicentric.rs"
[[bin]]
name = "apicentric-minimal"
path = "src/bin/apicentric-minimal.rs"
[dependencies.indexmap]
version = "2.12.0"
[dev-dependencies.assert_cmd]
version = "2.0"
[dev-dependencies.predicates]
version = "3.0"
[dev-dependencies.reqwest]
features = ["blocking", "json"]
version = "0.11"
[[example]]
name = "cloud_server"
path = "examples/cloud_server.rs"
[[example]]
name = "start_server"
path = "examples/start_server.rs"
[features]
cli-tools = ["simulator", "contract-testing", "tui"]
contract-testing = ["reqwest", "dep:async-trait"]
database = ["rusqlite"]
default = ["tui", "webui", "simulator", "contract-testing", "mock-data", "database", "file-watch", "websockets", "scripting"]
file-watch = ["notify"]
full = ["p2p", "gui", "webui", "simulator", "contract-testing", "tui", "mock-data", "database", "file-watch", "websockets", "scripting", "graphql"]
graphql = ["dep:async-graphql", "dep:async-graphql-parser"]
gui = ["dep:eframe", "dep:egui", "mock-data"]
mcp = ["dep:rmcp", "simulator"]
minimal = ["simulator"]
mock-data = ["fake", "rand"]
no-p2p = ["gui", "webui", "simulator", "contract-testing", "tui", "mock-data", "database", "file-watch", "websockets", "scripting"]
p2p = ["dep:libp2p", "dep:automerge", "dep:async-trait"]
scripting = ["deno_core"]
simulator = []
tui = ["ratatui", "crossterm", "indicatif", "console", "inquire"]
websockets = ["tokio-tungstenite", "futures-util/sink"]
webui = ["websockets"]
[lib]
crate-type = ["rlib"]
name = "apicentric"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Toolkit for building, recording, and sharing mock APIs"
edition = "2021"
license = "MIT"
name = "apicentric"
readme = "README.md"
repository = "https://github.com/pmaojo/apicentric"
version = "0.2.3"
[package.metadata.wasm-pack.profile.release]
wasm-opt = false
[profile.release]
codegen-units = 1
lto = true
opt-level = 3
panic = "abort"
strip = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.anyhow]
version = "1.0.99"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.argon2]
version = "0.5"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.async-graphql]
optional = true
version = "7.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.async-graphql-parser]
optional = true
version = "7.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.async-trait]
optional = true
version = "0.1.74"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.automerge]
optional = true
version = "0.5"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.axum]
default-features = false
features = ["macros", "tokio", "http1", "http2", "json", "matched-path", "original-uri", "query", "ws"]
version = "0.7"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.bytes]
version = "1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.chrono]
features = ["serde"]
version = "0.4.31"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.clap]
features = ["derive"]
version = "4.4.8"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.colored]
version = "2.1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.console]
default-features = false
optional = true
version = "0.15.7"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.crossterm]
default-features = false
optional = true
version = "0.27"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.deno_core]
optional = true
version = "0.272.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.eframe]
optional = true
version = "0.33.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.egui]
optional = true
version = "0.33.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.env_logger]
version = "0.10"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.fake]
default-features = false
features = ["derive"]
optional = true
version = "4.4.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.futures-util]
default-features = false
features = ["std"]
version = "0.3"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.glob]
version = "0.3.3"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.handlebars]
version = "6.2.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.http]
version = "1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.http-body-util]
version = "0.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.hyper]
default-features = false
features = ["http1", "http2", "server", "client"]
version = "1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.hyper-util]
default-features = false
features = ["server", "client", "client-legacy", "http1", "http2", "tokio"]
version = "0.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.indicatif]
default-features = false
optional = true
version = "0.17.7"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.inquire]
default-features = false
features = ["crossterm"]
optional = true
version = "0.6"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.jsonwebtoken]
version = "9.2"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.lazy_static]
version = "1.5.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.libloading]
version = "0.8"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.libp2p]
features = ["tcp", "noise", "yamux", "gossipsub", "mdns", "request-response", "tokio", "quic", "macros"]
optional = true
version = "0.55"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.log]
version = "0.4.20"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.notify]
optional = true
version = "8.2.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.openapiv3]
version = "2.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rand]
default-features = false
features = ["std", "std_rng"]
optional = true
version = "0.8"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ratatui]
default-features = false
features = ["crossterm"]
optional = true
version = "0.26.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.regex]
version = "1.11.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.reqwest]
default-features = false
features = ["json", "rustls-tls"]
optional = true
version = "0.11"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rmcp]
features = ["server"]
optional = true
version = "0.8.5"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rusqlite]
default-features = false
features = ["bundled"]
optional = true
version = "0.31"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.serde]
features = ["derive"]
version = "1.0.219"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.serde_json]
version = "1.0.143"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.serde_yaml]
version = "0.9.34"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tempfile]
version = "3.8.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.thiserror]
version = "1.0.69"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
default-features = false
features = ["rt-multi-thread", "fs", "process", "net", "sync", "time", "macros", "io-util"]
version = "1.47.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-stream]
default-features = false
features = ["sync"]
version = "0.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-tungstenite]
optional = true
version = "0.21"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tower]
default-features = false
version = "0.4"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tower-http]
default-features = false
features = ["cors", "fs"]
version = "0.5"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tracing]
version = "0.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tracing-subscriber]
features = ["env-filter", "json"]
version = "0.3"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.url]
version = "2.5.4"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.uuid]
features = ["v4"]
version = "1.11.0"
[[test]]
name = "admin_api"
path = "tests/admin_api.rs"
[[test]]
name = "auth_api"
path = "tests/auth_api.rs"
[[test]]
name = "cli_output"
path = "tests/cli_output.rs"
[[test]]
name = "cloud_command_test"
path = "tests/cloud_command_test.rs"
[[test]]
name = "codegen_api"
path = "tests/codegen_api.rs"
[[test]]
name = "config_api"
path = "tests/config_api.rs"
[[test]]
name = "contract_use_cases"
path = "tests/contract_use_cases.rs"
[[test]]
name = "dockerize"
path = "tests/dockerize.rs"
[[test]]
name = "feature_flags"
path = "tests/feature_flags.rs"
[[test]]
name = "fs_utils"
path = "tests/fs_utils.rs"
[[test]]
name = "gui_tests"
path = "tests/gui_tests.rs"
[[test]]
name = "helpers_faker"
path = "tests/helpers_faker.rs"
[[test]]
name = "helpers_math"
path = "tests/helpers_math.rs"
[[test]]
name = "helpers_text"
path = "tests/helpers_text.rs"
[[test]]
name = "import_export"
path = "tests/import_export.rs"
[[test]]
name = "mcp"
path = "tests/mcp.rs"
[[test]]
name = "openapi_conversion"
path = "tests/openapi_conversion.rs"
[[test]]
name = "plugin_loading"
path = "tests/plugin_loading.rs"
[[test]]
name = "plugin_system"
path = "tests/plugin_system.rs"
[[test]]
name = "react_query_generation"
path = "tests/react_query_generation.rs"
[[test]]
name = "react_view_generation"
path = "tests/react_view_generation.rs"
[[test]]
name = "recording_api"
path = "tests/recording_api.rs"
[[test]]
name = "report_sink"
path = "tests/report_sink.rs"
[[test]]
name = "service_instance"
path = "tests/service_instance.rs"
[[test]]
name = "service_spec_loader"
path = "tests/service_spec_loader.rs"
[[test]]
name = "simulator_integration"
path = "tests/simulator_integration.rs"
[[test]]
name = "tui_state"
path = "tests/tui_state.rs"
[[test]]
name = "websocket_api"
path = "tests/websocket_api.rs"