# 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-tui"
version = "2.8.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Terminal UI for Ralph Orchestrator using ratatui"
readme = false
license = "MIT"
resolver = "2"

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

[[example]]
name = "guidance_test"
path = "examples/guidance_test.rs"

[[example]]
name = "validate_widgets"
path = "examples/validate_widgets.rs"

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

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

[dependencies.ansi-to-tui]
version = "8"

[dependencies.anyhow]
version = "1"

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

[dependencies.crossterm]
version = "0.28"
features = ["event-stream"]

[dependencies.futures]
version = "0.3"

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

[dependencies.ralph-proto]
version = "2.8.0"

[dependencies.ratatui]
version = "0.30"

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

[dependencies.scopeguard]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.termimad]
version = "0.31"

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

[dependencies.tokio-tungstenite]
version = "0.24"
features = ["rustls-tls-webpki-roots"]

[dependencies.tracing]
version = "0.1"

[dependencies.tungstenite]
version = "0.24"

[dependencies.unicode-width]
version = "0.2"

[dependencies.url]
version = "2"

[dev-dependencies.insta]
version = "1.40"
features = [
    "yaml",
    "filters",
]

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

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

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

[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"
