# 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 = "afrim"
version = "0.7.0"
authors = ["Brady Fomegne <brady.fomegne@outlook.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library of the afrim input method."
readme = "README.md"
keywords = [
    "ime",
    "keyboard",
]
categories = ["accessibility"]
license = "MPL-2.0"
repository = "https://github.com/fodydev/afrim"

[features]
default = [
    "rhai",
    "strsim",
]
rhai = [
    "afrim-config/rhai",
    "afrim-translator/rhai",
]
serde = [
    "dep:serde",
    "afrim-translator/serde",
]
strsim = ["afrim-translator/strsim"]

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

[[bin]]
name = "afrim"
path = "src/main.rs"
doc = true

[dependencies.afrim-config]
version = "0.4.8"
default-features = false

[dependencies.afrim-preprocessor]
version = "0.7.0"
default-features = false

[dependencies.afrim-translator]
version = "0.2.4"
default-features = false

[dependencies.anyhow]
version = "1.0.103"

[dependencies.clap]
version = "4.6.1"
features = ["derive"]

[dependencies.enigo]
version = "0.6.1"

[dependencies.rdev]
version = "0.5.3"

[dependencies.serde]
version = "1.0.228"
optional = true

[dev-dependencies.afrish]
version = "0.1.1"
