mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-28 18:10:38 +00:00
Update dependencies
This commit is contained in:
parent
887ed3bb44
commit
1b7f755590
3 changed files with 295 additions and 226 deletions
512
client/Cargo.lock
generated
512
client/Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -12,7 +12,7 @@ log = "0.4"
|
|||
serde = "1"
|
||||
serde_json = "1"
|
||||
tokio = { version = "1", features = ["rt", "macros", "net", "rt-multi-thread"] }
|
||||
jsonrpsee = { version = "0.24", features = [
|
||||
jsonrpsee = { version = "0.25", features = [
|
||||
"macros",
|
||||
"async-client",
|
||||
"http-client",
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
use futures_util::{stream::StreamExt, Sink, SinkExt, Stream};
|
||||
use jsonrpsee::core::{
|
||||
async_trait,
|
||||
client::{ReceivedMessage, TransportReceiverT, TransportSenderT},
|
||||
};
|
||||
use jsonrpsee::core::client::{ReceivedMessage, TransportReceiverT, TransportSenderT};
|
||||
use thiserror::Error;
|
||||
|
||||
pub mod ipc;
|
||||
|
@ -21,7 +18,6 @@ struct Sender<T: Send + Sink<String>> {
|
|||
inner: T,
|
||||
}
|
||||
|
||||
#[async_trait]
|
||||
impl<T: Send + Sink<String, Error = impl std::error::Error> + Unpin + 'static> TransportSenderT
|
||||
for Sender<T>
|
||||
{
|
||||
|
@ -48,7 +44,6 @@ struct Receiver<T: Send + Stream> {
|
|||
inner: T,
|
||||
}
|
||||
|
||||
#[async_trait]
|
||||
impl<T: Send + Stream<Item = Result<String, std::io::Error>> + Unpin + 'static> TransportReceiverT
|
||||
for Receiver<T>
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue