-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
40 lines (33 loc) · 752 Bytes
/
Cargo.toml
File metadata and controls
40 lines (33 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[package]
name = "{{project-name}}"
version = "0.1.0"
authors = ["{{authors}}"]
edition = "2021"
resolver = "2"
rust-version = "1.80"
[profile.release]
opt-level = "s"
[profile.dev]
debug = true
opt-level = "z"
[dependencies]
{% if template -%}
anyhow = "1.0.93"
log = "0.4.22"
{% endif -%}
rainmaker = "0.1"
{% if linux -%}
{% if template -%}
{% if template_logger -%}
[target.x86_64-unknown-linux-gnu.dependencies]
simple_logger = "5.0.0"
{% endif -%}
{% endif -%}
{% endif -%}
{% if esp -%}
[target.{{ esp_target }}.dependencies]
esp-idf-svc = "0.49" # required for compilation even if not used
[build-dependencies]
embuild = { version = "0.32", features = ["espidf"] }
cc = "=1.1.31" # esp-idf-sys build fails on later versions
{% endif -%}