-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
30 lines (26 loc) · 945 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
[package]
name = "aisil"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
aide = { version = "0.10.0", optional = true }
indexmap = { version = "1.9.2", optional = true }
reqwest = { version = "0.11.14", features = ["json"], optional = true }
schemars = { version = "0.8.12", optional = true }
serde = { version = "1.0.152", optional = true }
serde_yaml = { version = "0.9.19", optional = true }
ts-rs = { version = "7.0.0", optional = true }
[dev-dependencies]
axum = "0.6.20"
tokio = { version = "1.33.0", features = ["macros", "rt-multi-thread"] }
serde = "1.0.152"
schemars = "0.8.12"
ts-rs = "7.0.0"
[features]
all = ["axum", "openapi", "reqwest", "openapi-yaml", "ts"]
axum = []
openapi = ["dep:aide", "dep:indexmap", "dep:schemars"]
openapi-yaml = ["openapi", "dep:serde_yaml"]
reqwest = ["dep:reqwest", "dep:serde"]
ts = ["dep:ts-rs"]