mirror of
https://github.com/cloudflare/workers-rs.git
synced 2025-12-08 18:01:59 +00:00
34 lines
1.5 KiB
JSON
34 lines
1.5 KiB
JSON
{
|
|
"dependencies": {
|
|
"@changesets/changelog-github": "^0.4.8",
|
|
"@changesets/cli": "^2.29.6",
|
|
"@cloudflare/workers-types": "^4.20250826.0"
|
|
},
|
|
"name": "workers-rs",
|
|
"version": "0.0.12",
|
|
"author": "workers-rs@cloudflare.com",
|
|
"description": "Monorepo for Worker Rust Bindings",
|
|
"license": "MIT OR Apache-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/cloudflare/workers-rs/issues"
|
|
},
|
|
"homepage": "https://github.com/cloudflare/workers-rs#readme",
|
|
"devDependencies": {
|
|
"@types/node": "^24.0.1",
|
|
"miniflare": "^4.20250923.0",
|
|
"typescript": "^5.8.3",
|
|
"undici": "7.14.0",
|
|
"uuid": "^11.1.0",
|
|
"vitest": "^3.2.4"
|
|
},
|
|
"scripts": {
|
|
"build": "cd wasm-bindgen && cargo build -p wasm-bindgen-cli --bin wasm-bindgen && cd .. && cargo build -p worker-build",
|
|
"bench": "cd benchmark && npm run build && npm run bench",
|
|
"test": "cd test && NO_MINIFY=1 WASM_BINDGEN_BIN=../wasm-bindgen/target/debug/wasm-bindgen ../target/debug/worker-build --dev && NODE_OPTIONS='--experimental-vm-modules' npx vitest run",
|
|
"test-http": "cd test && NO_MINIFY=1 WASM_BINDGEN_BIN=../wasm-bindgen/target/debug/wasm-bindgen ../target/debug/worker-build --release --features http && NODE_OPTIONS='--experimental-vm-modules' npx vitest run",
|
|
"test-mem": "cd test && npx wrangler dev --enable-containers=false",
|
|
"lint": "cargo clippy --features d1,queue --all-targets --workspace -- -D warnings",
|
|
"lint:fix": "cargo fmt && cargo clippy --features d1,queue --all-targets --workspace --fix -- -D warnings"
|
|
}
|
|
}
|