mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-05-17 00:21:19 +00:00
Co-authored-by: Akihito Nakano <sora.akatsuki@gmail.com> Co-authored-by: Jeremie Bresson <dev@jmini.fr> Co-authored-by: Jim Schubert <james.schubert@gmail.com> Co-authored-by: Martin Delille <martin@phonations.com> Co-authored-by: Tomasz Prus <tomasz.prus@gmail.com> Co-authored-by: William Cheng <wing328hk@gmail.com>
49 lines
2.0 KiB
TOML
49 lines
2.0 KiB
TOML
[package]
|
|
name = "petstore_api"
|
|
version = "1.0.0"
|
|
authors = ["apiteam@swagger.io"]
|
|
description = "This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\"
|
|
license = "Unlicense"
|
|
|
|
[features]
|
|
default = ["client", "server"]
|
|
client = ["serde_json", "serde_urlencoded", "serde-xml-rs", "serde_ignored", "hyper", "hyper-tls", "native-tls", "openssl", "tokio-core", "url", "uuid", "multipart"]
|
|
server = ["serde_json", "serde-xml-rs", "serde_ignored", "hyper", "hyper-tls", "native-tls", "openssl", "tokio-core", "tokio-proto", "tokio-tls", "regex", "percent-encoding", "url", "uuid", "multipart"]
|
|
|
|
[dependencies]
|
|
# Required by example server.
|
|
#
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
futures = "0.1"
|
|
hyper = {version = "0.11", optional = true}
|
|
hyper-tls = {version = "0.1.2", optional = true}
|
|
swagger = "0.10.0"
|
|
|
|
# Not required by example server.
|
|
#
|
|
lazy_static = "0.2"
|
|
log = "0.3.0"
|
|
mime = "0.3.3"
|
|
multipart = {version = "0.13.3", optional = true}
|
|
native-tls = {version = "0.1.4", optional = true}
|
|
openssl = {version = "0.9.14", optional = true}
|
|
percent-encoding = {version = "1.0.0", optional = true}
|
|
regex = {version = "0.2", optional = true}
|
|
serde = "1.0"
|
|
serde_derive = "1.0"
|
|
serde_ignored = {version = "0.0.4", optional = true}
|
|
serde_json = {version = "1.0", optional = true}
|
|
serde_urlencoded = {version = "0.5.1", optional = true}
|
|
tokio-core = {version = "0.1.6", optional = true}
|
|
tokio-proto = {version = "0.1.1", optional = true}
|
|
tokio-tls = {version = "0.1.3", optional = true, features = ["tokio-proto"]}
|
|
url = {version = "1.5", optional = true}
|
|
uuid = {version = "0.5", optional = true, features = ["serde", "v4"]}
|
|
# ToDo: this should be updated to point at the official crate once
|
|
# https://github.com/RReverser/serde-xml-rs/pull/45 is accepted upstream
|
|
serde-xml-rs = {git = "git://github.com/Metaswitch/serde-xml-rs.git" , branch = "master", optional = true}
|
|
|
|
[dev-dependencies]
|
|
clap = "2.25"
|
|
error-chain = "0.11"
|