Init the rust library

This commit is contained in:
Justin Ayala 2019-04-29 08:25:23 -07:00
parent c7a133d559
commit 7c55362f78
Signed by: iramch
GPG Key ID: 9C4EE4DCBADF6646
3 changed files with 23 additions and 0 deletions

9
.gitignore vendored
View File

@ -10,3 +10,12 @@ Cargo.lock
# These are backup files generated by rustfmt
**/*.rs.bk
#Added by cargo
#
#already existing elements are commented out
/target
#**/*.rs.bk
#Cargo.lock

7
Cargo.toml Normal file
View File

@ -0,0 +1,7 @@
[package]
name = "bigint"
version = "0.1.0"
authors = ["justin"]
edition = "2018"
[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);
}
}