Crate patched_porobot

source ·
Expand description

Crate providing parsing, indexing, and displaying utilities for Legends of Runeterra data files.

Usage

This is the technical documentation of the patched_porobot Rust crate.

If you are looking for the documentation of its implementations, please visit one of the following pages:

Features

patched_porobot supports conditional compilation via Cargo features.

While the data module is always included, the other modules provided by this crate may be used by selecting the features of the same name.

Binaries

Additionally, every one of the following features enables the compilation of an additional binary target:

  • telegram enables the compilation of patched_porobot_telegram, a Telegram inline bot allowing users to search and send cards in any Telegram chat;
  • discord enables the compilation of patched_porobot_discord, a Discord bot allowing Discord servers the bot is added to to search and send cards in their channels;
  • matrix enables the compilation of patched_porobot_matrix, a Matrix bot parsing messages in the rooms where it is added to to send details about the cards mentioned in messages.

patched_porobot isn’t endorsed by Riot Games and doesn’t reflect the views or opinions of Riot Games or anyone officially involved in producing or managing Riot Games properties. Riot Games, and all associated properties are trademarks or registered trademarks of Riot Games, Inc.

Modules

  • Module containing Rust models for Data Dragon bundles.
  • Module providing utilities to be used in the patched_porobot_discord executable target.
  • Module providing utilities to be used in the patched_porobot_matrix executable target.
  • Module implementing full-text search on Legends of Runeterra data, using tantivy.
  • Module providing utilities to be used in the patched_porobot_telegram executable target.

Macros

  • Macro to build a deck.