[package]
edition = "2024"
name = "ralph-core"
version = "2.9.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core orchestration loop, configuration, and state management for Ralph Orchestrator"
readme = false
license = "MIT"
resolver = "2"
[features]
recording = []
[lib]
name = "ralph_core"
path = "src/lib.rs"
[[test]]
name = "diagnostics_e2e"
path = "tests/diagnostics_e2e.rs"
[[test]]
name = "event_loop_ralph"
path = "tests/event_loop_ralph.rs"
[[test]]
name = "hooks_config_boundary"
path = "tests/hooks_config_boundary.rs"
[[test]]
name = "rpc_v1_contract_conformance"
path = "tests/rpc_v1_contract_conformance.rs"
[[test]]
name = "scenarios"
path = "tests/scenarios.rs"
[[test]]
name = "smoke_runner"
path = "tests/smoke_runner.rs"
[[bench]]
name = "performance"
path = "benches/performance.rs"
harness = false
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.crossterm]
version = "0.28"
features = ["event-stream"]
[dependencies.keyring]
version = "3"
features = [
"apple-native",
"linux-native",
]
[dependencies.ralph-proto]
version = "2.9.2"
[dependencies.regex]
version = "1"
[dependencies.reqwest]
version = "0.12"
features = [
"rustls-tls",
"json",
]
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"]
[dev-dependencies.jsonschema]
version = "0.18"
features = ["draft202012"]
[dev-dependencies.tempfile]
version = "3"
[target."cfg(unix)".dependencies.nix]
version = "0.29"
features = [
"signal",
"term",
"fs",
]
[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"