# 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.0"
name = "crossterm-keybind"
version = "0.3.3"
authors = ["Antonio Yang <yanganto@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A crossplatform terminal library for keybinds"
documentation = "https://docs.rs/crossterm-keybind/"
readme = "README.md"
keywords = [
    "event",
    "keybind",
    "tui",
    "crossterm",
    "ratatui",
]
categories = [
    "command-line-interface",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/yanganto/crossterm-keybind"
resolver = "2"

[features]
case_ignore = ["crossterm-keybind-core/case_ignore"]
check = ["crossterm-keybind-derive/check"]
crossterm_0_28_1 = [
    "dep:crossterm_0_28_1",
    "crossterm-keybind-core/crossterm_0_28_1",
    "crossterm-keybind-derive/crossterm_0_28_1",
]
crossterm_0_29_0 = [
    "dep:crossterm_0_29_0",
    "crossterm-keybind-core/crossterm_0_29_0",
    "crossterm-keybind-derive/crossterm_0_29_0",
]
default = [
    "crossterm_0_29_0",
    "check",
    "case_ignore",
]
derive = [
    "toml",
    "toml-example",
    "struct-patch",
    "crossterm-keybind-derive",
    "log",
]
ratatui_0_28_1 = [
    "dep:crossterm_0_28_1",
    "crossterm-keybind-core/crossterm_0_28_1",
    "crossterm-keybind-derive/crossterm_0_28_1",
]
ratatui_0_30_0 = [
    "dep:crossterm_0_29_0",
    "crossterm-keybind-core/crossterm_0_29_0",
    "crossterm-keybind-derive/crossterm_0_29_0",
]

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

[dependencies.crossterm-keybind-core]
version = "=0.3.3"

[dependencies.crossterm-keybind-derive]
version = "=0.3.3"
optional = true

[dependencies.crossterm_0_28_1]
version = "0.28.1"
features = ["events"]
optional = true
default-features = false
package = "crossterm"

[dependencies.crossterm_0_29_0]
version = "0.29.0"
features = ["events"]
optional = true
default-features = false
package = "crossterm"

[dependencies.log]
version = "0.4.29"
optional = true

[dependencies.struct-patch]
version = "0.10.4"
optional = true

[dependencies.thiserror]
version = "2.0.17"

[dependencies.toml]
version = "0.9.10"
optional = true

[dependencies.toml-example]
version = "0.16.1"
optional = true

[dev-dependencies.toml]
version = "0.9.10"
