diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2021-03-13 16:58:03 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2021-03-13 16:58:03 +0100 |
| commit | 458393e266785218b110692d6d1910ed443cb2cc (patch) | |
| tree | 23fb9104bd45e155aa3bc349ba5c5afc496deb5e /Cargo.toml | |
| download | template-458393e266785218b110692d6d1910ed443cb2cc.tar.gz | |
initial commit
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..84e5b4d --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,25 @@ +[package] +name = "arduino-uno-template" +version = "0.0.0" +authors = ["Gustav Sörnäs <gustav@sornas.net>"] +edition = "2018" + +[dependencies] +panic-halt = "0.2.0" + +[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" |
