# 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 = "2021"
name = "appcui"
version = "0.4.10"
authors = ["Gavrilut Dragos <gavrilut.dragos@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A feature-rich and cross-platform TUI/CUI framework for Rust, enabling modern terminal-based applications on Windows, Linux, and macOS. Includes built-in UI components like buttons, menus, list views, tree views, checkboxes, and more. Perfect for building fast and interactive CLI tools and text-based interfaces."
homepage = "https://gdt050579.github.io/AppCUI-rs/"
documentation = "https://docs.rs/appcui"
readme = "README.md"
keywords = [
    "tui",
    "cui",
    "ui",
    "terminal",
]
categories = [
    "gui",
    "command-line-interface",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/gdt050579/AppCUI-rs"

[features]
CROSSTERM = ["crossterm"]
DEBUG_SHOW_WINDOW_TITLE_BOUNDERIES = []
EVENT_RECORDER = []
GLOBAL_RUNTIME = []
TRUE_COLORS = []
default = []

[lib]
name = "appcui"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[dependencies.EnumBitFlags]
version = "1.0.10"

[dependencies.appcui_proc_macro]
version = "0.2.6"

[dependencies.chrono]
version = "0.4.38"
features = ["wasmbind"]

[dependencies.crossterm]
version = "0.29"
optional = true

[dependencies.flat_string]
version = "1.0.0"

[target.'cfg(target_arch = "wasm32")'.dependencies.console_error_panic_hook]
version = "0.1"

[target.'cfg(target_arch = "wasm32")'.dependencies.futures]
version = "0.3.31"

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.libc]
version = "0.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.rayon]
version = "1.5"
features = ["web_spin_lock"]

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4.45"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-rayon]
version = "1.2"
features = ["no-bundler"]

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
    "Blob",
    "BlobPropertyBag",
    "Url",
    "KeyboardEvent",
    "WheelEvent",
    "Worker",
    "WebGlUniformLocation",
    "Window",
    "Document",
    "DomRect",
    "Navigator",
    "Clipboard",
    "HtmlCanvasElement",
    "HtmlElement",
    "CssStyleDeclaration",
    "WebGlRenderingContext",
    "WebGl2RenderingContext",
    "WebGlBuffer",
    "WebGlProgram",
    "WebGlShader",
    "WebGlTexture",
    "MouseEvent",
    "console",
    "CanvasRenderingContext2d",
    "TextMetrics",
]

[target.'cfg(target_arch = "wasm32")'.dependencies.web-time]
version = "1.1.0"

[target.'cfg(target_family = "unix")'.dependencies.copypasta]
version = "0.10.1"

[target.'cfg(target_family = "unix")'.dependencies.crossterm]
version = "0.29"

[target.'cfg(target_family = "unix")'.dependencies.libc]
version = "0.2"

[lints.clippy]
module_inception = "allow"
new_without_default = "allow"
