Skip to content

Commit

Permalink
chore: release: Merge branch 'hotfix/0.6.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Leadbetter committed Sep 2, 2024
2 parents c9ae786 + 0da2535 commit 1fe0545
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 0.6.2
* fix: incorrect status of delta clockstamp tpq message

# 0.6.1
* feat: generate MIDI CI messages
* strongly typed MIDI CI version
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "midi2"
version = "0.6.1"
version = "0.6.2"
description = "Ergonomic, versatile, strong types wrapping MIDI 2.0 message data."
edition = "2021"
readme = "README.md"
Expand Down Expand Up @@ -37,7 +37,7 @@ utility = []
[dependencies]
derive_more = { version = "0.99.17", features = ["from"], default-features = false }
fixed = "1.27.0"
midi2_proc = { version = "0.6.1", path = "midi2_proc" }
midi2_proc = { version = "0.6.2", path = "midi2_proc" }
ux = "0.1.6"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ You'll want to setup midi2 without default features to compile
without the `std` feature.

```toml
midi2 = { version = "0.6.1", default-features = false, features = ["channel-voice2", "sysex7"], }
midi2 = { version = "0.6.2", default-features = false, features = ["channel-voice2", "sysex7"], }
```

### Generic Representation
Expand Down
2 changes: 1 addition & 1 deletion midi2_proc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "midi2_proc"
description = "Internal procedural macro crate. Only intended for use with midi2"
version = "0.6.1"
version = "0.6.2"
edition = "2021"
readme = "README.md"
license = "MIT OR Apache-2.0"
Expand Down
7 changes: 6 additions & 1 deletion src/utility.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ mod timestamp {
mod delta_clockstamp {
use crate::detail::common_properties;
use crate::utility;
pub const STATUS: u8 = 0b0100;
pub const STATUS: u8 = 0b0010;
#[midi2_proc::generate_message(Via(crate::utility::Utility), FixedSize, MinSizeUmp(1))]
struct DeltaClockstamp {
#[property(common_properties::UmpMessageTypeProperty<{utility::UMP_MESSAGE_TYPE}>)]
Expand Down Expand Up @@ -249,4 +249,9 @@ mod tests {
let message = Utility::try_from(&[0x0010_1234][..]).unwrap();
let _ = Utility::<[u32; 1]>::rebuffer_from(message);
}

#[test]
fn delta_clock_stamp_try_from() {
DeltaClockstamp::try_from(&[0x0020_0000][..]).unwrap();
}
}

0 comments on commit 1fe0545

Please sign in to comment.