返回 CodeWhale
Cargo.toml
根目录 / crates / workflow-js / Cargo.toml
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 [lints]
11 workspace = true
12
13 [dependencies]
14 async-trait.workspace = true
15 jsonschema.workspace = true
16 rquickjs.workspace = true
17 serde.workspace = true
18 serde_json.workspace = true
19 thiserror.workspace = true
20 tokio.workspace = true
21
22 # rquickjs does not ship pre-generated bindings for Android. Generate them
23 # against the NDK sysroot so the advertised Termux/Android release target can
24 # compile instead of trying to include a nonexistent bindings file.
25 [target.'cfg(target_os = "android")'.dependencies]
26 rquickjs = { workspace = true, features = ["bindgen"] }
27
28 # rquickjs does not ship pre-generated bindings for FreeBSD. Generate them at
29 # build time so the crate compiles there instead of trying to include a
30 # nonexistent bindings file.
31 [target.'cfg(target_os = "freebsd")'.dependencies]
32 rquickjs = { workspace = true, features = ["bindgen"] }
33
34 # rquickjs does not ship pre-generated bindings for NetBSD. Generate them at
35 # build time so the crate compiles there instead of trying to include a
36 # nonexistent bindings file.
37 [target.'cfg(target_os = "netbsd")'.dependencies]
38 rquickjs = { workspace = true, features = ["bindgen"] }
39
40 # rquickjs does not ship pre-generated bindings for OpenHarmony. Generate them
41 # against the native SDK sysroot configured by scripts/ohos-env.*.
42 [target.'cfg(target_env = "ohos")'.dependencies]
43 rquickjs = { workspace = true, features = ["bindgen"] }
44
45 [dev-dependencies]
46 serde_json.workspace = true
47
47 lines TOML