1+ [package ]
2+ authors = [" Jonathan 'theJPster' Pallant <github@thejpster.org.uk>" ]
3+ name = " neotron-bmc"
4+ edition = " 2018"
5+ version = " 0.1.0"
6+
7+ [workspace ]
8+ members = [" testsuite" ]
9+
10+ [dependencies ]
11+ cortex-m = " 0.7.1"
12+ cortex-m-rt = " 0.6.13"
13+ defmt = " 0.2.0"
14+ defmt-rtt = " 0.2.0"
15+ cortex-m-rtic = " 0.5"
16+ panic-probe = { version = " 0.2.0" , features = [" print-defmt" ] }
17+ stm32f0xx-hal = { version = " 0.17" , features = [" stm32f031" , " rt" ] }
18+ debouncr = " 0.2"
19+
20+ [features ]
21+ # set logging levels here
22+ default = [
23+ " defmt-default" ,
24+ # "dependency-a/defmt-trace",
25+ ]
26+
27+ # do NOT modify these features
28+ defmt-default = []
29+ defmt-trace = []
30+ defmt-debug = []
31+ defmt-info = []
32+ defmt-warn = []
33+ defmt-error = []
34+
35+ # cargo build/run
36+ [profile .dev ]
37+ codegen-units = 1
38+ debug = 2
39+ debug-assertions = true # <-
40+ incremental = false
41+ opt-level = 3 # <-
42+ overflow-checks = true # <-
43+
44+ # cargo test
45+ [profile .test ]
46+ codegen-units = 1
47+ debug = 2
48+ debug-assertions = true # <-
49+ incremental = false
50+ opt-level = 3 # <-
51+ overflow-checks = true # <-
52+
53+ # cargo build/run --release
54+ [profile .release ]
55+ codegen-units = 1
56+ debug = 2
57+ debug-assertions = false # <-
58+ incremental = false
59+ lto = ' fat'
60+ opt-level = 3 # <-
61+ overflow-checks = false # <-
62+
63+ # cargo test --release
64+ [profile .bench ]
65+ codegen-units = 1
66+ debug = 2
67+ debug-assertions = false # <-
68+ incremental = false
69+ lto = ' fat'
70+ opt-level = 3 # <-
71+ overflow-checks = false # <-
72+
73+ # uncomment this to switch from the crates.io version of defmt to its git version
74+ # check app-template's README for instructions
75+ # [patch.crates-io]
76+ # defmt = { git = "https://github.com/knurling-rs/defmt", rev = "use defmt version reported by `probe-run --version`" }
77+ # defmt-rtt = { git = "https://github.com/knurling-rs/defmt", rev = "use defmt version reported by `probe-run --version`" }
78+ # defmt-test = { git = "https://github.com/knurling-rs/defmt", rev = "use defmt version reported by `probe-run --version`" }
79+ # panic-probe = { git = "https://github.com/knurling-rs/defmt", rev = "use defmt version reported by `probe-run --version`" }
0 commit comments