1
0
Fork 0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-05-11 00:46:09 +02:00

init new cargo project

This commit is contained in:
olivia 2018-04-26 21:41:19 +02:00
parent 5e89d1e888
commit 3ffefa32e1
3 changed files with 17 additions and 0 deletions

4
.gitignore vendored
View File

@ -1,2 +1,6 @@
*.swp
target/
/target/
**/*.rs.bk
Cargo.lock

6
Cargo.toml Normal file
View File

@ -0,0 +1,6 @@
[package]
name = "rustlings"
version = "0.1.0"
authors = ["olivia <olivia@fastmail.com>"]
[dependencies]

7
src/lib.rs Normal file
View File

@ -0,0 +1,7 @@
#[cfg(test)]
mod tests {
#[test]
fn it_works() {
assert_eq!(2 + 2, 4);
}
}