[package]
edition = "2024"
rust-version = "1.85"
name = "spellkit"
version = "0.4.0"
authors = [
"Andy Russell <arussell123@gmail.com>",
"Robert Mongold <rtmongold@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform native spell checking for Rust (NSSpellChecker, Windows Spell Checker, Hunspell)."
homepage = "https://github.com/rtmongold/spellkit"
documentation = "https://docs.rs/spellkit"
readme = "README.md"
keywords = [
"spellcheck",
"spellchecker",
"hunspell",
"nsspellchecker",
]
categories = [
"os",
"text-processing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rtmongold/spellkit"
[lib]
name = "spellkit"
path = "src/lib.rs"
[[example]]
name = "check"
path = "examples/check.rs"
[[example]]
name = "highlight"
path = "examples/highlight.rs"
[[example]]
name = "locale"
path = "examples/locale.rs"
[[example]]
name = "suggestions"
path = "examples/suggestions.rs"
[dependencies.cfg-if]
version = "1.0.4"
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.hunspell-sys]
version = "0.3.1"
[target.'cfg(target_os="macos")'.dependencies.objc2]
version = "0.6"
[target.'cfg(target_os="macos")'.dependencies.objc2-app-kit]
version = "0.3"
features = ["NSSpellChecker"]
[target.'cfg(target_os="macos")'.dependencies.objc2-foundation]
version = "0.3"
features = [
"NSString",
"NSArray",
"NSRange",
]
[target."cfg(windows)".dependencies.windows]
version = "0.62"
features = [
"Win32_Foundation",
"Win32_Globalization",
"Win32_System_Com",
]