forked from esp-rs/esp8266-hal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
61 lines (52 loc) · 1.4 KB
/
Cargo.toml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[package]
name = "esp8266-hal"
version = "0.5.1"
authors = [
"Robin Appelman <[email protected]>",
"Jesse Braham <[email protected]>",
]
edition = "2021"
description = "HAL for ESP8266 microcontrollers"
repository = "https://github.com/esp-rs/esp8266-hal"
license = "MIT OR Apache-2.0"
keywords = [
"embedded",
"embedded-hal",
"esp",
"esp8266",
"no-std",
]
categories = [
"embedded",
"hardware-support",
"no-std",
]
[dependencies]
embedded-hal = { version = "0.2", features = ["unproven"] }
esp8266 = "0.6"
nb = "1.0"
paste = { version = "1.0", optional = true }
void = { version = "1.0", default-features = false }
xtensa-lx = { version = "0.7", features = ["esp8266"] }
xtensa-lx-rt = { version = "0.12", features = ["esp8266"], optional = true }
[dependencies.esp8266-hal-proc-macros]
path = "procmacros"
version = "=0.1"
[dev-dependencies]
panic-halt = "0.2"
[features]
default = ["interrupt", "rt"]
interrupt = ["paste"]
rt = ["xtensa-lx-rt"]
# Place program completely in RAM (needed when e.g. using only ROM bootloader,
# or for debugging).
all_in_ram = []
[profile.dev]
lto = true
opt-level = 1
# Workaround for linker errors when using lto with the dev profile:
# https://github.com/rust-lang/compiler-builtins/issues/347
[profile.dev.package.compiler_builtins]
overflow-checks = false
[profile.release]
lto = true