omp-tui 0.1.0

Retained-mode terminal UI components, rendering, input, and terminal integration for omp
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 = "omp-tui"
version = "0.1.0"
authors = ["Can Boluk"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Retained-mode terminal UI components, rendering, input, and terminal integration for omp"
homepage = "https://omp.sh/"
readme = "README.md"
license = "MIT"
repository = "https://github.com/can1357/omp"

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

[[example]]
name = "chat"
path = "examples/chat/main.rs"
test = true

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

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

[[example]]
name = "gallery"
path = "examples/gallery/main.rs"
test = true

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

[dependencies.arboard]
version = "3.6"
features = ["wayland-data-control"]

[dependencies.flume]
version = "0.11"

[dependencies.layout-rs]
version = "0.1.3"

[dependencies.mermaid-text]
version = "0.57"

[dependencies.omp-core]
version = "0.1.0"

[dependencies.omp-tui-macros]
version = "0.1.0"

[dependencies.parking_lot]
version = "0.12"

[dependencies.png]
version = "0.18"

[dependencies.serde]
version = "1.0.229"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1.0.151"
features = [
    "preserve_order",
    "raw_value",
]

[dependencies.smallvec]
version = "2.0.0-alpha.12"
features = ["serde"]

[dependencies.smol_bitmap]
version = "0.3.2"
features = ["serde"]

[dependencies.strum]
version = "0.28"
features = ["derive"]

[dependencies.syntect]
version = "5.3"
features = [
    "default-syntaxes",
    "regex-fancy",
    "yaml-load",
]
default-features = false

[dependencies.tempfile]
version = "3"

[dependencies.tokio]
version = "1"
features = [
    "fs",
    "io-std",
    "io-util",
    "macros",
    "net",
    "process",
    "rt",
    "rt-multi-thread",
    "signal",
    "sync",
    "time",
]

[dependencies.tokio-util]
version = "0.7"

[dependencies.xutf]
version = "1.1"

[target."cfg(unix)".dependencies.nix]
version = "0.31"
features = [
    "fs",
    "poll",
    "process",
    "resource",
    "signal",
    "term",
    "user",
]

[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
    "Wdk_Storage_FileSystem",
    "Win32_Foundation",
    "Win32_Networking_WinSock",
    "Win32_Security",
    "Win32_Security_Authorization",
    "Win32_Storage_FileSystem",
    "Win32_System_Console",
    "Win32_System_Diagnostics_ToolHelp",
    "Win32_System_IO",
    "Win32_System_Pipes",
    "Win32_System_SystemInformation",
    "Win32_System_Threading",
    "Win32_System_WindowsProgramming",
    "Win32_UI_WindowsAndMessaging",
]

[lints.clippy]
allow_attributes_without_reason = "warn"
borrow_as_ptr = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_ptr_alignment = "allow"
cast_sign_loss = "allow"
default_trait_access = "allow"
disallowed_methods = "deny"
disallowed_types = "deny"
enum_glob_use = "allow"
float_cmp = "allow"
inconsistent_struct_constructor = "allow"
inline_always = "allow"
items_after_statements = "allow"
let_underscore_untyped = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
option_if_let_else = "allow"
ptr_as_ptr = "allow"
redundant_closure_for_method_calls = "allow"
ref_as_ptr = "allow"
return_self_not_must_use = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
tabs_in_doc_comments = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
tuple_array_conversions = "allow"
undocumented_unsafe_blocks = "warn"
unreadable_literal = "allow"
unsafe_derive_deserialize = "allow"
verbose_bit_mask = "allow"
wildcard_imports = "allow"

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

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

[lints.clippy.nursery]
level = "warn"
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

[lints.rust]
mismatched_lifetime_syntaxes = "allow"
missing_docs = "warn"