added rust lib

This commit is contained in:
Wyatt J. Miller 2022-07-15 14:55:35 -04:00
parent 06afadbfe4
commit 3ccd803d2f
2 changed files with 16 additions and 0 deletions

8
libautobar/Cargo.toml Normal file
View File

@ -0,0 +1,8 @@
[package]
name = "libautobar"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

8
libautobar/src/lib.rs Normal file
View File

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