ralph-api 2.9.1

Rust-native RPC v1 control-plane API runtime for Ralph
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "ralph-api"
version = "2.9.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust-native RPC v1 control-plane API runtime for Ralph"
homepage = "https://github.com/mikeyobrien/ralph-orchestrator"
readme = "README.md"
license = "MIT"
repository = "https://github.com/mikeyobrien/ralph-orchestrator"
resolver = "2"

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

[[bin]]
name = "ralph-api"
path = "src/main.rs"

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

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

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

[dependencies.futures]
version = "0.3"

[dependencies.jsonschema]
version = "0.18"
features = ["draft202012"]

[dependencies.ralph-core]
version = "2.9.1"
features = ["recording"]

[dependencies.rmcp]
version = "1.1.0"
features = [
    "server",
    "client",
    "transport-io",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.uuid]
version = "1.21.0"
features = ["v4"]

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

[dev-dependencies.serde_json]
version = "1"

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

[dev-dependencies.tokio-tungstenite]
version = "0.24"

[lints.clippy]
assigning_clones = "allow"
bind_instead_of_map = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
collapsible_match = "allow"
doc_markdown = "allow"
field_reassign_with_default = "allow"
format_push_string = "allow"
ignored_unit_patterns = "allow"
io_other_error = "allow"
items_after_statements = "allow"
manual_let_else = "allow"
manual_pattern_char_comparison = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
range_plus_one = "allow"
redundant_closure = "allow"
redundant_closure_for_method_calls = "allow"
redundant_else = "allow"
return_self_not_must_use = "allow"
semicolon_if_nothing_returned = "allow"
similar_names = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
type_complexity = "allow"
uninlined_format_args = "allow"
unnecessary_debug_formatting = "allow"
unnecessary_wraps = "allow"
unused_self = "allow"
used_underscore_binding = "allow"
wildcard_imports = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"