feat: without new async
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
10ef2294d2
commit
124aa93b98
@ -22,15 +22,15 @@ pub struct RustLib {
|
||||
}
|
||||
|
||||
impl RustLib {
|
||||
pub async fn new(value: dagger_sdk::Query) -> eyre::Result<Self> {
|
||||
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<PathBuf>) -> &mut Self {
|
||||
|
Loading…
Reference in New Issue
Block a user