From d8464ffdca706fe215b8a0a94d148a9244142067 Mon Sep 17 00:00:00 2001 From: ozpv <39195175+ozpv@users.noreply.github.com> Date: Fri, 22 May 2026 22:50:58 +0000 Subject: json state for backward and forward compatibility --- Cargo.toml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 52b1388..92729f3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,19 +22,15 @@ clack-extensions = { path = "../clack/extensions", features = [ baseview = { git = "https://github.com/RustAudio/baseview.git", rev = "237d323c729f3aa99476ba3efa50129c5e86cad3", version = "0.1.0" } egui-baseview = { git = "https://codeberg.org/BillyDM/egui-baseview.git", version = "0.7.0" } -# to serialize parameters and save the plugin state -# serde json could offer better backwards compatibility -# for loading parameters in future updates -prost = "0.14.3" - # for calculation realfft = { version = "3.5.0", features = ["avx", "neon", "sse"] } num-complex = "0.4.6" rustc-hash = "2.1.2" atomic_float = "1.1.0" -[build-dependencies] -prost-build = "0.14.3" +# for saving the state +serde = { version = "1.0.228", features = ["derive"] } +serde_json = "1.0.150" [profile.release] opt-level = 3 -- cgit v1.2.3