Rust bindings for CRFSuite
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
$ cargo build
$ cargo test
Was tested on various x86_64 linux distros, RaspberryPi, macOS, iOS and Android
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
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
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.