dagger-rs/crates/dagger-sdk/examples/test-the-application
kjuulh 6779808322
feat(sdk): with _opts methods
Now all opt values enter into a _opts function instead of the original.
This avoids a lot of verbosity for both None in the case opts are
unwanted, and Some() if they actually are.

They are used like so:

```rust
client.container().from("...");
client.container_opts(Some(ContainerOpts{ ... }))
```

Some from opts will be removed in a future commit/pr
2023-02-19 17:43:12 +01:00
..
app add test-the-application 2023-02-17 15:34:18 +01:00
main.rs feat(sdk): with _opts methods 2023-02-19 17:43:12 +01:00