aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-10-23 11:26:56 -0400
committerJesse Luehrs <doy@tozt.net>2019-10-23 11:26:56 -0400
commit953b259ccc797df4f486171bb3466503f5851325 (patch)
tree70042397baff4ba26c7d77b0bb4fdcf07abc67dd
parenta8923728bc4120bd1688d0c017ee52705a6e94e7 (diff)
downloadcomponent-future-953b259ccc797df4f486171bb3466503f5851325.tar.gz
component-future-953b259ccc797df4f486171bb3466503f5851325.zip
project skeleton
-rw-r--r--.gitignore3
-rw-r--r--Cargo.toml9
-rw-r--r--src/lib.rs7
3 files changed, 19 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..6936990
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+/target
+**/*.rs.bk
+Cargo.lock
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644
index 0000000..aee64b6
--- /dev/null
+++ b/Cargo.toml
@@ -0,0 +1,9 @@
+[package]
+name = "component-future"
+version = "0.1.0"
+authors = ["Jesse Luehrs <doy@tozt.net>"]
+edition = "2018"
+
+# 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..31e1bb2
--- /dev/null
+++ b/src/lib.rs
@@ -0,0 +1,7 @@
+#[cfg(test)]
+mod tests {
+ #[test]
+ fn it_works() {
+ assert_eq!(2 + 2, 4);
+ }
+}