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 ## Unreleased
### Added ### Added
- `bot` subodule (enable the `bot` feature to use) - `bot` submodule (enable the `bot` feature to use)
- All emoji known to the vanilla client - `Emoji` struct for finding replacing and removing emoji in text
- Finding, replacing and removing emoji in text
- `State` conversion utility methods - `State` conversion utility methods
- `Time::new` constructor - `Time::new` constructor
- Debug logging using the `log` crate - Debug logging using the `log` crate

View file

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