Skip to content

Commit

Permalink
Add Cargo project
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Aug 20, 2018
1 parent cdfb945 commit 6be5e69
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
@@ -1,2 +1,6 @@
# Cargo
/target
/Cargo.lock

# Sublime Text
/*.sublime-workspace
4 changes: 4 additions & 0 deletions Cargo.toml
@@ -0,0 +1,4 @@
[package]
name = "dw1000"
version = "0.1.0"
authors = ["Hanno Braun <hanno@braun-robotics.com>"]
7 changes: 7 additions & 0 deletions src/lib.rs
@@ -0,0 +1,7 @@
#[cfg(test)]
mod tests {
#[test]
fn it_works() {
assert_eq!(2 + 2, 4);
}
}

0 comments on commit 6be5e69

Please sign in to comment.