forked from x52dev/oas3-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
47 lines (43 loc) · 1.25 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
[package]
name = "oas3"
version = "0.2.1"
authors = ["Rob Ede <[email protected]>", "softprops <[email protected]>"]
edition = "2018"
description = "Structures and tools to parse, navigate and validate OpenAPI v3 specifications."
readme = "README.md"
repository = "https://github.com/robjtede/oas3-rs"
license = "MIT"
keywords = ["oas3", "openapi", "swagger", "api", "validation"]
categories = ["data-structures", "development-tools::testing", "parsing"]
[features]
default = ["validation"]
validation = []
conformance = ["validation", "reqwest", "prettytable-rs", "colored"]
[dependencies]
bytes = "1.5"
derive_more = "0.99"
futures-util = "0.3"
http = "0.2"
once_cell = "1"
log = "0.4"
regex = "1"
semver = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
url = { version = "2", features = ["serde"] }
# conformance
colored = { version = "2", optional = true }
prettytable-rs = { version = "0.8", optional = true }
reqwest = { version = "0.11", optional = true, features = ["json"] }
[dev-dependencies]
color-eyre = "0.6"
dotenvy = "0.15"
eyre = "0.6"
maplit = "1"
pretty_assertions = "1"
pretty_env_logger = "0.5"
tokio = { version = "1", features = ["full"] }
[[example]]
name = "conformance"
required-features = ["conformance"]