ChanServ changed the topic of #rust-embedded to: Welcome to the Rust Embedded IRC channel! Bridged to #rust-embedded:matrix.org and logged at https://libera.irclog.whitequark.org/rust-embedded, code of conduct at https://www.rust-lang.org/conduct.html
IlPalazzo-ojiisa has quit [Quit: Leaving.]
<oneDragon[m]> I was numb, and after looking at the workload of the network card driver, I began to regret it😇
<haobogu[m]> Hello everyone, I'm trying to write a toy eeprom driver layer using Rust. I found there are both async/blocking version of `embedded-storage`, aka `embedded-storage` and `embedded-storage-async`, is there any way to support both? I tried to make my eeporm support blocking embedded-storage like `struct Eeprom<F: NorFlash>`, but have no idea how to support both `embedded-storage::NorFlash` and `embedded-storage-async::NorFlash`.
Guest7282 has joined #rust-embedded
tafa has quit [Ping timeout: 255 seconds]
tafa has joined #rust-embedded
ryan-summers[m] has joined #rust-embedded
<ryan-summers[m]> <haobogu[m]> "Hello everyone, I'm trying to..." <- I've read a few blogs related to this outside of the embedded sphere, and I've not yet seen a good approach to supporting both async and non-async code without lots of duplication unfortunately. However, one blog post I read did mention https://crates.io/crates/maybe-async, which might be useful, but there are some soundness issues with this approach that revolve around cargo
<ryan-summers[m]> features being additive
<ryan-summers[m]> The blog post I am referring to I believe is https://nullderef.com/blog/rust-async-sync/, which talks about this a lot
<haobogu[m]> <ryan-summers[m]> "The blog post I am referring..." <- thanks bro! it seems not as simple as I thought 🤔
<ryan-summers[m]> Yeah it's a complex topic and you're definitely not alone
IlPalazzo-ojiisa has joined #rust-embedded
olsen__[m] has joined #rust-embedded
<olsen__[m]> Hi folks, do you know if theres a cool and responsive chat, like this one, around the rust core repositories (rust, libc)?
<JamesMunns[m]> https://rust-lang.zulipchat.com probably
dirbaio[m] has joined #rust-embedded
<dirbaio[m]> if it's questions about developing/contributing rust itself, the Rust zulip
<dirbaio[m]> if it's questions about using Rust, there's a few discords
<dirbaio[m]> * about developing/contributing to rust itself,
<olsen__[m]> Allright, ill try zulip then, thanks mate!
IlPalazzo-ojiisa has quit [Remote host closed the connection]
<haobogu[m]> Is there anyway to add a descriptor to a characteristic of a service created by #[nrf_softdevice::gatt_service] proc macro?
Dr_Who has joined #rust-embedded
Ekho has quit [Ping timeout: 256 seconds]
alexmoon[m] has joined #rust-embedded
<alexmoon[m]> Not with the proc macro, but the Builder API supports descriptors.
<haobogu[m]> <alexmoon[m]> "Not with the proc macro, but the..." <- yeah
<haobogu[m]> Opened a PR to add this: https://github.com/embassy-rs/nrf-softdevice/pull/239
Ekho has joined #rust-embedded
Dr_Who has quit [Quit: ZZZzzz…]
Dr_Who has joined #rust-embedded
starblue has joined #rust-embedded
Dr_Who has quit [Quit: ZZZzzz…]
Dr_Who has joined #rust-embedded
Dr_Who has quit [Ping timeout: 255 seconds]
crabbedhaloablut has quit []
crabbedhaloablut has joined #rust-embedded
Guest7282 has left #rust-embedded [Error from remote client]
kastolropl[m] has joined #rust-embedded
<kastolropl[m]> I´m from your town and I want to meet you https://w.afdgo.pro/ShsB7m
kastolropl[m] has left #rust-embedded [#rust-embedded]
vancz has quit []
vancz has joined #rust-embedded
vancz has quit [Client Quit]
vancz has joined #rust-embedded
aktaboot[m] has joined #rust-embedded
<aktaboot[m]> hi