dagger-rs/crates/dagger-sdk/src/lib.rs

19 lines
264 B
Rust
Raw Normal View History

2023-02-05 23:44:06 +01:00
pub mod client;
2023-01-29 15:23:03 +01:00
pub mod gen;
2023-02-05 19:17:46 +01:00
mod querybuilder;
2023-01-29 15:23:03 +01:00
2023-01-29 11:38:13 +01:00
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);
}
}