feat: prepare for project addition
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
2e5c7afb22
commit
24a92f0955
10
Cargo.toml
10
Cargo.toml
@ -2,5 +2,11 @@
|
|||||||
members = [
|
members = [
|
||||||
"crates/cuddle-components",
|
"crates/cuddle-components",
|
||||||
"crates/dagger-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"
|
||||||
|
@ -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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user