9762da895a
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 18:00:04 +01:00
02006d40fc
fix(sdk): without phantom data
2023-02-19 18:00:04 +01:00
94336d0637
feat(sdk): move to &str instead of String and introduce builder.
...
This will make the api much easier to use, as we can now rely on ""
instead of "".into() for normal string values.
Introduced builder as well, which makes it much easier to use *Opts, as
it can handle the building of that, and get the benefits from String ->
&str, as that is currently not allowed for optional values
2023-02-19 18:00:04 +01:00
6e2292cf11
fix(sdk): dependencies
2023-02-19 15:39:10 +01:00
cc81124f89
Release dagger-sdk v0.2.4
2023-02-19 15:34:07 +01:00
7d04ab1240
fix(sdk): readme dagger-rs -> dagger-sdk
2023-02-19 15:33:48 +01:00
92350306b3
Release dagger-sdk v0.2.3, dagger-codegen v0.2.3, dagger-rs v0.2.9
2023-02-19 15:30:08 +01:00
19ed6c267f
feat(sdk): re-export through lib.rs
...
this means that you can now use dagger_sdk::connect() instead of
dagger_sdk::client::connect();
2023-02-19 15:29:03 +01:00
de063eae85
feat(sdk): with return result instead of unwrap
2023-02-19 15:29:03 +01:00
5d66736990
feat(core,sdk): remove unnecessary option returns
2023-02-19 15:29:03 +01:00
e921ba1363
Release dagger-sdk v0.2.2
2023-02-19 12:30:59 +01:00
1638f15fba
Release dagger-core v0.2.2, dagger-codegen v0.2.2, dagger-rs v0.2.8
2023-02-19 12:27:28 +01:00
10bc6f3846
fix(sdk): fixed fmt errors
2023-02-19 12:23:20 +01:00
6e5f407432
feat(sdk): update to dagger v0.3.12
2023-02-19 12:23:20 +01:00
aa0c397b15
Release dagger-sdk v0.2.1
2023-02-18 16:05:10 +01:00
11a5247933
add dagger-sdk changelog
2023-02-18 16:04:39 +01:00
20c71189f6
Release dagger-rs v0.2.7, dagger-sdk v0.2.1
2023-02-18 16:03:59 +01:00
1332bc842c
Release dagger-core v0.2.1, dagger-codegen v0.2.1, dagger-rs v0.2.1
2023-02-18 15:05:46 +01:00
a064684fcf
add changelogs
2023-02-18 15:05:42 +01:00
f4a20fda79
Adjusting changelogs prior to release of dagger-core v0.2.1, dagger-codegen v0.2.1, dagger-rs v0.2.1
2023-02-18 15:04:11 +01:00
789b0e69c8
fix(deps): update all dependencies ( #5 )
...
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2023-02-17 23:00:42 +01:00
f03452840c
remove toolchain
2023-02-17 18:26:38 +01:00
7153c24f01
with actual versions
2023-02-17 18:24:45 +01:00
989d5bc260
with publish
2023-02-17 18:19:31 +01:00
c625ae49ba
codegen also with repository
2023-02-17 18:14:51 +01:00
e5383b51f3
with repo
2023-02-17 18:13:17 +01:00
1e26b383d4
with readme and license
2023-02-17 18:12:02 +01:00
533b9dfef0
with wildcard version
2023-02-17 18:09:44 +01:00
bec62de62f
cargo version 0.2.0
2023-02-17 18:05:33 +01:00
36b0ecdabf
bump version
2023-02-17 18:01:46 +01:00
578c2a6883
document usage
2023-02-17 18:00:20 +01:00
6be8482b46
fix all clippy
2023-02-17 17:51:39 +01:00
0cbd1790b0
add with dockerfile
2023-02-17 17:50:45 +01:00
728840ca8e
with caching
2023-02-17 17:40:46 +01:00
59e2572173
add more quickstart
2023-02-17 17:29:23 +01:00
d894def70c
build the application
2023-02-17 15:47:12 +01:00
cb9a4dd84f
add test-the-application
2023-02-17 15:34:18 +01:00
d1726a052a
with println
2023-02-17 15:17:28 +01:00
4a4c03f3c2
feature/add impl ( #6 )
...
* format code
* with object gen and args
* add implementation
* add rust generator
* reset generated code
* add basic output
* reset output
* add object
* add format function
* with opts
* fix vec
* add context to unwrap
* fix arguments
* with function body
* first complete generation: Still missing Vec<Obj>
* run full alpine
* add roadmap item
2023-02-17 12:33:16 +01:00
2eb027754b
fmt tests
2023-02-11 15:27:37 +01:00
19b46b6cf0
add tests
2023-02-11 15:23:41 +01:00
c4edd29f50
pull out args wip
2023-02-11 14:38:58 +01:00
52a0db3e31
context and querier done
2023-02-11 14:03:06 +01:00
3b5b59ba1c
unpack response
2023-02-11 14:02:20 +01:00
7a008be59e
tested full flow initially
2023-02-05 23:44:06 +01:00
ec0d0b22e6
move code to dagger-core
2023-02-05 22:26:58 +01:00
9f0021b708
with selection impl default
2023-02-05 21:50:34 +01:00
2b49f9c190
fix warnings
2023-02-05 21:49:01 +01:00
03366b7c5b
fix test
2023-02-05 19:26:25 +01:00
c5dfcebaad
test marshaller
2023-02-05 19:25:18 +01:00