# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "docker_compose_spec" version = "0.2.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "docker-compose.yml <-> rust <-> serde_json" readme = "README.md" keywords = [ "docker-compose", "serde", "parse", ] categories = ["encoding"] license = "BSD-2-Clause" repository = "https://gitlab.com/ekzeb1/docker_compose_spec" [lib] name = "docker_compose_spec" path = "src/lib.rs" [[example]] name = "openapi" path = "examples/openapi.rs" required-features = [ "async", "openapi", ] [[test]] name = "anchors_async" path = "tests/test_anchors_async.rs" required-features = [ "anchors", "async", ] [[test]] name = "anchors_sync" path = "tests/test_anchors_sync.rs" required-features = ["anchors"] [dependencies.anyhow] version = "1" [dependencies.regex] version = "1" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.serde_yaml] version = "0.9.34" [dependencies.tokio] version = "1" features = ["fs"] optional = true [dependencies.utoipa] version = "5" optional = true [dependencies.yaml-rust] version = "0.9" optional = true package = "yaml-rust2" [dev-dependencies.axum] version = "0.7" [dev-dependencies.tokio] version = "1" features = [ "fs", "rt", "macros", ] [dev-dependencies.tracing-subscriber] version = "0.3" [dev-dependencies.utoipa-axum] version = "0.1" [dev-dependencies.utoipa-swagger-ui] version = "8" features = ["axum"] [features] anchors = ["yaml-rust"] async = ["tokio/fs"] default = [] openapi = ["utoipa"]