-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
75 lines (55 loc) · 1.5 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[package]
description = "Valitron is an ergonomics, functional and configurable validator"
edition = "2021"
keywords = ["validator", "serde", "ergonomics"]
license = "MIT OR Apache-2.0"
name = "valitron"
repository = "https://github.com/tu6ge/valitron"
version = "0.5.3"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
full = ["serde/derive", "idna", "regex"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[package.metadata.playground]
features = ["full"]
[[example]]
name = "axum"
required-features = ["full"]
[[example]]
name = "actix"
required-features = ["full"]
[[example]]
name = "rocket"
required-features = ["full"]
[[example]]
name = "enum_msg"
[[example]]
name = "enum_msg_full"
required-features = ["full"]
[[example]]
name = "url"
[[bench]]
harness = false
name = "email"
required-features = ["full"]
[[bench]]
harness = false
name = "full"
[dependencies]
idna = {version = "0.5", optional = true}
regex = {version = "1", default-features = false, optional = true}
serde = {version = "^1.0"}
[dev-dependencies]
serde = {version = "^1.0", features = ["derive"]}
serde_json = "1.0.107"
criterion = "0.5"
axum = {version = "0.6.20", features = ["tokio", "form"]}
thiserror = "1.0.29"
tokio = {version = "1.32.0", features = ["full"]}
actix-web = {version = "4.4.0"}
rocket = "=0.5.0-rc.3"
url = "2.5.0"
validator = {version = "0.18", features = ["derive"]}
diesel = {version = "2.1.6", features = ["postgres"]}