Export Emoji struct instead of emoji submodule

This commit is contained in:
Joscha 2023-01-21 13:49:54 +01:00
parent 3f5ae51a41
commit e5f1b21303
2 changed files with 4 additions and 4 deletions

View file

@ -14,9 +14,8 @@ 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
- `bot` submodule (enable the `bot` feature to use)
- `Emoji` struct for finding replacing and removing emoji in text
- `State` conversion utility methods
- `Time::new` constructor
- Debug logging using the `log` crate

View file

@ -13,8 +13,9 @@ pub mod api;
#[cfg(feature = "bot")]
pub mod bot;
pub mod conn;
pub mod emoji;
mod emoji;
mod huehash;
mod replies;
pub use emoji::Emoji;
pub use huehash::{nick_hue, nick_hue_without_removing_emoji};