cvmts: replace jpeg-turbo native module with new rust module
This module also does threadpooling internally, so we don't need Piscina anymore (which I'm pretty sure was actually bottlenecking.)
This commit is contained in:
16
jpegturbo-rs/package.json
Normal file
16
jpegturbo-rs/package.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "@cvmts/jpegturbo-rs",
|
||||
"version": "0.1.0",
|
||||
"packageManager": "yarn@4.1.1",
|
||||
"type": "module",
|
||||
"main": "index.js",
|
||||
"types": "index.d.ts",
|
||||
"scripts": {
|
||||
"build": "cargo-cp-artifact -nc index.node -- cargo build --release --message-format=json-render-diagnostics",
|
||||
"install": "yarn build",
|
||||
"test": "cargo test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"cargo-cp-artifact": "^0.1"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user