diff --git a/crates/cuddle-ci/src/rust_lib.rs b/crates/cuddle-ci/src/rust_lib.rs index 47f9c75..b4ce8b0 100644 --- a/crates/cuddle-ci/src/rust_lib.rs +++ b/crates/cuddle-ci/src/rust_lib.rs @@ -22,15 +22,15 @@ pub struct RustLib { } impl RustLib { - pub async fn new(value: dagger_sdk::Query) -> eyre::Result { - Ok(Self { + pub fn new(value: dagger_sdk::Query) -> Self { + Self { client: value, source: None, crates: Vec::new(), arch: None, os: None, base_image: None, - }) + } } pub fn with_source(&mut self, path: impl Into) -> &mut Self {