mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 05:52:23 -05:00
init new cargo project
This commit is contained in:
parent
5e89d1e888
commit
3ffefa32e1
3 changed files with 17 additions and 0 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,2 +1,6 @@
|
||||||
*.swp
|
*.swp
|
||||||
target/
|
target/
|
||||||
|
|
||||||
|
/target/
|
||||||
|
**/*.rs.bk
|
||||||
|
Cargo.lock
|
||||||
|
|
6
Cargo.toml
Normal file
6
Cargo.toml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
[package]
|
||||||
|
name = "rustlings"
|
||||||
|
version = "0.1.0"
|
||||||
|
authors = ["olivia <olivia@fastmail.com>"]
|
||||||
|
|
||||||
|
[dependencies]
|
7
src/lib.rs
Normal file
7
src/lib.rs
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#[cfg(test)]
|
||||||
|
mod tests {
|
||||||
|
#[test]
|
||||||
|
fn it_works() {
|
||||||
|
assert_eq!(2 + 2, 4);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue