drogue-iot / embedded-tls

An Rust TLS 1.3 implementation for embedded devices.
Apache License 2.0
168 stars 21 forks source link

The atomic-polyfill crate is deprecated. #140

Closed kefran06 closed 1 month ago

kefran06 commented 3 months ago

The atomic-polyfill crates is deprecated and it is recommended that the portable-atomic crate be used instead. (https://github.com/embassy-rs/atomic-polyfill) Is it possible to change to use the portable-atomic crate?

※ Currently, on the xtensa-esp32-espidf target, the atomic-polyfill causes a compile error.

error[E0432]: unresolved import core::sync::atomic::AtomicU64

lulf commented 3 months ago

Yeah, that sounds good. Would you like to open a PR for it?

kefran06 commented 3 months ago

i'm pretty new to rust, I tried something maybe you can help me to tell me if I missed something

https://github.com/drogue-iot/embedded-tls/pull/141/commits