From 5ffab7869261b5f093c2cbfc5aa7f1401b8175a4 Mon Sep 17 00:00:00 2001 From: Jan Tache Date: Sun, 14 Apr 2024 23:20:33 -0700 Subject: [PATCH] chore: switch to local deps --- Cargo.lock | 51 +++++------------------------------------------ Cargo.toml | 12 +++++------ parser/Cargo.toml | 4 ++-- 3 files changed, 13 insertions(+), 54 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 29d9282d6..7aa8e20a7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -467,9 +467,9 @@ dependencies = [ "inotify", "instant", "kanata-interception", - "kanata-keyberon 0.160.4 (registry+https://github.com/rust-lang/crates.io-index)", - "kanata-parser 0.160.4 (registry+https://github.com/rust-lang/crates.io-index)", - "kanata-tcp-protocol 0.160.4 (registry+https://github.com/rust-lang/crates.io-index)", + "kanata-keyberon", + "kanata-parser", + "kanata-tcp-protocol", "karabiner-driverkit", "log", "miette", @@ -509,18 +509,6 @@ dependencies = [ "rustc-hash", ] -[[package]] -name = "kanata-keyberon" -version = "0.160.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "612243fee823f7e9209a66130c1ac20094286756da1cab66fce6d81f9513776b" -dependencies = [ - "arraydeque", - "heapless", - "kanata-keyberon-macros", - "rustc-hash", -] - [[package]] name = "kanata-keyberon-macros" version = "0.2.0" @@ -537,25 +525,7 @@ version = "0.160.4" dependencies = [ "anyhow", "itertools", - "kanata-keyberon 0.160.4 (registry+https://github.com/rust-lang/crates.io-index)", - "log", - "miette", - "once_cell", - "parking_lot", - "radix_trie", - "rustc-hash", - "thiserror", -] - -[[package]] -name = "kanata-parser" -version = "0.160.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57f45d180ab4ecbb933a87b6714857c4042f3a59f7c2ede31a6b90d020486762" -dependencies = [ - "anyhow", - "itertools", - "kanata-keyberon 0.160.4 (registry+https://github.com/rust-lang/crates.io-index)", + "kanata-keyberon", "log", "miette", "once_cell", @@ -586,24 +556,13 @@ dependencies = [ "serde_json", ] -[[package]] -name = "kanata-tcp-protocol" -version = "0.160.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38742f9d33256b4ffd2605fac530ab98a9bddf84a00c8aa146c0e6bfa3fd81b1" -dependencies = [ - "serde", - "serde_derive", - "serde_json", -] - [[package]] name = "kanata_example_tcp_client" version = "1.1.0" dependencies = [ "anyhow", "clap", - "kanata-tcp-protocol 0.160.4", + "kanata-tcp-protocol", "log", "serde_json", "simplelog", diff --git a/Cargo.toml b/Cargo.toml index 22ae80643..a1a50c488 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -49,15 +49,15 @@ rustc-hash = "1.1.0" simplelog = "0.12.0" serde_json = { version = "1", features = ["alloc"], default_features = false, optional = true } -kanata-keyberon = "0.160.4" -kanata-parser = "0.160.4" -kanata-tcp-protocol = "0.160.4" +# kanata-keyberon = "0.160.4" +# kanata-parser = "0.160.4" +# kanata-tcp-protocol = "0.160.4" # Uncomment below and comment out above for testing local changes. # Otherwise any changes to the local files will not reflect in the compiled # binary. -# kanata-keyberon = { path = "keyberon" } -# kanata-parser = { path = "parser" } -# kanata-tcp-protocol = { path = "tcp_protocol" } +kanata-keyberon = { path = "keyberon" } +kanata-parser = { path = "parser" } +kanata-tcp-protocol = { path = "tcp_protocol" } [target.'cfg(target_os = "macos")'.dependencies] karabiner-driverkit = "0.1.3" diff --git a/parser/Cargo.toml b/parser/Cargo.toml index 1e15edaed..afaced2e3 100644 --- a/parser/Cargo.toml +++ b/parser/Cargo.toml @@ -21,11 +21,11 @@ rustc-hash = "1.1.0" miette = { version = "5.7.0", features = ["fancy"] } thiserror = "1.0.38" -kanata-keyberon = "0.160.4" +# kanata-keyberon = "0.160.4" # Uncomment below and comment out above for testing local changes. # Otherwise any changes to the local files will not reflect in the compiled # binary. -# kanata-keyberon = { path = "../keyberon" } +kanata-keyberon = { path = "../keyberon" } [features] cmd = []