Skip to content

Commit

Permalink
Get rid of the blank lines
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Oct 18, 2023
1 parent ed6c7aa commit 6555b9c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions cargo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ debug = true # Symbols are nice and they don't increase the size on Flash
opt-level = "z"

[features]
{%- if std -%}
{%- if std %}
default = ["std", "embassy", "esp-idf-svc/native"]
{%- else -%}
{%- else %}
default = ["alloc", "embassy", "esp-idf-svc/native", "esp-idf-svc/panic_handler", "esp-idf-svc/alloc_handler", "esp-idf-svc/libstart"]
{%- endif -%}
{%- endif %}

pio = ["esp-idf-svc/pio"]
std = ["alloc", "esp-idf-svc/binstart", "esp-idf-svc/std"]
Expand Down
10 changes: 5 additions & 5 deletions cmake/components/rust-{{project-name}}/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ opt-level = "s"
debug = true # Symbols are nice and they don't increase the size on Flash
opt-level = "z"

{%- if hal -%}
{%- if hal %}
[features]
{%- if std -%}
{%- if std %}
default = ["std", "embassy", "esp-idf-svc/native"]
{%- else -%}
{%- else %}
default = ["alloc", "embassy", "esp-idf-svc/native", "esp-idf-svc/panic_handler", "esp-idf-svc/alloc_handler", "esp-idf-svc/libstart"]
{%- endif -%}
{%- endif %}

pio = ["esp-idf-svc/pio"]
std = ["alloc", "esp-idf-svc/binstart", "esp-idf-svc/std"]
Expand All @@ -36,4 +36,4 @@ esp-idf-svc = { version = "0.47", default-features = false }

[build-dependencies]
embuild = "0.31.3"
{%- endif -%}
{%- endif %}

0 comments on commit 6555b9c

Please sign in to comment.