| 1 | [package] |
| 2 | name = "codewhale-app-server-protocol" |
| 3 | version.workspace = true |
| 4 | edition.workspace = true |
| 5 | rust-version.workspace = true |
| 6 | license = "MIT AND Apache-2.0" |
| 7 | repository.workspace = true |
| 8 | description = "Client wire contracts and schema exports for Codewhale App Server" |
| 9 | |
| 10 | [lints] |
| 11 | workspace = true |
| 12 | |
| 13 | [features] |
| 14 | schema = ["dep:schemars"] |
| 15 | |
| 16 | [dependencies] |
| 17 | chrono.workspace = true |
| 18 | serde.workspace = true |
| 19 | serde_json = { workspace = true, features = ["preserve_order"] } |
| 20 | schemars = { version = "1.2.1", optional = true, features = ["derive", "preserve_order"] } |
| 21 | |
| 22 | [dev-dependencies] |
| 23 | jsonschema.workspace = true |
| 24 | |
| 25 | [[bin]] |
| 26 | name = "codewhale-codex-contract" |
| 27 | path = "src/bin/contract.rs" |
| 28 | |
| 29 | [[bin]] |
| 30 | name = "codewhale-app-server-schema" |
| 31 | path = "src/bin/export.rs" |
| 32 | required-features = ["schema"] |
| 33 |