Add bot feature and submodule
This commit is contained in:
parent
84af98b5aa
commit
0ea72259f6
4 changed files with 7 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ Procedure when bumping the version number:
|
|||
## Unreleased
|
||||
|
||||
### Added
|
||||
- `bot` subodule (enable the `bot` feature to use)
|
||||
- All emoji known to the vanilla client
|
||||
- Finding, replacing and removing emoji in text
|
||||
- `State` conversion utility methods
|
||||
|
|
|
|||
|
|
@ -3,6 +3,9 @@ name = "euphoxide"
|
|||
version = "0.2.0"
|
||||
edition = "2021"
|
||||
|
||||
[features]
|
||||
bot = []
|
||||
|
||||
[dependencies]
|
||||
futures-util = { version = "0.3.25", default-features = false, features = ["sink"] }
|
||||
serde = { version = "1.0.149", features = ["derive"] }
|
||||
|
|
|
|||
1
src/bot.rs
Normal file
1
src/bot.rs
Normal file
|
|
@ -0,0 +1 @@
|
|||
//! Building blocks for bots.
|
||||
|
|
@ -10,6 +10,8 @@
|
|||
#![warn(clippy::use_self)]
|
||||
|
||||
pub mod api;
|
||||
#[cfg(feature = "bot")]
|
||||
pub mod bot;
|
||||
pub mod conn;
|
||||
pub mod emoji;
|
||||
mod huehash;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue