mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Update Actix crates to latest versions
This avoids a vulnerability in tokio (#3085). The major version updates of both actix-web and actix-rt required some signficant changes. Chief among those, it turns out we were relying on actix-rt to run the HttpServer in a different thread from the rest of the test, so that we could talk to it from sync code in the test thread. This no longer works, so the sync code is now run in a dedicated thread with `actix_rt::task::spawn_blocking`.
This commit is contained in:
parent
33366e2f05
commit
52fdc6a877
10 changed files with 466 additions and 990 deletions
|
@ -9,7 +9,7 @@ publish = false
|
|||
|
||||
[dependencies]
|
||||
uuid = { version = "^1.3.0", features = ["serde", "v4"] }
|
||||
actix-web = "^3.3.2"
|
||||
actix-web = "^4.3.1"
|
||||
anyhow = "1.0"
|
||||
thiserror = "1.0"
|
||||
futures = "^0.3.25"
|
||||
|
@ -22,6 +22,6 @@ rusqlite = { version = "0.29", features = ["bundled"] }
|
|||
chrono = { version = "^0.4.22", features = ["serde"] }
|
||||
|
||||
[dev-dependencies]
|
||||
actix-rt = "^1.1.1"
|
||||
actix-rt = "2"
|
||||
tempfile = "3"
|
||||
pretty_assertions = "1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue