init new cargo project

This commit is contained in:
olivia committed 2018-04-26 21:41:19 +02:00
1 parent 5e89d1e888
commit 3ffefa32e1
3 files changed
+17

No files matched your search

+4
View File
@@ -1,2 +1,6 @@
*.swp
target/
/target/
**/*.rs.bk
Cargo.lock
+6
View File
@@ -0,0 +1,6 @@
[package]
name = "rustlings"
version = "0.1.0"
authors = ["olivia <olivia@fastmail.com>"]
[dependencies]
+7
View File
@@ -0,0 +1,7 @@
#[cfg(test)]
mod tests {
#[test]
fn it_works() {
assert_eq!(2 + 2, 4);
}
}