# 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.85"
name = "rnk"
version = "0.5.0"
authors = ["majiayu000 <1835304752@qq.com>"]
build = false
exclude = [
    "examples/*",
    "docs/*",
    ".github/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A React-like declarative terminal UI framework for Rust, inspired by Ink"
homepage = "https://github.com/majiayu000/rnk"
documentation = "https://docs.rs/rnk"
readme = "README.md"
keywords = [
    "tui",
    "terminal",
    "ui",
    "cli",
    "react",
]
categories = [
    "command-line-interface",
    "gui",
]
license = "MIT"
repository = "https://github.com/majiayu000/rnk"

[features]
default = []
testing = []

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

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

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

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

[dependencies.crossterm]
version = "0.28"

[dependencies.ctrlc]
version = "3.4"
features = ["termination"]

[dependencies.log]
version = "0.4"

[dependencies.taffy]
version = "0.7"

[dependencies.textwrap]
version = "0.16"

[dependencies.thiserror]
version = "2.0"

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

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

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.proptest]
version = "1.4"

[dev-dependencies.reqwest]
version = "0.12"
features = ["json"]

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

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

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