Skip to content

Commit 809162e

Browse files
authored
Merge pull request #3 from korbin/maybe-async-cfg2
Switch to maintained fork for `maybe-async-cfg`
2 parents 46ba53f + a6e2aeb commit 809162e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ defmt = { version = "0.3", optional = true }
1616
embedded-hal = { version = "1.0", optional = true }
1717
embedded-hal-async = { version = "1.0", optional = true }
1818
log = { version = "0.4", optional = true }
19-
maybe-async-cfg = "0.2"
19+
maybe-async-cfg2 = "0.3"
2020

2121
[features]
2222
async = ["dep:embedded-hal-async"]

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ impl From<u8> for Status {
131131
}
132132

133133
/// A DS4432 Digital To Analog (DAC) converter on the I2C bus `I`.
134-
#[maybe_async_cfg::maybe(
134+
#[maybe_async_cfg2::maybe(
135135
sync(feature = "sync", self = "DS4432"),
136136
async(feature = "async", keep_self)
137137
)]
@@ -141,7 +141,7 @@ pub struct AsyncDS4432<I> {
141141
rfs1_ohm: Option<u32>,
142142
}
143143

144-
#[maybe_async_cfg::maybe(
144+
#[maybe_async_cfg2::maybe(
145145
sync(
146146
feature = "sync",
147147
self = "DS4432",

0 commit comments

Comments
 (0)