ab6141ffb4
feat: extract client
2023-03-18 21:30:25 +01:00
384294b390
feat: rename projects to point to github/kjuulh/dagger-sdk
2023-03-18 15:33:14 +01:00
756a080533
fix: stable input fields and args
2023-03-14 22:21:35 +01:00
71f98d0293
fix: stable enum entries
2023-03-14 22:21:35 +01:00
b55bcc159f
refactor: move dagger-rs and adopt workspace.deps
2023-03-14 22:01:20 +01:00
8fd6bb983e
fix: serialization of enum args for graphql ( #34 )
2023-03-14 13:56:49 +00:00
c025d17424
fix: add support for String as well
2023-03-13 21:07:14 +01:00
d7317e5cf3
fix: add public tuple field and into func
2023-03-13 21:07:14 +01:00
f390eac29f
Release dagger-core v0.2.8, dagger-sdk v0.2.16
2023-03-10 23:40:02 +01:00
5f9b3a19c0
feat: set internal warnings as errors
2023-02-25 02:01:13 +01:00
ecca036bc6
fix(sdk): fix builder pattern to actually work with default values
...
In previous versions the builder pattern required all values to be set.
This has not been fixed, so that default values are allowed.
2023-02-25 01:47:57 +01:00
6a9a560cdc
Release dagger-core v0.2.7, dagger-sdk v0.2.15
2023-02-25 00:11:35 +01:00
e578b0e371
fix: set deserialize on enums as well
2023-02-25 00:10:46 +01:00
456f48389b
Release dagger-codegen v0.2.8, dagger-sdk v0.2.13
2023-02-22 22:38:42 +01:00
266ad32dff
feat(sdk): with clone
2023-02-22 22:38:15 +01:00
7179f8b598
Release dagger-core v0.2.6, dagger-codegen v0.2.7, dagger-sdk v0.2.12
2023-02-20 12:07:33 +01:00
1725c5188e
Release dagger-core v0.2.5, dagger-sdk v0.2.12, dagger-codegen v0.2.7
2023-02-20 11:42:14 +01:00
a13a2a9ecb
fix(all): race condition in process
2023-02-20 11:42:03 +01:00
f869e574dd
Release dagger-core v0.2.4, dagger-codegen v0.2.6, dagger-sdk v0.2.11
2023-02-20 10:48:05 +01:00
17ec62a5d5
Release dagger-core v0.2.4, dagger-codegen v0.2.6, dagger-sdk v0.2.11
2023-02-20 10:42:12 +01:00
803cfc4f8c
chore(sdk): ran clippy
2023-02-20 10:42:00 +01:00
04990247ba
Release dagger-sdk v0.2.8, dagger-codegen v0.2.5
2023-02-19 22:43:48 +01:00
978ede68ae
feat(sdk): add documentation strings
2023-02-19 22:43:12 +01:00
9be6f435d9
feat(sdk,core): Use async runtime instead of blocking.
...
Default to using async runtime instead of blocking. I.e.
```rust
fn main() -> eyre::Result<()> {
// ...
client.container().from("rust").publish("somewhere")?;
// ...
}
// to
async fn main() -> eyre::Result<()> {
// ...
client.container().from("rust").publish("somewhere").await?;
// ...
}
```
2023-02-19 21:47:40 +01:00
f72731807d
Release dagger-sdk v0.2.5, dagger-codegen v0.2.4
2023-02-19 18:00:27 +01:00
c627595fd2
fix: cargo clippy
2023-02-19 18:00:04 +01:00
f29ff836cf
feat(sdk): without Some in _opts functions
...
Option has been removed as a wrapper around opts. This makes it much
more convenient to use
```rust
client.container_opts(Some(ContainerOpts{}))
// ->
client.container_opts(ContainerOpts{})
```
The same options are still available, either an empty object can be
passed, or a non _opts function can be used
2023-02-19 18:00:04 +01:00
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
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
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
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
6e5f407432
feat(sdk): update to dagger v0.3.12
2023-02-19 12:23:20 +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
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
6be8482b46
fix all clippy
2023-02-17 17:51:39 +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