Crate bibleref

Source
Expand description

§A Rust Crate for managing Bible references, books, chapters and verses

Bibleref is a lightweight Rust crate which supports the management of Bible references including parsing, validity checks and output. It is designed to simplify the usage of God’s infallible and Holy Word for computing purposes with the aim to simplify the spreading of the good news. May it be used for the glory of God!

Modules§

bible
The Bible module includes the data structure around a Bible, including books, chapters and verses. It also handles the parsing process which determins the validity of Bible references.
errors
This module contains several error types that can be returned by the crate’s functions and come from the Bible module.
referencing
This module contains structures and functions for representing and understanding Bible references in human understandable language.

Functions§

parse_bible_reference
Parses a given bible reference with all supported languages and returns an Result<BibleReference, Box> depending on whether the parsing was successful.
translate_bible_reference
Translates a Bible reference in an other language