diff --git a/Cargo.lock b/Cargo.lock index 571094c..b02a21c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1157,7 +1157,7 @@ dependencies = [ [[package]] name = "patched_porobot" -version = "0.15.0" +version = "1.0.0" dependencies = [ "anyhow", "base64 0.21.0", diff --git a/Cargo.toml b/Cargo.toml index 5fb01a7..66372d1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] diff --git a/README.md b/README.md index 7451da7..c7eee0e 100644 --- a/README.md +++ b/README.md @@ -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)   diff --git a/src/bin/patched_porobot_matrix.rs b/src/bin/patched_porobot_matrix.rs deleted file mode 100644 index fab64e9..0000000 --- a/src/bin/patched_porobot_matrix.rs +++ /dev/null @@ -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!(); -} diff --git a/src/lib.rs b/src/lib.rs index 3b1076a..0c9c1ba 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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; diff --git a/src/matrix/mod.rs b/src/matrix/mod.rs deleted file mode 100644 index d25c84d..0000000 --- a/src/matrix/mod.rs +++ /dev/null @@ -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.