@camera.ui/camera-ui-rust-motion 0.0.13 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "RUST Motion",
|
|
3
3
|
"name": "@camera.ui/camera-ui-rust-motion",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.14",
|
|
5
5
|
"description": "camera.ui rust motion detection plugin",
|
|
6
6
|
"author": "seydx (https://github.com/seydx/camera.ui)",
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -16,7 +16,10 @@
|
|
|
16
16
|
"cross": "npm run cross-build -- --release",
|
|
17
17
|
"build": "rimraf dist && mkdir dist && npm run build:macos && tsc",
|
|
18
18
|
"build:all": "npm run build:macos && npm run build:windows && npm run build:linux-x64 && npm run build:linux-arm64 && npm run build:linux-arm && npm run build:riscv64 && npm run build:freebsd",
|
|
19
|
-
"build:macos": "
|
|
19
|
+
"build:macos": "npm run build:macos-arm64 && npm run build:macos-x64 && npm run build:macos-universal",
|
|
20
|
+
"build:macos-arm64": "RUSTFLAGS='-C target-feature=+neon' npm run cargo-build -- --release --target aarch64-apple-darwin && mv index.node dist/rust_detector_macos_arm64.node",
|
|
21
|
+
"build:macos-x64": "npm run cargo-build -- --release --target x86_64-apple-darwin && mv index.node dist/rust_detector_macos_x64.node",
|
|
22
|
+
"build:macos-universal": "lipo -create -output dist/rust_detector_macos.node dist/rust_detector_macos_arm64.node dist/rust_detector_macos_x64.node && rm dist/rust_detector_macos_arm64.node dist/rust_detector_macos_x64.node",
|
|
20
23
|
"build:windows-x64": "RUSTFLAGS='-C target-feature=+avx2,+sse4.1' CROSS_CONTAINER_OPTS=--platform=linux/amd64 cross build --target x86_64-pc-windows-gnu --release && neon dist -m /target < cross.log && mv index.node dist/rust_detector_windows.node",
|
|
21
24
|
"build:linux-x64": "RUSTFLAGS='-C target-feature=+avx2,+sse4.1' CROSS_CONTAINER_OPTS=--platform=linux/amd64 cross build --target x86_64-unknown-linux-gnu --release && neon dist -m /target < cross.log && mv index.node dist/rust_detector_linux_x64.node",
|
|
22
25
|
"build:linux-arm64": "RUSTFLAGS='-C target-feature=+neon' CROSS_CONTAINER_OPTS=--platform=linux/amd64 cross build --target aarch64-unknown-linux-gnu --release && neon dist -m /target < cross.log && mv index.node dist/rust_detector_linux_arm64.node",
|