From e40c337a28c4507a043973bdd1f06bca6cce0269 Mon Sep 17 00:00:00 2001 From: Max Audron Date: Sun, 25 Jul 2021 17:43:15 +0200 Subject: add Traits for syncable objects --- Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 620f4e0..520b917 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -38,6 +38,10 @@ framing = ["tokio", "tokio-util", "flate2", "bytes"] # Enable all the quassel features all-quassel-features = ["long-message-id", "long-time", "rich-messages", "sender-prefixes", "authenticators"] +# Either act as a client or a server +client = [] +server = [] + # Serialize message IDs as i64 long-message-id = [] # Serialize Message Time as i64 @@ -50,7 +54,7 @@ sender-prefixes = [] authenticators = [] -default = [] +default = ["client"] [package.metadata.docs.rs] # document all features -- cgit v1.2.3