summaryrefslogtreecommitdiffstats
path: root/src/mastodon_client.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mastodon_client.rs')
-rw-r--r--src/mastodon_client.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mastodon_client.rs b/src/mastodon_client.rs
index 3fc0739..d5e935b 100644
--- a/src/mastodon_client.rs
+++ b/src/mastodon_client.rs
@@ -18,6 +18,7 @@ use crate::{
/// Represents the set of methods that a Mastodon Client can do, so that
/// implementations might be swapped out for testing
#[allow(unused)]
+#[async_trait::async_trait]
pub trait MastodonClient {
/// Type that wraps streaming API streams
type Stream: Iterator<Item = Event>;