diff --git a/Cargo.lock b/Cargo.lock index 59aa7c6..2801b0a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -640,6 +640,7 @@ dependencies = [ [[package]] name = "kuska-ssb" version = "0.4.0" +source = "git+https://github.com/Kuska-ssb/ssb#fb7062de606e7c9cae8dd4df402a122db46c1b77" dependencies = [ "async-std", "async-stream 0.2.1", diff --git a/Cargo.toml b/Cargo.toml index 3c2079d..460122c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,9 +19,7 @@ futures = "0.3.21" hex = "0.4.3" kuska-handshake = { version = "0.2.0", features = ["async_std"] } kuska-sodiumoxide = "0.2.5-0" -#kuska-ssb = "0.4.0" -#kuska-ssb = { git = "https://github.com/Kuska-ssb/ssb" } -kuska-ssb = { git = "https://github.com/mycognosist/ssb.git", branch = "private_messages" } +kuska-ssb = { git = "https://github.com/Kuska-ssb/ssb" } serde = { version = "1", features = ["derive"] } serde_json = "1" sha2 = "0.10.2" diff --git a/src/api/private.rs b/src/api/private.rs index 3491a41..f341135 100644 --- a/src/api/private.rs +++ b/src/api/private.rs @@ -1,9 +1,8 @@ -//! Publish and read Scuttlebutt private messages. +//! Publish Scuttlebutt private messages. //! -//! Implements the following methods: +//! Implements the following method: //! //! - [`Sbot::publish_private`] -//! - [`Sbot::read_private`] use crate::{error::GolgiError, messages::SsbMessageContent, sbot::Sbot, utils}; @@ -41,7 +40,6 @@ impl Sbot { /// Ok(()) /// } /// ``` - //pub async fn publish_private(&mut self, msg: PrivateMessage) -> Result { pub async fn publish_private( &mut self, text: String,