mirror of
https://github.com/beerpiss/saekawa.git
synced 2024-11-30 18:24:30 +01:00
fix: handle case where import is polled wayy too fast
This commit is contained in:
parent
9e8bc35479
commit
44104e0562
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -934,7 +934,7 @@ checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "saekawa"
|
name = "saekawa"
|
||||||
version = "0.4.1"
|
version = "0.4.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"aes",
|
"aes",
|
||||||
"cbc",
|
"cbc",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "saekawa"
|
name = "saekawa"
|
||||||
version = "0.4.1"
|
version = "0.4.2"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "0BSD"
|
license = "0BSD"
|
||||||
|
|
||||||
|
@ -23,10 +23,10 @@ pub enum ImportResponse {
|
|||||||
Completed(ImportDocument),
|
Completed(ImportDocument),
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone, Serialize, Deserialize, Default)]
|
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||||
pub struct ImportProgress {
|
pub enum ImportProgress {
|
||||||
description: String,
|
NotStarted(u32),
|
||||||
value: i32,
|
Ongoing { description: String },
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||||
|
Loading…
Reference in New Issue
Block a user