From 2207285cb51ac8917545a05cafdb6765fdde17e6 Mon Sep 17 00:00:00 2001 From: Max Audron Date: Mon, 4 Jan 2021 18:22:47 +0100 Subject: add message parsing feature flags --- Cargo.toml | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 4d35ab4..f05163e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,6 +30,19 @@ futures = { version = "0.3", optional = true } [features] framing = ["tokio", "tokio-util", "flate2"] +# Enable all the quassel features +all-quassel-features = ["long-message-id", "long-time", "rich-messages", "sender-prefixes"] + +# Serialize message IDs as i64 +long-message-id = [] +# Serialize Message Time as i64 +long-time = [] +# Add avatar url and real name to messages +rich-messages = [] +# Show prefixes for senders in backlog +sender-prefixes = [] + + default = [] [package.metadata.docs.rs] -- cgit v1.2.3