From e74a39d396e859cc492b2a66e7d48b266e14915f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Chodzikiewicz?= Date: Thu, 17 Dec 2020 22:45:34 +0100 Subject: [PATCH] Initial commit --- .gitignore | 3 +++ Cargo.toml | 12 ++++++++++++ examples/basic-plot/main.rs | 3 +++ src/lib.rs | 7 +++++++ 4 files changed, 25 insertions(+) create mode 100644 .gitignore create mode 100644 Cargo.toml create mode 100644 examples/basic-plot/main.rs create mode 100644 src/lib.rs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2e04901 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/target +Cargo.lock +.idea/ \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..4d394c8 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,12 @@ +[package] +name = "embedded-plots" +version = "0.1.0" +authors = ["MichaƂ Chodzikiewicz "] +edition = "2018" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] + + + diff --git a/examples/basic-plot/main.rs b/examples/basic-plot/main.rs new file mode 100644 index 0000000..646fa5e --- /dev/null +++ b/examples/basic-plot/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello world!"); +} \ No newline at end of file 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); + } +}