esp-rs / esp-template

A minimal esp-hal application template for use with cargo-generate
Apache License 2.0
136 stars 27 forks source link

Fixed embedded-svc version #138

Closed Nereuxofficial closed 8 months ago

Nereuxofficial commented 8 months ago

The version of embedded-svc in esp-wifi 0.1.1 is 0.26.1 and using an older one leads to trait conflicts which are hard to find out.

See https://github.com/esp-rs/esp-wifi/blob/v0.1.1/Cargo.toml

I encountered this error where a trait was implemented but not in scope, despite having the right imports. Turns out after using the trait function explicitly, that two versions of the trait are used. Fixing the version in the Cargo.toml fixed this for me.

Also: Happy new year!