9 releases

0.3.1 Oct 24, 2022
0.3.0 Sep 15, 2022
0.2.2 Aug 24, 2020
0.2.1 Jul 9, 2020
0.1.2 Apr 30, 2019

#1314 in Text processing

Download history 443/week @ 2023-12-14 242/week @ 2023-12-21 251/week @ 2023-12-28 406/week @ 2024-01-04 483/week @ 2024-01-11 581/week @ 2024-01-18 569/week @ 2024-01-25 502/week @ 2024-02-01 391/week @ 2024-02-08 543/week @ 2024-02-15 392/week @ 2024-02-22 380/week @ 2024-02-29 347/week @ 2024-03-07 377/week @ 2024-03-14 535/week @ 2024-03-21 215/week @ 2024-03-28

1,496 downloads per month
Used in 4 crates (2 directly)

MIT/Apache

1MB
20K SLoC

C++ 17K SLoC // 0.1% comments M4 1.5K SLoC // 0.3% comments Visual Studio Project 820 SLoC Automake 717 SLoC // 0.0% comments Shell 118 SLoC // 0.2% comments Rust 102 SLoC Visual Studio Solution 76 SLoC

hunspell-sys

Crate version Documentation Build Status

Rust bindings for the hunspell C API.

Building

By default hunspell-sys searches for a hunspell library installation with pkg-config. By default the linkage is dynamic, if static is required use static

Optionally, the bundled code of hunspell can be compiled with the cc crate and will be linked statically when the bundled feature is present. The feature static is not required for this, the bundled feature will always link the produced hunspell artifact statically.

[dependencies]
hunspell-sys = { version = "0.3.1", features = ["bundled"] }

musl targets

If compiling for/on musl systems, libclang as used by bindgen-rs must be linked statically as well, which can be achieved with feature static_libclang.

[dependencies]
hunspell-sys = { version = "0.3.1", features = ["bundled", "static_libclang"] }

No runtime deps

~0–3MB
~48K SLoC