Add bot feature and submodule

This commit is contained in:
Joscha 2023-01-21 00:08:03 +01:00
parent 84af98b5aa
commit 0ea72259f6
4 changed files with 7 additions and 0 deletions

View file

@ -14,6 +14,7 @@ Procedure when bumping the version number:
## Unreleased ## Unreleased
### Added ### Added
- `bot` subodule (enable the `bot` feature to use)
- All emoji known to the vanilla client - All emoji known to the vanilla client
- Finding, replacing and removing emoji in text - Finding, replacing and removing emoji in text
- `State` conversion utility methods - `State` conversion utility methods

View file

@ -3,6 +3,9 @@ name = "euphoxide"
version = "0.2.0" version = "0.2.0"
edition = "2021" edition = "2021"
[features]
bot = []
[dependencies] [dependencies]
futures-util = { version = "0.3.25", default-features = false, features = ["sink"] } futures-util = { version = "0.3.25", default-features = false, features = ["sink"] }
serde = { version = "1.0.149", features = ["derive"] } serde = { version = "1.0.149", features = ["derive"] }

1
src/bot.rs Normal file
View file

@ -0,0 +1 @@
//! Building blocks for bots.

View file

@ -10,6 +10,8 @@
#![warn(clippy::use_self)] #![warn(clippy::use_self)]
pub mod api; pub mod api;
#[cfg(feature = "bot")]
pub mod bot;
pub mod conn; pub mod conn;
pub mod emoji; pub mod emoji;
mod huehash; mod huehash;