diff options
author | Daniel Schadt <kingdread@gmx.de> | 2021-03-06 12:56:09 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2021-03-06 12:56:09 +0100 |
commit | 15e573150547f956956b7c58c752e31184253fbd (patch) | |
tree | c986211e9a9b8758c85f0461b208679c28a1181b /src/discord.rs | |
parent | 9079d9ec37bfd4293347539155f1164a979379be (diff) | |
download | ezau-15e573150547f956956b7c58c752e31184253fbd.tar.gz ezau-15e573150547f956956b7c58c752e31184253fbd.tar.bz2 ezau-15e573150547f956956b7c58c752e31184253fbd.zip |
put matrix & discord functionality behind gates
serenity and matrix-sdk pull in quite a lot of dependencies, which for a
minimal use of ezau might not be wanted. Therefore, we now disable those
parts by default, and the user has to opt-in into building ezau with
Discord or Matrix functionality.
Diffstat (limited to 'src/discord.rs')
-rw-r--r-- | src/discord.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/discord.rs b/src/discord.rs index ea0ea36..c98a6c7 100644 --- a/src/discord.rs +++ b/src/discord.rs @@ -11,7 +11,7 @@ use tokio::runtime::Runtime; use log::info; use super::categories::Categorizable; -use super::logbag::{LogBag, state_emoji}; +use super::logbag::{state_emoji, LogBag}; const MAX_HOURS: i64 = 5; const MAX_MESSAGE_LENGTH: usize = 2000; |