Crate nlprule_build[][src]

This crate provides a builder to make it easier to use the correct binaries for nlprule. See README.md for details.

Structs

BinaryBuilder

Places all nlprule binaries for the given languages in some directory.

Enums

Binary
Error

Functions

get_binary

Stores the binaries for the given language and version in out_dir. Tries downloading the binaries from their distribution source. Optionally caches them at some directory.

get_build_dir
supported_language_codes

Gets the language codes for the currently supported languages in ISO 639-1 (two-letter) format e. g. "en".