diff options
| -rw-r--r-- | Cargo.toml | 3 | ||||
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | libcodec2/Cargo.toml | 8 | ||||
| -rw-r--r-- | libcodec2/src/lib.rs | 8 |
4 files changed, 19 insertions, 2 deletions
@@ -1,5 +1,6 @@ [workspace] members = [ + "libcodec2", "codec2-sys", -]
\ No newline at end of file +] @@ -1,4 +1,4 @@ -# codec2-sys +# codec2.rs Rust system bindings for the [codec2](https://github.com/drowe67/codec2) library. diff --git a/libcodec2/Cargo.toml b/libcodec2/Cargo.toml new file mode 100644 index 0000000..573dd1d --- /dev/null +++ b/libcodec2/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "libcodec2" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/libcodec2/src/lib.rs b/libcodec2/src/lib.rs new file mode 100644 index 0000000..1b4a90c --- /dev/null +++ b/libcodec2/src/lib.rs @@ -0,0 +1,8 @@ +#[cfg(test)] +mod tests { + #[test] + fn it_works() { + let result = 2 + 2; + assert_eq!(result, 4); + } +} |
