[package]
edition = "2021"
rust-version = "1.91.0"
name = "im-switch"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A cross-platform input method switcher — Rust crate + CLI"
readme = "README.md"
keywords = [
"input-method",
"ime",
"fcitx5",
"ibus",
"cross-platform",
]
categories = ["os"]
license = "MIT"
repository = "https://github.com/drop-stones/im-switch"
[lib]
name = "im_switch"
path = "src/lib.rs"
[[bin]]
name = "im-switch"
path = "src/main.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[dependencies.clap]
version = "4.5"
features = ["derive"]
[dependencies.thiserror]
version = "2"
[dev-dependencies.serial_test]
version = "3.4.0"
[target.'cfg(target_os = "linux")'.dependencies.fcitx5-dbus]
version = "0.1"
[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
version = "0.10"
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.62"
features = [
"Win32_Foundation",
"Win32_UI_WindowsAndMessaging",
"Win32_UI_Input_Ime",
"Win32_UI_Input_KeyboardAndMouse",
]