-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
44 lines (38 loc) · 1.36 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
# -*- eval: (cargo-minor-mode 1) -*-
[workspace]
members = [".", "./derive"]
[package]
name = "openapi_type"
version = "0.5.0"
authors = ["Dominic Meiser <git@msrd0.de>"]
edition = "2021"
rust-version = "1.70"
description = "OpenAPI type information for Rust structs and enums"
keywords = ["openapi", "type"]
license = "Apache-2.0"
repository = "https://github.com/msrd0/openapi_type"
readme = "crates-io.md"
include = ["src/**/*", "LICENSE", "crates-io.md"]
[features]
chrono = ["chrono04"]
indexmap = ["indexmap1"]
linked-hash-map = ["linked-hash-map05"]
time = ["time03"]
uuid = ["uuid08", "uuid1"]
[dependencies]
indexmap = "2.0"
openapi_type_derive = { path = "./derive", version = "0.4.5" }
openapiv3 = "=2.0.0"
serde_json = "1.0"
# optional dependencies / features
chrono04 = { package = "chrono", version = "0.4", default-features = false, optional = true }
indexmap1 = { package = "indexmap", version = "1.0", optional = true }
linked-hash-map05 = { package = "linked-hash-map", version = "0.5", optional = true }
time03 = { package = "time", version = "0.3", features = ["serde-human-readable"], optional = true }
uuid08 = { package = "uuid", version = "0.8", optional = true }
uuid1 = { package = "uuid", version = "1", optional = true }
[dev-dependencies]
paste = "1.0"
pretty_assertions = "1.0"
serde = { version = "1.0.158", features = ["derive"] }
trybuild = "=1.0.96"