# 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 = "ktype"
version = "0.1.1"
build = false
exclude = [
    ".github",
    "docs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A terminal-native typing test inspired by Monkeytype — fast, minimal, and offline-first."
homepage = "https://github.com/hansonguyen/ktype"
readme = "README.md"
keywords = [
    "typing",
    "terminal",
    "wpm",
    "tui",
    "monkeytype",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/hansonguyen/ktype"

[[bin]]
name = "ktype"
path = "src/main.rs"

[dependencies.anyhow]
version = "1"

[dependencies.crossterm]
version = "0.28"

[dependencies.rand]
version = "0.10"

[dependencies.ratatui]
version = "0.29"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dev-dependencies.insta]
version = "1.47"
features = ["yaml"]

[dev-dependencies.proptest]
version = "1.11"

[dev-dependencies.tempfile]
version = "3"

[profile.release]
lto = true
codegen-units = 1
strip = "symbols"
