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
_whitelogger has joined #rust-embedded
Foxyloxy has joined #rust-embedded
socrates1298 has joined #rust-embedded
ello- has quit [Ping timeout: 244 seconds]
ello_ has quit [Ping timeout: 244 seconds]
_whitelogger has joined #rust-embedded
socrates1298 has quit [Remote host closed the connection]
<JamesMunns[m]> btw, is a library (like postcard) switching from defmt 0.3 to defmt 1.0 a breaking semver change?
<JamesMunns[m]> I think it could be maybe confusing if people still have a locked older version of 0.3, but if they update to the latest 0.3 it should be semver compat if postcard uses 1.0?
burrbull[m] has joined #rust-embedded
<burrbull[m]> 0.3.100 is wrapper for 1.x https://crates.io/crates/defmt/0.3.100/dependencies
<thejpster[m]> <JamesMunns[m]> "btw, is a library (like postcard..." <- The intention was for it not to be, but YMMV
Sonder has joined #rust-embedded
cr1901_ has joined #rust-embedded
rainingmessages1 has joined #rust-embedded
Sonder_ has joined #rust-embedded
Sonder has quit [*.net *.split]
rainingmessages has quit [*.net *.split]
cr1901 has quit [*.net *.split]
Sonder_ is now known as Sonder
rainingmessages1 is now known as rainingmessages
sroemer has joined #rust-embedded
davidmpye[m] has joined #rust-embedded
<davidmpye[m]> Is there any consensus about how to insert credentials eg WiFi details into a binary at compile time, eg via a non standard version of env! ?
<davidmpye[m]> I have a project that needs to generate a number of different uf2 images, with WiFi credentials baked in, as well as a different 'device name' per binary
<davidmpye[m]> And just trying to figure out the nearest way to do that
<diondokter[m]> davidmpye[m]: Could also do an `include_bytes!` or `include_str!`
<davidmpye[m]> Also in std:: tho?
<diondokter[m]> Ah different per binary? You could flash a separate bin file to flash
<diondokter[m]> davidmpye[m]: No that's in core too
<davidmpye[m]> Oh, env is also in core
<davidmpye[m]> One nasty way would just to be to knock up a shell script to set the env vars per binary, then cargo build it, and rename the binary, set the env vars, repeat etc.
<davidmpye[m]> Wonder if there's a neater cargo way to do that
<diondokter[m]> davidmpye[m]: There's no cargo post build step sadly
mameluc[m] has quit [Quit: Idle timeout reached: 172800s]
haobogu[m] has joined #rust-embedded
<haobogu[m]> <davidmpye[m]> "Is there any consensus about how..." <- you can do it using build.rs
sroemer has quit [Quit: WeeChat 4.5.2]
sroemer has joined #rust-embedded
sroemer has quit [Changing host]
sroemer has joined #rust-embedded
mabez[m] has quit [Quit: Idle timeout reached: 172800s]
sroemer has quit [Quit: WeeChat 4.5.2]
sroemer has joined #rust-embedded
sroemer has quit [Changing host]
sroemer has joined #rust-embedded
sroemer has quit [Client Quit]
reto[m] has quit [Quit: Idle timeout reached: 172800s]
socrates1298 has joined #rust-embedded
socrates1298 has quit [Client Quit]
ejpcmac[m] has quit [Quit: Idle timeout reached: 172800s]
Rahix has quit [Quit: ZNC - https://znc.in]
Rahix has joined #rust-embedded
pcs38 has joined #rust-embedded
jason-kairos[m] has quit [Quit: Idle timeout reached: 172800s]
cr1901_ has quit [Read error: Connection reset by peer]
cr1901 has joined #rust-embedded
pcs38 has quit [Quit: leaving]