# 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-term"
version = "0.1.0"
authors = ["S-Nakamur-a"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Terminal capability snapshots and (future) capability-aware key decoding for keymap-rs"
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"

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

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

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

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

[dependencies.keymap-core]
version = "0.1.0"

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

[dependencies.toml]
version = "0.8"

[dev-dependencies.time]
version = "0.3"
features = [
    "formatting",
    "parsing",
]

[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"
