mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-11 04:52:13 +00:00
The language-independent spelling mechanism from WordCraft's wordcraft-proof (storytold/craft-libs#30): the affix engine (AffixDict, with its compact serialized form), finding and loading an installed Hunspell .aff/.dic pair, and BCP 47 tag normalization. What was WordCraft policy is now a parameter: hunspell::Search carries the app's dictionaries-folder setting, its environment variable and its Windows folder name, instead of a global and hard-coded WordCraft names. Which languages an app proofs, suggestion ranking, grammar rules and user dictionaries stay in the apps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
25 lines
592 B
TOML
25 lines
592 B
TOML
[workspace]
|
|
resolver = "3"
|
|
members = ["crates/*"]
|
|
|
|
[workspace.package]
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
license = "MIT OR Apache-2.0"
|
|
rust-version = "1.95"
|
|
repository = "https://github.com/storytold/craft-libs"
|
|
|
|
[workspace.dependencies]
|
|
# internal: add each crate here as `craft-<name> = { path = "crates/<name>" }`
|
|
craft-print = { path = "crates/print" }
|
|
craft-proof = { path = "crates/proof" }
|
|
craft-ui = { path = "crates/ui" }
|
|
egui = { version = "0.36", default-features = false }
|
|
|
|
[workspace.lints.rust]
|
|
unsafe_code = "forbid"
|
|
|
|
[workspace.lints.clippy]
|
|
dbg_macro = "warn"
|
|
todo = "warn"
|