mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-12 10:03:51 +00:00
- packs::set_packs_dir / reload / installed / licence_texts / load_errors / embedded_locales - spelling lookup: dictionaries folder -> installed pack -> system Hunspell -> (English) core list - hyphenation: installed pack patterns before the embedded ones, reloaded without a restart - hostile packs: size caps, no symlinks, pack.toml path traversal rejected, errors reported - build.rs embeds only en-* unless CRAFT_PROOF_EMBED names more (Language builds) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
22 lines
672 B
TOML
22 lines
672 B
TOML
[package]
|
|
name = "craft-proof"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
repository.workspace = true
|
|
description = "Proofing per language for the Craft Apps: spelling, suggestions, grammar checks and hyphenation, a Hunspell .aff/.dic reader, and user and ignored words. Language data is embedded from craft-i18n at build time (CRAFT_I18N_DIR)."
|
|
build = "build.rs"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
log = "0.4"
|
|
miniz_oxide = "0.9"
|
|
toml = { version = "1", default-features = false, features = ["parse", "serde", "std"] }
|
|
unicode-normalization = "0.1"
|
|
|
|
[dev-dependencies]
|
|
proptest = { workspace = true }
|