keymap-core 0.1.1

Environment-aware keymap resolution core for terminal UIs
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.85"
name = "keymap-core"
version = "0.1.1"
authors = ["S-Nakamur-a"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Environment-aware keymap resolution core for terminal UIs"
readme = "README.md"
keywords = [
    "keymap",
    "keybinding",
    "terminal",
    "tui",
    "input",
]
categories = [
    "command-line-interface",
    "data-structures",
]
license = "MIT"
repository = "https://github.com/S-Nakamur-a/keymap-rs"

[features]
crossterm = ["dep:crossterm"]
default = []

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

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

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

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

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

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

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

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

[lints.clippy]
module_name_repetitions = "allow"

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

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

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"