Add Tercel PHY reset synchronization
[microwatt.git] / rust_lib_demo / Cargo.toml
1 [package]
2 name = "microwatt"
3 version = "0.1.4"
4 authors = ["Tom Vijlbrief <tvijlbrief@gmail.com>"]
5 edition = "2018"
6 description = "Running Rust on the microwatt"
7 license = "GPL-3.0"
8
9 [lib]
10 name = "mylib"
11 crate_type = ["staticlib"]
12
13 [profile.dev]
14 panic = "abort"
15
16 [dependencies]
17 heapless = "0.5.4"
18 cty = "0.2"
19 #embedded-hal = "0.2.3"
20 #panic-halt = "0.2.0"
21 linked_list_allocator = "0.8.2"
22
23 [profile.release]
24 panic = "abort"
25 codegen-units = 1 # better optimizations
26 opt-level = 'z' # Optimize for size.
27 debug = true # symbols are nice and they don't increase the size on Flash
28 lto = true # better optimizations