mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 02:20:39 +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 = "1"
|
||||||
serde_json = "1"
|
serde_json = "1"
|
||||||
tokio = { version = "1", features = ["rt", "macros", "net", "rt-multi-thread"] }
|
tokio = { version = "1", features = ["rt", "macros", "net", "rt-multi-thread"] }
|
||||||
jsonrpsee = { version = "0.24", features = [
|
jsonrpsee = { version = "0.25", features = [
|
||||||
"macros",
|
"macros",
|
||||||
"async-client",
|
"async-client",
|
||||||
"http-client",
|
"http-client",
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
use futures_util::{stream::StreamExt, Sink, SinkExt, Stream};
|
use futures_util::{stream::StreamExt, Sink, SinkExt, Stream};
|
||||||
use jsonrpsee::core::{
|
use jsonrpsee::core::client::{ReceivedMessage, TransportReceiverT, TransportSenderT};
|
||||||
async_trait,
|
|
||||||
client::{ReceivedMessage, TransportReceiverT, TransportSenderT},
|
|
||||||
};
|
|
||||||
use thiserror::Error;
|
use thiserror::Error;
|
||||||
|
|
||||||
pub mod ipc;
|
pub mod ipc;
|
||||||
|
@ -21,7 +18,6 @@ struct Sender<T: Send + Sink<String>> {
|
||||||
inner: T,
|
inner: T,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[async_trait]
|
|
||||||
impl<T: Send + Sink<String, Error = impl std::error::Error> + Unpin + 'static> TransportSenderT
|
impl<T: Send + Sink<String, Error = impl std::error::Error> + Unpin + 'static> TransportSenderT
|
||||||
for Sender<T>
|
for Sender<T>
|
||||||
{
|
{
|
||||||
|
@ -48,7 +44,6 @@ struct Receiver<T: Send + Stream> {
|
||||||
inner: T,
|
inner: T,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[async_trait]
|
|
||||||
impl<T: Send + Stream<Item = Result<String, std::io::Error>> + Unpin + 'static> TransportReceiverT
|
impl<T: Send + Stream<Item = Result<String, std::io::Error>> + Unpin + 'static> TransportReceiverT
|
||||||
for Receiver<T>
|
for Receiver<T>
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue