1
Fork 0
mirror of https://github.com/Steffo99/patched-porobot.git synced 2024-10-16 09:37:27 +00:00

Remove unplanned features

This commit is contained in:
Steffo 2024-10-01 14:58:19 +02:00
parent d61ca9b288
commit 04d4ad46a1
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0
6 changed files with 1 additions and 26 deletions

2
Cargo.lock generated
View file

@ -1157,7 +1157,7 @@ dependencies = [
[[package]]
name = "patched_porobot"
version = "0.15.0"
version = "1.0.0"
dependencies = [
"anyhow",
"base64 0.21.0",

View file

@ -46,7 +46,6 @@ rand = { version = "0.8.5", optional = true }
# discord
serenity = { version = "0.11.5", features = ["client", "cache", "gateway", "rustls_backend", "model"], default-features = false, optional = true }
anyhow = { version = "^1.0.68", optional = true }
# matrix
[dev-dependencies]
@ -60,7 +59,6 @@ exec = ["pretty_env_logger"]
search = ["tantivy"]
telegram = ["exec", "search", "jpg", "teloxide", "tokio", "md5", "rand"]
discord = ["exec", "search", "serenity", "tokio", "anyhow"]
matrix = ["exec", "search"]
[lib]
@ -73,7 +71,3 @@ required-features = ["telegram"]
[[bin]]
name = "patched_porobot_discord"
required-features = ["discord"]
[[bin]]
name = "patched_porobot_matrix"
required-features = ["matrix"]

View file

@ -13,10 +13,6 @@ Legends of Runeterra game data crate and chat bots
[![Telegram Bot](https://img.shields.io/badge/telegram%20bot-done-success)](https://t.me/patchedporobot)
[![Discord Bot](https://img.shields.io/badge/discord%20bot-done-success)](https://discord.com/api/oauth2/authorize?client_id=1071989978743193672&scope=applications.commands)
![Matrix Bot](https://img.shields.io/badge/matrix%20bot-to%20do-inactive)
![Fediverse Bot](https://img.shields.io/badge/fediverse%20bot-to%20do-inactive)
[![Crates.io](https://img.shields.io/crates/v/patched_porobot)](https://crates.io/crates/patched_porobot)

View file

@ -1,7 +0,0 @@
//! This bot isn't yet available.
#![doc(html_logo_url = "https://raw.githubusercontent.com/Steffo99/patched-porobot/main/icon.png")]
fn main() {
todo!();
}

View file

@ -8,7 +8,6 @@
//!
//! - [Usage of the Telegram bot](../patched_porobot_telegram/index.html)
//! - [Usage of the Discord bot](../patched_porobot_discord/index.html)
//! - ~~[Usage of the Matrix bot](../patched_porobot_matrix/index.html)~~
//!
//! # Features
//!
@ -22,7 +21,6 @@
//!
//! - [`telegram`] enables the compilation of `patched_porobot_telegram`, a [Telegram inline bot](https://core.telegram.org/bots/api) allowing users to search and send cards in any Telegram chat;
//! - [`discord`] enables the compilation of `patched_porobot_discord`, a [Discord bot](https://discord.com/developers/docs/intro#bots-and-apps) 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~~.
//!
//! # Legal
//!
@ -41,6 +39,3 @@ pub mod telegram;
#[cfg(feature = "discord")]
pub mod discord;
#[cfg(feature = "matrix")]
pub mod matrix;

View file

@ -1,3 +0,0 @@
//! Module providing utilities to be used in the `patched_porobot_matrix` executable target.
//!
//! While adding new features to this module, remember that binaries [can only access the public API of the crate](https://doc.rust-lang.org/cargo/reference/cargo-targets.html#binaries), as they considered a separate crate from the rest of the project.