ratcn 0.0.1

Themeable terminal UI components and interaction runtime for Ratatui
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"
rust-version = "1.88"
name = "ratcn"
version = "0.0.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Themeable terminal UI components and interaction runtime for Ratatui"
homepage = "https://ratcn.kristoferlund.se"
documentation = "https://docs.rs/ratcn"
readme = "README.md"
keywords = [
    "ratatui",
    "tui",
    "terminal",
    "components",
]
categories = ["command-line-interface"]
license = "MIT"
repository = "https://github.com/kristoferlund/ratcn"

[features]
crossterm = ["ratatui/crossterm"]
default = []
ratzilla = [
    "dep:ratzilla",
    "dep:web-sys",
]

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

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

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

[dependencies.ratatui]
version = "0.30.2"
features = [
    "layout-cache",
    "std",
]
default-features = false

[dependencies.ratzilla]
version = "0.3.1"
optional = true

[dependencies.unicode-segmentation]
version = "1.13.3"

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

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
    "ClipboardEvent",
    "DataTransfer",
]
optional = true

[lints.clippy]
allow_attributes_without_reason = "warn"
as_pointer_underscore = "warn"
assertions_on_result_states = "warn"
clone_on_ref_ptr = "warn"
deref_by_slicing = "warn"
disallowed_script_idents = "warn"
empty_drop = "warn"
empty_enum_variants_with_brackets = "warn"
empty_structs_with_brackets = "warn"
fn_to_numeric_cast_any = "warn"
if_then_some_else_none = "warn"
map_err_ignore = "warn"
redundant_type_annotations = "warn"
renamed_function_params = "warn"
semicolon_outside_block = "warn"
undocumented_unsafe_blocks = "warn"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unneeded_field_pattern = "warn"
unused_result_ok = "warn"

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

[lints.clippy.correctness]
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 = "warn"
priority = -1

[lints.rust]
ambiguous_negative_literals = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
redundant_imports = "warn"
redundant_lifetimes = "warn"
trivial_numeric_casts = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_lifetimes = "warn"