[package]
edition = "2021"
name = "yah-workload-spec"
version = "0.8.21"
authors = ["yah Dev <human@yah.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WorkloadSpec — typed wire format for yubaba workloads. Schema crate with zero deps on yubaba; yubaba depends on this, not the other way around."
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/yah-ai/yah-base"
[features]
json-schema = ["dep:schemars"]
[lib]
name = "workload_spec"
path = "src/lib.rs"
[[bin]]
name = "export-ts"
path = "src/bin/export-ts.rs"
[[example]]
name = "parse_whisper_toml"
path = "examples/parse_whisper_toml.rs"
[[test]]
name = "compose_import"
path = "tests/compose_import.rs"
[[test]]
name = "mesh_resolver"
path = "tests/mesh_resolver.rs"
[[test]]
name = "restart_policy"
path = "tests/restart_policy.rs"
[[test]]
name = "round_trip"
path = "tests/round_trip.rs"
[[test]]
name = "secrets_invariant"
path = "tests/secrets_invariant.rs"
[[test]]
name = "semantic"
path = "tests/semantic.rs"
[[test]]
name = "shape_fixtures"
path = "tests/shape_fixtures.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.async-trait]
version = "0.1"
[dependencies.regex]
version = "1.0"
[dependencies.schemars]
version = "0.8"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.thiserror]
version = "1.0"
[dependencies.ts-rs]
version = "12.0"
features = ["serde-compat"]
[dev-dependencies.postcard]
version = "1.1"
features = ["use-std"]
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.toml]
version = "0.8"