Added missing files

This commit is contained in:
Daniel Sanchez Quiros 2024-04-11 17:29:48 +03:00
parent fe2c5534a3
commit 4653fa3319
2 changed files with 26 additions and 0 deletions

View File

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

View File

@ -0,0 +1,17 @@
mod common;
mod encoder;
pub fn add(left: usize, right: usize) -> usize {
left + right
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}