-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
63 lines (52 loc) · 2.07 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
[package]
name = "apistos-core"
description = "Actix-web OpenAPI v3.0 documentation generator"
readme = "README.md"
keywords = ["actix", "actix-web", "openapi", "oas3", "documentation"]
categories = ["web-programming"]
version.workspace = true
authors.workspace = true
edition.workspace = true
repository.workspace = true
publish.workspace = true
rust-version.workspace = true
license.workspace = true
[dependencies]
pin-project = { workspace = true, optional = true }
schemars = { workspace = true }
actix-web = { workspace = true, optional = true }
actix-web-lab = { workspace = true, optional = true }
actix-web-grants = { workspace = true, optional = true }
actix-multipart = { workspace = true, optional = true }
actix-session = { workspace = true, optional = true }
garde-actix-web = { workspace = true, optional = true }
chrono = { workspace = true, optional = true }
rust_decimal = { workspace = true, optional = true }
serde = { workspace = true, optional = true }
serde_qs = { workspace = true, features = ["actix4"], optional = true }
uuid = { workspace = true, optional = true }
url = { workspace = true, optional = true }
apistos-models = { path = "../apistos-models", version = "0.4.2", features = ["deserialize"] }
[dev-dependencies]
assert-json-diff = { workspace = true }
serde_json = { workspace = true }
[lints]
workspace = true
[features]
actix = ["dep:actix-web", "dep:pin-project"]
actix-web-grants = ["dep:actix-web-grants"]
# query related features
query = []
qs_query = ["actix", "dep:serde_qs", "garde-actix-web?/serde_qs"]
lab_query = ["actix", "dep:actix-web-lab", "garde-actix-web?/lab_query"]
# actix garde feature
garde = ["actix", "dep:garde-actix-web"]
# extra types related features
chrono = ["dep:chrono", "schemars/chrono"]
multipart = ["actix", "dep:serde", "dep:actix-multipart"]
rust_decimal = ["dep:rust_decimal", "schemars/rust_decimal"]
actix-session = ["actix", "dep:serde", "dep:actix-session"]
uuid = ["dep:uuid", "schemars/uuid1"]
url = ["dep:url", "schemars/url"]
extras = ["chrono", "multipart", "rust_decimal", "uuid", "url"]
default = ["actix", "query"]