Skip to content

refactor: minor clean-ups#23

Draft
rvolosatovs wants to merge 4 commits intowasmCloud:mainfrom
rvolosatovs:refactor/clean-up
Draft

refactor: minor clean-ups#23
rvolosatovs wants to merge 4 commits intowasmCloud:mainfrom
rvolosatovs:refactor/clean-up

Conversation

@rvolosatovs
Copy link
Member

Follow-up to #22 to keep the diff small and avoid scope creep

- Replace the free-form `TomlMap` by a structured, typed `Config` struct
- Remove `bin_path` from config
- Require passing of `Config` and `bin_path` to `test_provider` at
  runtime

Breaking changes:
- `load_config` is replaced by `Config::load` method
- `test_provider` requires `bin_path` and `Config` as arguments
- `rust_backtrace` config field is renamed to `backtrace` and it's type
  is changed from string to a boolean

Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
@stevelr
Copy link
Contributor

stevelr commented Mar 24, 2023

A lot of these changes seem to have been merged into #22 - if there are just a few remaining, you could add them to pr 22 and close this, or we could wait till 22 is merged and then rebase this. your choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants