From e5f1b21303964682d00ba5e7542ad610bfbaace3 Mon Sep 17 00:00:00 2001 From: Joscha Date: Sat, 21 Jan 2023 13:49:54 +0100 Subject: [PATCH] Export Emoji struct instead of emoji submodule --- CHANGELOG.md | 5 ++--- src/lib.rs | 3 ++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a704fd..373049a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/lib.rs b/src/lib.rs index f736ff4..6b96b8e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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};