Skip to content

Commit

Permalink
Merge pull request #259 from boozook/fix-pdtool-release
Browse files Browse the repository at this point in the history
Fix inability to build pdtool release 🤦🏻‍♂️
  • Loading branch information
boozook authored Apr 2, 2024
2 parents 56b6586 + 01310c2 commit 7ddca03
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

5 changes: 3 additions & 2 deletions support/tool/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "playdate-tool"
version = "0.2.0"
version = "0.2.1"
readme = "README.md"
description = "Tool for interaction with Playdate device and sim."
keywords = ["playdate", "usb", "utility"]
Expand Down Expand Up @@ -62,5 +62,6 @@ tracing = [
"simulator/tracing",
]

# Useful with [tokio-console](https://tokio.rs/tokio/topics/tracing-next-steps)
# Useful with `RUSTFLAGS="--cfg tokio_unstable"` &
# [tokio-console](https://tokio.rs/tokio/topics/tracing-next-steps)
tokio-tracing = ["tracing", "tokio/tracing", "console-subscriber", "tracing"]
1 change: 1 addition & 0 deletions support/tool/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ async fn main() -> miette::Result<()> {
},
cli::Command::Send(cli::Send { command, query, read }) => send(query, command, read, cfg.format).await,

#[cfg(debug_assertions)]
cli::Command::Debug(cli::Dbg { cmd, query }) => debug::debug(cmd, query).await,
}.into_diagnostic()
}
Expand Down

0 comments on commit 7ddca03

Please sign in to comment.