Skip to content

snipsco/crfsuite-rs

crfsuite-rs

Build Status Build Status

Rust bindings for CRFSuite

Requirements

This lib uses Bindgen to generate FFI bindings, hence you need to have clang installed

$ sudo apt-get install llvm-3.9-dev libclang-3.9-dev clang-3.9 # ubuntu, see http://apt.llvm.org/ before 16.10
$ sudo pacman -S clang # ArchLinux
$ brew install [email protected] # macOS

Building and testing

$ cargo build
$ cargo test

Supported platforms

Was tested on various x86_64 linux distros, RaspberryPi, macOS, iOS and Android

License

Note: files in the crfsuite-sys/c directory are copied from the crfsuite and liblbfgs and are not covered by the following licence statement.

All original work licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.