| 1 | [package] |
| 2 | name = "codewhale-workflow-js" |
| 3 | version.workspace = true |
| 4 | edition.workspace = true |
| 5 | rust-version.workspace = true |
| 6 | license.workspace = true |
| 7 | repository.workspace = true |
| 8 | description = "Dynamic Workflow runtime: sandboxed rquickjs scripts that dispatch Codewhale subagents" |
| 9 | |
| 10 | [dependencies] |
| 11 | async-trait.workspace = true |
| 12 | jsonschema.workspace = true |
| 13 | rquickjs.workspace = true |
| 14 | serde.workspace = true |
| 15 | serde_json.workspace = true |
| 16 | thiserror.workspace = true |
| 17 | tokio.workspace = true |
| 18 | |
| 19 | # rquickjs does not ship pre-generated bindings for Android. Generate them |
| 20 | # against the NDK sysroot so the advertised Termux/Android release target can |
| 21 | # compile instead of trying to include a nonexistent bindings file. |
| 22 | [target.'cfg(target_os = "android")'.dependencies] |
| 23 | rquickjs = { workspace = true, features = ["bindgen"] } |
| 24 | |
| 25 | # rquickjs does not ship pre-generated bindings for NetBSD. Generate them at |
| 26 | # build time so the crate compiles there instead of trying to include a |
| 27 | # nonexistent bindings file. |
| 28 | [target.'cfg(target_os = "netbsd")'.dependencies] |
| 29 | rquickjs = { workspace = true, features = ["bindgen"] } |
| 30 | |
| 31 | # rquickjs does not ship pre-generated bindings for OpenHarmony. Generate them |
| 32 | # against the native SDK sysroot configured by scripts/ohos-env.*. |
| 33 | [target.'cfg(target_env = "ohos")'.dependencies] |
| 34 | rquickjs = { workspace = true, features = ["bindgen"] } |
| 35 | |
| 36 | [dev-dependencies] |
| 37 | serde_json.workspace = true |
| 38 |