Skip to content

Commit be7871d

Browse files
author
Ben Leadbetter
committed
chore: merge branch 'hotfix/0.6.5'
2 parents c378c60 + 2fe7c6e commit be7871d

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 0.6.5
2+
* docs: improve readme example
3+
14
# 0.6.4
25
* fix: realtime bytes messages should have no data bytes
36

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "midi2"
3-
version = "0.6.4"
3+
version = "0.6.5"
44
description = "Ergonomic, versatile, strong types wrapping MIDI 2.0 message data."
55
edition = "2021"
66
readme = "README.md"
@@ -37,7 +37,7 @@ utility = []
3737
[dependencies]
3838
derive_more = { version = "0.99.17", features = ["from"], default-features = false }
3939
fixed = "1.27.0"
40-
midi2_proc = { version = "0.6.4", path = "midi2_proc" }
40+
midi2_proc = { version = "0.6.5", path = "midi2_proc" }
4141
ux = "0.1.6"
4242

4343
[dev-dependencies]

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ assert_eq!(note_on.group(), u4::new(0x8));
3333
assert_eq!(note_on.channel(), u4::new(0xA));
3434
assert_eq!(note_on.note_number(), u7::new(0x5E));
3535
assert_eq!(note_on.velocity(), 0x6A14);
36+
assert_eq!(note_on.data(), &[0x489A_5E00, 0x6A14_0000]);
3637

3738
// Messages wrap an underlying buffer of data which can be read as an
3839
// ordinary slice.
@@ -49,8 +50,8 @@ assert_eq!(
4950
0x7665_7265,
5051
0x6C69_7374,
5152
0x0000_0000,
52-
]);
53-
53+
]
54+
);
5455
```
5556

5657
## Aggregate Message Types
@@ -156,7 +157,7 @@ You'll want to setup midi2 without default features to compile
156157
without the `std` feature.
157158

158159
```toml
159-
midi2 = { version = "0.6.4", default-features = false, features = ["channel-voice2", "sysex7"], }
160+
midi2 = { version = "0.6.5", default-features = false, features = ["channel-voice2", "sysex7"], }
160161
```
161162

162163
### Generic Representation

midi2_proc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "midi2_proc"
33
description = "Internal procedural macro crate. Only intended for use with midi2"
4-
version = "0.6.4"
4+
version = "0.6.5"
55
edition = "2021"
66
readme = "README.md"
77
license = "MIT OR Apache-2.0"

0 commit comments

Comments
 (0)