library_of_babel 0.1.4

Implementation of Library of Babel in Rust
Documentation

The Library of Babel

A Rust implementation of The Library of Babel.

This crate also includes file for executable with the option to search for a page with specific text or reading a specific page.

Usage

Pages are identified in the library by the wall, shelf, volume, page number in base10, and room address in base64 separated by colons.

wall:shelf:volume:page:hex_room

Explore the Library using the search and read commands.

Search

Search for strings keeping in mind that the query must be all lowercase a-z, comma, period, or space.

babel search "hello world"
# Or if running straight from cargo:
cargo run -- search "hello world"

Read

Pass in a library location with the format wall:shelf:volume:page:hex_room to the read subcommand.

babel read 2:4:18:310:W3IRDhEX_n4me
# Or if running straight from cargo:
cargo run -- read 2:4:18:310:W3IRDhEX_n4me

Thanks to | Related Projects

License

The license is GNU General Public License v3.0