-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
94 lines (72 loc) · 2.62 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
[package]
name = "rmk_firmware"
version = "0.1.0"
edition = "2021"
# authors = ["Lucas Placentino"] #deprecated ?
description = "RMK - Rust keyboard firmware, based on QMK and KMK"
documentation = "https://obsilab.github.io/rmk_docs/" #TODO need to change url "https://rmk.obsilab.com/docs"
# homepage = "https://rmk.obsilab.com/" #TODO need to change url
readme = "README.md"
repository = "https://github.com/ObsiLab/rmk_firmware"
license = "MIT"
# license-file = "LICENSE"
keywords = ["keyboard","firmware","qmk","rmk","kmk"]
categories = ["embedded","hardware-support"] # [...,"no-std"] ?
# prevents from accidentily publishing to crates.io :
publish = false
# ! REMOVE IF PUBLISHING TO crates.io
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
# rp2040 = true # ? for [cfg(rp2040)]
# [badges] # used ?
# maintenance = ["experimental"] # used ?
# rp2040 = true # ? for [cfg(rp2040)]
[dependencies]
# test:
inheritance = { version = "0.0.1-alpha.2", features = ["specialization"] } #less repetitive code for implementing traits
log = "0.4" #?
# v1 test
usbd-human-interface-device = "0.3.1"
# embedded_hal = "0.2.5" # features? # rather than rp-hal, to run on any mcu
# ? -- ARM --
cortex-m = "0.7.3"
cortex-m-rt = ">=0.6.15,<0.8"
cortex-m-rtic = "0.6.0-rc.4"
embedded-hal = { version = "0.2.5", features = ["unproven"] }
embedded-time = "0.12.0"
# ?
defmt = "0.3.0"
# defmt = { version = ">=0.2.0, <0.4", optional = true }
panic-halt= "0.2.0"
panic-probe = { version = "0.3.0", features = ["print-defmt"] }
# ? -- USB --
usb-device= "0.2.8"
usbd-serial = "0.1.1"
usbd-hid = "0.5.0"
# prefer usbd-human-interface-device = "0.3.1" # ?
# -- RP-HAL: --
# You can use any BSP. Uncomment this to use for example :
# rp-pico = "0.3.0"
# sparkfun-pro-micro-rp2040 = "0.2.0"
# If you're not going to use a Board Support Package you'll need these:
#rp2040-hal = { version="0.4.0", features=["rt"] }
#rp2040-boot2 = "0.2.0"
# prefer to use only embedded-hal? ot use any MCU
[dev-dependencies]
color-eyre = "0.6.2" # colored error messages
# [profile.dev]
# lto = true
# incremental = false
# opt-level = "z"
# debug = true
#? panic = "abort" # avoid needing to define the unstable eh_personality lang item
# [profile.release]
# strip = true # Strip symbols from binary
# opt-level = "z" # "z" ("s"??) optimize for binary size, default optimizes for runtime speed
# lto = true # enable link time optimization
# codegen-units = 1 # maximize size reduction optimizations at the expense of build time
# incremental = false
#? panic = "abort"
# [features]
# default = ["boot2"]
# boot2 = ["rp2040-boot2"]
# --- End of file ---