From 5184ca6279d1dc2ae41ce8bf80b39a7ea381b993 Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Thu, 9 Apr 2020 17:28:46 +0200 Subject: Initial commit --- .gitignore | 1 + Cargo.lock | 14 ++++++++++++++ Cargo.toml | 10 ++++++++++ src/main.rs | 3 +++ 4 files changed, 28 insertions(+) create mode 100644 .gitignore create mode 100644 Cargo.lock create mode 100644 Cargo.toml create mode 100644 src/main.rs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..0cb4bf2 --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,14 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +[[package]] +name = "gpio" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fe6783270536547ac473c9d2ae5a7e0e715ea43f29004ced47fbd1c1372d2c7" + +[[package]] +name = "pi" +version = "0.1.0" +dependencies = [ + "gpio", +] diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..c67ae60 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,10 @@ +[package] +name = "pi" +version = "0.1.0" +authors = ["Dennis Kobert "] +edition = "2018" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] +gpio = "0.4" diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} -- cgit v1.2.3-54-g00ecf