aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorMax Audron <audron@cocaine.farm>2021-01-04 18:22:47 +0100
committerMax Audron <audron@cocaine.farm>2021-01-04 18:23:20 +0100
commit2207285cb51ac8917545a05cafdb6765fdde17e6 (patch)
tree0758b640ff2a1e75ea9e404fda697a3240ee9868 /Cargo.toml
parentfix parsing of datetime when value is -1 (diff)
add message parsing feature flags
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml13
1 files changed, 13 insertions, 0 deletions
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]