summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2021-03-13 23:45:40 +0100
committerGustav Sörnäs <gustav@sornas.net>2021-03-13 23:45:40 +0100
commit36251ad76afbe22c78fabc2ff1186615aaef0662 (patch)
tree60e5a9d04d3ce7a24cd5ee7004a872ba9beba7be /Cargo.toml
downloadserial-morse-36251ad76afbe22c78fabc2ff1186615aaef0662.tar.gz
initial commit
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml28
1 files changed, 28 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644
index 0000000..6e24335
--- /dev/null
+++ b/Cargo.toml
@@ -0,0 +1,28 @@
+[package]
+name = "serial-morse"
+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"
+
+[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
+debug = true
+lto = true
+opt-level = "s"