From ce30e674b8a4a5b000007fcd7e5699635807d07e Mon Sep 17 00:00:00 2001 From: brnrs Date: Sun, 26 Apr 2020 10:00:18 +0200 Subject: [PATCH] init crate --- .gitignore | 8 ++++++++ Cargo.toml | 9 +++++++++ LICENSE | 2 +- src/lib.rs | 7 +++++++ 4 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 Cargo.toml create mode 100644 src/lib.rs diff --git a/.gitignore b/.gitignore index 62bd1a4..a3283af 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,11 @@ Cargo.lock # These are backup files generated by rustfmt **/*.rs.bk + + +#Added by cargo +# +#already existing elements were commented out + +/target +#Cargo.lock diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..6ab5c01 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "eventear" +version = "0.1.0" +authors = ["brnrs "] +edition = "2018" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/LICENSE b/LICENSE index 204b93d..a77e670 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -MIT License Copyright (c) +MIT License Copyright (c) 2020 brnrs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal 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); + } +}