Move API Task type to shared crate contextswitch-types

This commit is contained in:
2022-01-09 14:11:36 +01:00
parent 681ec76fd5
commit cd9c4a3553
7 changed files with 180 additions and 414 deletions

View File

@@ -1,5 +1,5 @@
[package]
name = "contextswitch"
name = "contextswitch-api"
version = "0.1.0"
edition = "2021"
authors = ["David Rousselie <david@rousselie.name>"]
@@ -9,20 +9,21 @@ path = "src/lib.rs"
[[bin]]
path = "src/main.rs"
name = "contextswitch"
name = "contextswitch-api"
[dependencies]
actix-web = "=4.0.0-beta.10"
actix-http = "=3.0.0-beta.11"
serde = "1.0.130"
serde_json = "1.0.71"
uuid = { version = "0.8.2", features = ["serde"] }
chrono = { version = "0.4.19", features = ["serde"] }
mktemp = "0.4.1"
contextswitch-types = { path = "../types" }
actix-web = "=4.0.0-beta.18"
actix-http = "=3.0.0-beta.17"
serde = { version = "1.0.0", features = ["derive"] }
serde_json = "1.0"
uuid = { version = "0.8.0", features = ["serde"] }
chrono = { version = "0.4.0", features = ["serde"] }
mktemp = "0.4.0"
configparser = "3.0.0"
env_logger = "0.9.0"
dotenv = "0.15.0"
listenfd = "0.3.5"
listenfd = "0.3.0"
[dev-dependencies]
actix-rt = "2"