hunspell-sys

Crates.iohunspell-sys
lib.rshunspell-sys
version0.3.1
sourcesrc
created_at2019-04-25 14:58:10.876498
updated_at2022-10-24 22:27:23.336016
descriptionBindings to the hunspell C API.
homepage
repositoryhttps://github.com/euclio/hunspell-sys
max_upload_size
id130149
size2,804,165
Andy Russell (euclio)

documentation

README

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"] }
Commit count: 24

cargo fmt