diff --git a/Cargo.lock b/Cargo.lock index ab2fb73..e748e9d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -181,6 +181,10 @@ dependencies = [ "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "lab-can-tcp-proto" +version = "0.1.0" + [[package]] name = "lazy_static" version = "1.3.0" diff --git a/Cargo.toml b/Cargo.toml index fcee302..1ed11a0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,6 @@ [workspace] members = [ + "lab-can-tcp-proto", "cand" -] \ No newline at end of file +] diff --git a/lab-can-tcp-proto/Cargo.toml b/lab-can-tcp-proto/Cargo.toml new file mode 100644 index 0000000..9630c70 --- /dev/null +++ b/lab-can-tcp-proto/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "lab-can-tcp-proto" +version = "0.1.0" +authors = ["fridtjof <2780577+fridtjof@users.noreply.github.com>"] +edition = "2018" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/lab-can-tcp-proto/src/lib.rs b/lab-can-tcp-proto/src/lib.rs new file mode 100644 index 0000000..31e1bb2 --- /dev/null +++ b/lab-can-tcp-proto/src/lib.rs @@ -0,0 +1,7 @@ +#[cfg(test)] +mod tests { + #[test] + fn it_works() { + assert_eq!(2 + 2, 4); + } +}