update deps
This commit is contained in:
parent
0d984bfaa5
commit
598c9109f8
3 changed files with 692 additions and 779 deletions
1460
Cargo.lock
generated
1460
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -228,13 +228,10 @@ impl JocalService {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||||
|
#[derive(Default)]
|
||||||
pub enum RunningState {
|
pub enum RunningState {
|
||||||
|
#[default]
|
||||||
Running,
|
Running,
|
||||||
Stopping,
|
Stopping,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Default for RunningState {
|
|
||||||
fn default() -> Self {
|
|
||||||
Self::Running
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -315,7 +315,7 @@ pub async fn handle_receive_upload(
|
||||||
|
|
||||||
log::info!(
|
log::info!(
|
||||||
"saved content from {} to {file_path:?}",
|
"saved content from {} to {file_path:?}",
|
||||||
&session.sender.alias
|
session.sender.alias
|
||||||
);
|
);
|
||||||
if let Ok(id) = Julid::from_str(session_id) {
|
if let Ok(id) = Julid::from_str(session_id) {
|
||||||
service.send_event(JocalEvent::ReceivedInbound(id));
|
service.send_event(JocalEvent::ReceivedInbound(id));
|
||||||
|
|
@ -344,7 +344,7 @@ pub async fn handle_cancel(
|
||||||
|
|
||||||
info!(
|
info!(
|
||||||
"{} cancelled the transfer of {}",
|
"{} cancelled the transfer of {}",
|
||||||
&session.sender.alias,
|
session.sender.alias,
|
||||||
session
|
session
|
||||||
.files
|
.files
|
||||||
.values()
|
.values()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue