feat(sdk): re-export through lib.rs

this means that you can now use dagger_sdk::connect() instead of
dagger_sdk::client::connect();
This commit is contained in:
2023-02-19 15:24:37 +01:00
committed by Kasper Juul Hermansen
parent de063eae85
commit 19ed6c267f
10 changed files with 17 additions and 32 deletions

View File

@@ -1,7 +1,7 @@
use dagger_sdk::gen::HostDirectoryOpts;
use dagger_sdk::HostDirectoryOpts;
fn main() -> eyre::Result<()> {
let client = dagger_sdk::client::connect()?;
let client = dagger_sdk::connect()?;
let host_source_dir = client.host().directory(
"examples/build-the-application/app".into(),