Initial commit - cargo new

This commit is contained in:
Y. Sapir 2019-07-19 02:09:06 +03:00
commit ef4a0dcaa3
3 changed files with 17 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
/target
**/*.rs.bk
Cargo.lock

7
Cargo.toml Normal file
View File

@ -0,0 +1,7 @@
[package]
name = "esp32-hal"
version = "0.1.0"
authors = ["Y. Sapir <yasapir@gmail.com>"]
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);
}
}