feat: prepare for project addition

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2023-08-11 17:00:19 +02:00
parent 2e5c7afb22
commit 24a92f0955
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394
2 changed files with 8 additions and 15 deletions

View File

@ -2,5 +2,11 @@
members = [
"crates/cuddle-components",
"crates/dagger-components",
"crates/dagger-cuddle-please"
"crates/dagger-cuddle-please",
]
resolver = "2"
[workspace.dependencies]
dagger-sdk = "0.2.22"
eyre = "0.6.8"
tokio = "1.30.0"

View File

@ -1,14 +1 @@
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);
}
}