mirror of
https://github.com/actix/examples
synced 2024-11-27 16:02:57 +01:00
8f3ce39d05
* Add JSON decode error example * cargo fmt * Use more appropriate response codes * curl -i similar for all examples * Add one more example of 422 response * use to_string instead of empty format!
13 lines
296 B
TOML
13 lines
296 B
TOML
[package]
|
|
name = "json_decode_error"
|
|
version = "0.1.0"
|
|
authors = ["Stig Johan Berggren <stigjb@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
actix-web = "2.0.0"
|
|
actix-rt = "1.0.0"
|
|
serde = "1.0.104"
|