diff options
| author | Yuval Adam <_@yuv.al> | 2022-07-18 08:19:43 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2022-07-18 08:19:43 +0300 |
| commit | 57f0ba6e4d0cd7a98f7f03bd1840b3fe3d23c7b6 (patch) | |
| tree | 5f0e9994ee07ad89aca6394f74cdde05e7e31d9c | |
| parent | c92d7d9c3911141b0c7d76323e6d0fc5c28e4338 (diff) | |
Add libcodec2 package
| -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); + } +} |
