# 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 = "keyseq"
version = "0.4.1"
authors = ["Shane Celis <shane.celis@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Specify key chords using `Ctrl-A` short-hand"
readme = "README.md"
keywords = [
    "keyboard",
    "bevy",
    "winit",
    "hotkey",
]
categories = ["gui"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/shanecelis/keyseq"

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

[[example]]
name = "bevy"
path = "examples/bevy.rs"
required-features = ["bevy"]

[[example]]
name = "winit"
path = "examples/winit.rs"
required-features = ["winit"]

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

[[test]]
name = "version-numbers"
path = "tests/version-numbers.rs"

[dependencies.bevy]
version = "0.14"
optional = true
default-features = false

[dependencies.bevy_reflect]
version = "0.14"
optional = true

[dependencies.bitflags]
version = "2.4.2"

[dependencies.keyseq_macros]
version = "0.3.1"

[dependencies.winit]
version = "0.30"
optional = true
default-features = false

[dev-dependencies.bevy]
version = "0.14"
default-features = true

[dev-dependencies.version-sync]
version = "0.9"

[features]
bevy = [
    "dep:bevy",
    "dep:bevy_reflect",
    "keyseq_macros/bevy",
    "bevy/bevy_winit",
]
default = ["strict-order"]
permit-plus = ["keyseq_macros/permit-plus"]
poor = ["keyseq_macros/poor"]
strict-order = ["keyseq_macros/strict-order"]
winit = [
    "dep:winit",
    "keyseq_macros/winit",
]

[badges.maintenance]
status = "actively-developed"
