-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
114 lines (95 loc) · 1.83 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
[package]
name = "amperka_lessons"
autobins= false
version = "0.2.0"
authors = ["Leonid Vygovskiy <leonid.vygovskiy@gmail.com>"]
edition = "2021"
license = "MIT OR Apache-2.0"
[[bin]]
name = "01_blink"
path = "src/01_blink.rs"
test = false
bench = false
[[bin]]
name = "02_blink_fade"
path = "src/02_blink_fade.rs"
test = false
bench = false
[[bin]]
name = "03_pot_light"
path = "src/03_pot_light.rs"
test = false
bench = false
[[bin]]
name = "04_buzzer"
path = "src/04_buzzer.rs"
test = false
bench = false
[[bin]]
name = "05_night_light"
path = "src/05_night_light.rs"
test = false
bench = false
[[bin]]
name = "06_pulsar_bar"
path = "src/06_pulsar_bar.rs"
test = false
bench = false
[[bin]]
name = "07_running_bar"
path = "src/07_running_bar.rs"
test = false
bench = false
[[bin]]
name = "09_mixer"
path = "src/09_mixer.rs"
test = false
bench = false
[[bin]]
name = "10_led_toggle"
path = "src/10_led_toggle.rs"
test = false
bench = false
[[bin]]
name = "11_inc_dec_light"
path = "src/11_inc_dec_light.rs"
test = false
bench = false
[[bin]]
name = "13_seven_segment_counter"
path = "src/13_seven_segment_counter.rs"
test = false
bench = false
[[bin]]
name = "14_shift_register"
path = "src/14_shift_register.rs"
test = false
bench = false
[[bin]]
name = "15_display"
path = "src/15_display.rs"
test = false
bench = false
[dependencies]
panic-halt = "0.2.0"
ufmt = "0.1.0"
nb = "0.1.2"
embedded-hal = "0.2.3"
[dependencies.arduino-hal]
git = "https://github.com/rahix/avr-hal"
rev = "1aacefb335517f85d0de858231e11055d9768cdf"
features = ["arduino-uno"]
[dependencies.avr-device]
version = "0.3.4"
features = ["atmega328p"]
# Configure the build for minimal size - AVRs have very little program memory
[profile.dev]
panic = "abort"
lto = true
opt-level = "s"
[profile.release]
panic = "abort"
codegen-units = 1
debug = true
lto = true
opt-level = "s"