commit c6eb7e35199374f2d69155de96fb99976514ae0a Author: Bradlee Speice Date: Thu Sep 19 18:45:21 2019 -0400 Initial Cargo project and Aeron source diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6936990 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/target +**/*.rs.bk +Cargo.lock diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..a115462 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "aeron"] + path = aeron + url = https://github.com/real-logic/aeron diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..090c85e --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "aeron-driver-sys" +version = "0.1.0" +authors = ["Bradlee Speice "] +edition = "2018" +links = "aeron-driver" +build = "build.rs" + +[dependencies] diff --git a/aeron b/aeron new file mode 160000 index 0000000..f3417fd --- /dev/null +++ b/aeron @@ -0,0 +1 @@ +Subproject commit f3417fd5fb4002d7e3c9c8110f42c6542dee5945 diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..31e1bb2 --- /dev/null +++ b/src/lib.rs @@ -0,0 +1,7 @@ +#[cfg(test)] +mod tests { + #[test] + fn it_works() { + assert_eq!(2 + 2, 4); + } +}