# 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 = "tuimux"
version = "0.2.0"
authors = ["Alex Younger <thealexyounger@proton.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A fast Rust TUI for everything tmux, with full CRUD support."
readme = "README.md"
license = "MIT"
repository = "https://github.com/AlextheYounga/tuimux.git"

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

[[bin]]
name = "tuimux"
path = "src/main.rs"

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

[dependencies.anyhow]
version = "1"

[dependencies.crossterm]
version = "0.29"

[dependencies.ratatui]
version = "0.29"

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

[dependencies.serde_json]
version = "1"

[dependencies.shell-escape]
version = "0.1"

[dependencies.tempfile]
version = "3"

[lints.clippy]
absolute_paths = "warn"
allow_attributes = "deny"
cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
cast_sign_loss = "warn"
checked_conversions = "warn"
cloned_instead_of_copied = "warn"
cognitive_complexity = "warn"
dbg_macro = "deny"
disallowed_names = "deny"
enum_variant_names = "warn"
expect_used = "deny"
flat_map_option = "warn"
fn_params_excessive_bools = "warn"
from_iter_instead_of_collect = "warn"
implicit_clone = "warn"
inefficient_to_string = "warn"
large_types_passed_by_value = "warn"
manual_let_else = "warn"
manual_ok_or = "warn"
many_single_char_names = "warn"
map_unwrap_or = "warn"
match_same_arms = "warn"
missing_errors_doc = "deny"
missing_panics_doc = "deny"
missing_safety_doc = "deny"
module_inception = "warn"
module_name_repetitions = "warn"
needless_pass_by_value = "warn"
panic = "deny"
print_stderr = "allow"
print_stdout = "allow"
redundant_clone = "warn"
semicolon_if_nothing_returned = "warn"
similar_names = "warn"
struct_field_names = "warn"
todo = "deny"
too_many_arguments = "deny"
trivially_copy_pass_by_ref = "warn"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
unnecessary_wraps = "warn"
unwrap_used = "deny"
wildcard_imports = "warn"

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

[lints.clippy.correctness]
level = "deny"
priority = -1

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

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

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

[lints.clippy.suspicious]
level = "deny"
priority = -1
