update kuska dependency path and fix private msg docs
This commit is contained in:
parent
ab4077b115
commit
1d0e31541d
|
@ -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",
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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<String, GolgiError> {
|
||||
pub async fn publish_private(
|
||||
&mut self,
|
||||
text: String,
|
||||
|
|
Loading…
Reference in New Issue