mirror of
https://github.com/beerpiss/saekawa.git
synced 2024-11-14 10:37:40 +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]]
|
||||
name = "saekawa"
|
||||
version = "0.4.1"
|
||||
version = "0.4.2"
|
||||
dependencies = [
|
||||
"aes",
|
||||
"cbc",
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "saekawa"
|
||||
version = "0.4.1"
|
||||
version = "0.4.2"
|
||||
edition = "2021"
|
||||
license = "0BSD"
|
||||
|
||||
|
@ -23,10 +23,10 @@ pub enum ImportResponse {
|
||||
Completed(ImportDocument),
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, Default)]
|
||||
pub struct ImportProgress {
|
||||
description: String,
|
||||
value: i32,
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub enum ImportProgress {
|
||||
NotStarted(u32),
|
||||
Ongoing { description: String },
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
|
Loading…
Reference in New Issue
Block a user