Configure USDPL back-end for decky-specific features

This commit is contained in:
NGnius (Graham) 2023-03-09 17:09:40 -05:00
parent 5b92737f9f
commit 9c77d69e6b
4 changed files with 6 additions and 6 deletions

2
backend/Cargo.lock generated
View file

@ -174,7 +174,7 @@ checksum = "a246d82be1c9d791c5dfde9a2bd045fc3cbba3fa2b11ad558f27d01712f00569"
[[package]] [[package]]
name = "fantastic-rs" name = "fantastic-rs"
version = "0.4.0" version = "0.4.1"
dependencies = [ dependencies = [
"log", "log",
"serde", "serde",

View file

@ -1,10 +1,10 @@
[package] [package]
name = "fantastic-rs" name = "fantastic-rs"
version = "0.4.0" version = "0.4.1"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
usdpl-back = { version = "0.10", features = ["blocking"]} usdpl-back = { version = "0.10", features = ["blocking", "decky"]}
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0" serde_json = "1.0"

View file

@ -6,7 +6,7 @@ rustc --version
cargo --version cargo --version
echo "--- Building plugin backend ---" echo "--- Building plugin backend ---"
cargo build --release cargo build --release --features usdpl-back/decky
mkdir -p out mkdir -p out
cp target/release/fantastic-rs out/backend cp target/release/fantastic-rs out/backend

View file

@ -1,7 +1,7 @@
{ {
"name": "Fantastic", "name": "Fantastic",
"version": "0.4.0", "version": "0.4.1",
"description": "A template to quickly create decky plugins from scratch, based on TypeScript and webpack", "description": "A plugin to set a custom fan curve",
"scripts": { "scripts": {
"build": "shx rm -rf dist && rollup -c", "build": "shx rm -rf dist && rollup -c",
"watch": "rollup -c -w", "watch": "rollup -c -w",