From 2d21e45bba64682214d9af7ad4de575f53c74a8d Mon Sep 17 00:00:00 2001 From: David Goodlad Date: Tue, 23 Apr 2019 21:03:03 +1000 Subject: [PATCH] cargo new --- .gitignore | 3 +++ Cargo.toml | 7 +++++++ src/lib.rs | 7 +++++++ 3 files changed, 17 insertions(+) create mode 100644 .gitignore create mode 100644 Cargo.toml create mode 100644 src/lib.rs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2f88dba --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/target +**/*.rs.bk +Cargo.lock \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..42facea --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,7 @@ +[package] +name = "rtl8710-sdk" +version = "0.1.0" +authors = ["David Goodlad "] +edition = "2018" + +[dependencies] diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..31e1bb2 --- /dev/null +++ b/src/lib.rs @@ -0,0 +1,7 @@ +#[cfg(test)] +mod tests { + #[test] + fn it_works() { + assert_eq!(2 + 2, 4); + } +}