diff options
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..8911320 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,29 @@ +[package] +name = "joystick" +version = "0.1.0" +authors = ["Gustav Sörnäs <gustav@sornas.net>"] +edition = "2018" + +[dependencies] +panic-halt = "0.2.0" + +embedded-hal = "0.2" +nb = "1" +avr-device = "0.3" +ufmt = "0.1" + +[dependencies.arduino-uno] +git = "https://github.com/rahix/avr-hal" +rev = "a202778" + +# Configure the build for minimal size +[profile.dev] +panic = "abort" +lto = true +opt-level = "s" + +[profile.release] +panic = "abort" +codegen-units = 1 +lto = true +opt-level = "s" |
