esp-rs / esp-idf-template

A "Hello, world!" template of a Rust binary crate for the ESP-IDF framework.
404 stars 49 forks source link

cargo generate does not include features "native" #12

Closed georgik closed 2 years ago

georgik commented 2 years ago

Cargo generate does not generate the template which has native feature enabled. The build is then using pio by default.

ivmarkov commented 2 years ago

I'm not sure what is the ask. Are you asking for the "native" feature to be included in the default features?

We can do that, but only for the case when the user has selected a branch that is supported with native build only.

ivmarkov commented 2 years ago

If my interpretation of what you request is correct, then this is now fixed with https://github.com/esp-rs/esp-idf-template/commit/94a7d00f82a3c694d2bd1b5b29ceba2fbde4d7a1 .