Add a new trait to help return detailed JSON error message

This commit is contained in:
2022-09-20 14:06:34 +00:00
committed by GitHub
parent cbcd319aaf
commit bee6f4e4ba
6 changed files with 73 additions and 18 deletions

View File

@@ -9,6 +9,7 @@ edition = "2018"
anyhow = { version = "1.0", optional = true }
async-trait = { version = "0.1", optional = true }
atty = "0.2"
base64 = { version = "0.13", optional = true }
bytes = { version = "1.2", optional = true }
c_fixed_string = { version = "0.2", optional = true }
cfg-if = "1"
@@ -54,7 +55,7 @@ db = ["anyhow", "async-trait", "bytes"]
db_all = ["db", "db_sqlite"]
db_sqlite = ["rusqlite"]
exif = ["bindgen", "c_fixed_string", "cmake", "link-cplusplus", "utf16string"]
server = ["async-trait", "db", "hyper", "multipart", "openssl"]
server = ["async-trait", "base64", "db", "hyper", "multipart", "openssl"]
ugoira = ["avdict", "bindgen", "cmake", "link-cplusplus"]
[profile.release-with-debug]