|
|
|
@ -1,19 +1,8 @@
|
|
|
|
|
use std::process;
|
|
|
|
|
|
|
|
|
|
use async_std::stream::StreamExt;
|
|
|
|
|
use futures::TryStreamExt;
|
|
|
|
|
|
|
|
|
|
use golgi::{
|
|
|
|
|
api::{
|
|
|
|
|
friends::{FriendsHops, RelationshipQuery},
|
|
|
|
|
get_subset::{SubsetQuery, SubsetQueryOptions},
|
|
|
|
|
history_stream::CreateHistoryStream,
|
|
|
|
|
tangles::TanglesThread,
|
|
|
|
|
},
|
|
|
|
|
messages::{SsbMessageContentType, SsbMessageKVT},
|
|
|
|
|
sbot::Keystore,
|
|
|
|
|
GolgiError, Sbot,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
use golgi::{api::tangles::TanglesThread, sbot::Keystore, GolgiError, Sbot};
|
|
|
|
|
|
|
|
|
|
// Golgi is an asynchronous library so we must call it from within an
|
|
|
|
|
// async function. The `GolgiError` type encapsulates all possible
|
|
|
|
|