Refactor error handling
This commit is contained in:
@@ -12,7 +12,8 @@ path = "src/main.rs"
|
||||
name = "contextswitch-api"
|
||||
|
||||
[dependencies]
|
||||
contextswitch-types = { git = "https://github.com/dax/contextswitch-types.git" }
|
||||
#contextswitch-types = { git = "https://github.com/dax/contextswitch-types.git" }
|
||||
contextswitch-types = { path = "../types" }
|
||||
actix-web = "=4.0.0-beta.19"
|
||||
actix-http = "=3.0.0-beta.18"
|
||||
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
|
||||
@@ -31,7 +32,12 @@ tracing-actix-web = "=0.5.0-beta.9"
|
||||
regex = "1.5.0"
|
||||
lazy_static = "1.4.0"
|
||||
tracing-bunyan-formatter = "0.3.2"
|
||||
thiserror = "1.0.30"
|
||||
anyhow = "1.0.53"
|
||||
|
||||
[dev-dependencies]
|
||||
reqwest = { version = "0.11.0", features = ["json"] }
|
||||
rstest = "0.12.0"
|
||||
|
||||
[profile.dev.package.backtrace]
|
||||
opt-level = 3
|
||||
|
||||
Reference in New Issue
Block a user