From c91e1e36434a7739057ccf76ce6b124731964c2e Mon Sep 17 00:00:00 2001 From: Louis Vallat Date: Sun, 26 Jun 2022 17:02:32 +0200 Subject: [PATCH] Initial commit Signed-off-by: Louis Vallat --- .gitignore | 2 ++ Cargo.toml | 10 ++++++++++ src/lib.rs | 8 ++++++++ 3 files changed, 20 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..4fffb2f --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/target +/Cargo.lock diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..f05fb31 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,10 @@ +[package] +name = "livebox" +version = "0.1.0" +edition = "2021" +description = "A library to gather data from Livebox 4 & 5." +license = "GPL-3.0" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..1b4a90c --- /dev/null +++ b/src/lib.rs @@ -0,0 +1,8 @@ +#[cfg(test)] +mod tests { + #[test] + fn it_works() { + let result = 2 + 2; + assert_eq!(result, 4); + } +}