spellbook 0.4.1

A spellchecking library compatible with Hunspell dictionaries
Documentation
# 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"
rust-version = "1.70"
name = "spellbook"
version = "0.4.1"
authors = ["Michael Davis <mcarsondavis@gmail.com>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A spellchecking library compatible with Hunspell dictionaries"
readme = "README.md"
keywords = [
    "spellcheck",
    "no_std",
]
license = "MPL-2.0"
repository = "https://github.com/helix-editor/spellbook"

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

[[example]]
name = "check"
path = "examples/check.rs"

[[example]]
name = "load-dictionary"
path = "examples/load-dictionary.rs"

[[example]]
name = "prose"
path = "examples/prose.rs"

[[example]]
name = "suggest"
path = "examples/suggest.rs"

[[test]]
name = "legacy"
path = "tests/legacy.rs"

[[bench]]
name = "check"
path = "benches/check.rs"

[[bench]]
name = "compilation"
path = "benches/compilation.rs"

[[bench]]
name = "slice-contains"
path = "benches/slice-contains.rs"

[dependencies.foldhash]
version = ">=0.1"
optional = true
default-features = false

[dependencies.hashbrown]
version = ">=0.15"
default-features = false

[dev-dependencies.chardetng]
version = "0.1"

[dev-dependencies.encoding_rs]
version = "0.8"

[dev-dependencies.once_cell]
version = "1.19"

[features]
default = ["default-hasher"]
default-hasher = ["dep:foldhash"]