From 6775181c50a5b13857ff201e2896716ed0c4de05 Mon Sep 17 00:00:00 2001 From: zoe Date: Sat, 30 Apr 2022 18:37:47 +0200 Subject: [PATCH] first commit --- .gitignore | 2 ++ routes-native/Cargo.toml | 8 ++++++++ routes-native/src/lib.rs | 8 ++++++++ 3 files changed, 18 insertions(+) create mode 100644 .gitignore create mode 100644 routes-native/Cargo.toml create mode 100644 routes-native/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/routes-native/Cargo.toml b/routes-native/Cargo.toml new file mode 100644 index 0000000..ac1fd39 --- /dev/null +++ b/routes-native/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "routes-native" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/routes-native/src/lib.rs b/routes-native/src/lib.rs new file mode 100644 index 0000000..1b4a90c --- /dev/null +++ b/routes-native/src/lib.rs @@ -0,0 +1,8 @@ +#[cfg(test)] +mod tests { + #[test] + fn it_works() { + let result = 2 + 2; + assert_eq!(result, 4); + } +}