-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
34 lines (28 loc) · 902 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[package]
name = "rocket-validation"
version = "0.2.0"
edition = "2021"
license = "MIT"
readme = "README.md"
repository = "https://github.com/somehowchris/rocket-validation"
keywords = ["rocket", "validation", "json", "data", "validator"]
categories = ["web-programming"]
rust-version = "1.59.0"
description = "Rocket Guards to support validation using validator"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
path = "src/lib.rs"
[dependencies]
rocket = { version = "0.5.0", default-features = false, features = [
"json",
] }
validator = { version = "0.18.0", features = ["derive"] }
[[example]]
name = "json-validation"
path = "examples/json-validation/src/main.rs"
[[example]]
name = "query-validation"
path = "examples/query-validation/src/main.rs"
[[example]]
name = "form-validation"
path = "examples/form-validation/src/main.rs"