Closed Dirbaio closed 1 year ago
Defmt is known by its unstability. Is it good idea to depends on it?
fair point, i think it is still useful to have / we'll just have to keep it up to date
How about naming the feature defmt-0-3
to make the stability status of the defmt dependency clear as well as to potentially support other versions like in nb?
It should be noted that this would be the only < 1.0 dependency embedded-hal-bus
would have once embedded-hal
1.0 is out.
Related issue: https://github.com/rust-embedded/embedded-hal/issues/460
Making the enums (optionally) derive defmt::Format
would be useful for crates using those enums in their structs.
(e.g. https://github.com/rp-rs/rp-hal/pull/654#discussion_r1271396851). But I agree we have to be cautious regarding the stability of defmt.
-bus
. (adds derive(defmt::Format)
to all enums and structs in embedded-hal{,-async,-bus}
.defmt-03
include
makes no sense.
Defmt is known by its unstability. Is it good idea to depends on it?