# 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.95"
name = "smix-input"
version = "0.3.1"
authors = ["Golia <doracawl@golia.jp>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "smix-input — KeyName + SwipeDirection driver-level input primitive enums (stone). Ported from now-retired TS source: src/driver/types.ts:8-19."
homepage = "https://github.com/goliajp/smix"
documentation = "https://docs.rs/smix-input"
readme = "README.md"
keywords = [
    "input",
    "ios",
    "keyboard",
    "gesture",
]
categories = ["development-tools::testing"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/goliajp/smix"

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

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

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

[[bench]]
name = "input"
path = "benches/input.rs"
harness = false

[[bench]]
name = "perf_gate"
path = "benches/perf_gate.rs"
harness = false

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

[dev-dependencies.criterion]
version = "0.7"
features = [
    "plotters",
    "cargo_bench_support",
]
default-features = false

[dev-dependencies.serde_json]
version = "1"

[lints.clippy]
result_large_err = "allow"

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

[lints.rust]
warnings = "deny"
