Skip to content

Commit

Permalink
ver: v1.6.0-prerelease-3
Browse files Browse the repository at this point in the history
  • Loading branch information
jtroo committed Mar 29, 2024
1 parent c25d415 commit a2dd46e
Show file tree
Hide file tree
Showing 6 changed files with 73 additions and 21 deletions.
58 changes: 49 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ members = [

[package]
name = "kanata"
version = "1.6.0-prerelease-2"
version = "1.6.0-prerelease-3"
authors = ["jtroo <j.andreitabs@gmail.com>"]
description = "Multi-layer keyboard customization"
keywords = ["cli", "linux", "windows", "keyboard", "layout"]
Expand Down Expand Up @@ -44,15 +44,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.2"
# kanata-parser = "0.160.2"
# kanata-tcp-protocol = "0.160.2"
kanata-keyberon = "0.160.3"
kanata-parser = "0.160.3"
kanata-tcp-protocol = "0.160.3"
# 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"
Expand Down
12 changes: 12 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,15 @@ test:

fmt:
cargo fmt --all

use_cratesio_deps:
sed -i 's/^# \(kanata-\(keyberon\|parser\|tcp-protocol\) = ".*\)$/\1/' Cargo.toml parser/Cargo.toml
sed -i 's/^\(kanata-\(keyberon\|parser\|tcp-protocol\) = .*path.*\)$/# \1/' Cargo.toml parser/Cargo.toml

use_local_deps:
sed -i 's/^\(kanata-\(keyberon\|parser\|tcp-protocol\) = ".*\)$/# \1/' Cargo.toml parser/Cargo.toml
sed -i 's/^# \(kanata-\(keyberon\|parser\|tcp-protocol\) = .*path.*\)$/\1/' Cargo.toml parser/Cargo.toml

change_subcrate_versions version:
sed -i 's/^version = ".*"$/version = "{{version}}"/' parser/Cargo.toml tcp_protocol/Cargo.toml keyberon/Cargo.toml
sed -i 's/^\(#\? \?kanata-\(keyberon\|parser\|tcp-protocol\)\) = ".*$/\1 = "{{version}}"/' Cargo.toml parser/Cargo.toml
2 changes: 1 addition & 1 deletion keyberon/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "kanata-keyberon"
version = "0.160.2"
version = "0.160.3"
authors = ["Guillaume Pinot <texitoi@texitoi.eu>", "Robin Krahl <robin.krahl@ireas.org>", "jtroo <j.andreitabs@gmail.com>"]
edition = "2021"
description = "Pure Rust keyboard firmware. Fork intended for use with kanata."
Expand Down
6 changes: 3 additions & 3 deletions parser/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "kanata-parser"
version = "0.160.2"
version = "0.160.3"
authors = ["jtroo <j.andreitabs@gmail.com>"]
description = "A parser for configuration language of kanata, a keyboard remapper."
keywords = ["kanata", "parser"]
Expand All @@ -21,11 +21,11 @@ rustc-hash = "1.1.0"
miette = { version = "5.7.0", features = ["fancy"] }
thiserror = "1.0.38"

# kanata-keyberon = "0.160.2"
kanata-keyberon = "0.160.3"
# 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 = []
Expand Down
2 changes: 1 addition & 1 deletion tcp_protocol/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "kanata-tcp-protocol"
version = "0.160.2"
version = "0.160.3"
edition = "2021"
description = "TCP protocol for kanata. This does not follow semver."
license = "LGPL-3.0-only"
Expand Down

0 comments on commit a2dd46e

Please sign in to comment.