This commit is contained in:
Moritz Ruth 2024-02-20 16:05:32 +01:00
parent 6b4ea3f4ae
commit fa8c988705
Signed by: moritzruth
GPG key ID: C9BBAB79405EE56D
6 changed files with 95 additions and 66 deletions

View file

@ -11,5 +11,4 @@ derive_more = "0.99.17"
rgb = "0.8.37"
enum-ordinalize = "4.3.0"
enum-map = "3.0.0-beta.2"
im = { version = "15.1.0", features = ["serde"] }
parse-display = "0.8.2"

View file

@ -1,3 +1,5 @@
use std::collections::HashMap;
use serde::{Deserialize, Serialize};
use thiserror::Error;
@ -55,8 +57,8 @@ pub enum HandlerCommand {
#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)]
pub struct InitialHandlerMessage<KeyConfig: Clone, KnobConfig: Clone> {
pub key_configs: im::HashMap<KeyPath, KeyConfig>,
pub knob_configs: im::HashMap<KnobPath, KnobConfig>,
pub key_configs: HashMap<KeyPath, KeyConfig>,
pub knob_configs: HashMap<KnobPath, KnobConfig>,
}
#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)]