[package] name = "docker_compose_spec" version = "0.2.0" edition = "2021" repository = "https://gitlab.com/ekzeb1/docker_compose_spec" description = "docker-compose.yml <-> rust <-> serde_json" license = "BSD-2-Clause" categories = ["encoding"] readme = "README.md" keywords = ["docker-compose", "serde", "parse"] [dependencies] serde = { version = "1", features = ["derive"] } serde_json = "1" serde_yaml = "0.9.34" regex = "1" anyhow = "1" tokio = { version = "1", features = ["fs"], optional = true } yaml-rust = { version = "0.9", package = "yaml-rust2", optional = true } utoipa = { version = "5", optional = true } [dev-dependencies] tokio = { version = "1", features = ["fs", "rt", "macros"] } tracing-subscriber = "0.3" utoipa-swagger-ui = { version = "8", features = ["axum"] } utoipa-axum = "0.1" axum = "0.7" [features] default = [] anchors = ["yaml-rust"] async = ["tokio/fs"] openapi = ["utoipa"] [[example]] name = "openapi" 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"]