Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the dependencies group with 3 updates #53

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 16, 2024

Bumps the dependencies group with 3 updates: serde, thiserror and rhai.

Updates serde from 1.0.215 to 1.0.216

Release notes

Sourced from serde's releases.

v1.0.216

  • Mark all generated impls with #[automatically_derived] to exclude from code coverage (#2866, #2868, thanks @​tdittr)
Commits
  • ad8dd41 Release 1.0.216
  • f91d2ed Merge pull request #2868 from dtolnay/automaticallyderived
  • 9497463 Mark all generated trait impls as #[automatically_derived]
  • 46e9ecf Merge pull request #2866 from tdittr/mark-visitors-as-generated
  • e9c399c Mark generated impl de::Visitor blocks as #[automatically_derived]
  • b9dbfcb Switch out fnv in favor of foldhash in test
  • c270e27 Use BuildHasher instead of Hasher in collection macros
  • 0307f60 Resolve question_mark clippy lint in build script
  • See full diff in compare view

Updates thiserror from 2.0.6 to 2.0.7

Release notes

Sourced from thiserror's releases.

2.0.7

  • Work around conflict with #[deny(clippy::allow_attributes)] (#397, thanks @​zertosh)
Commits
  • 9c0f2d2 Release 2.0.7
  • 2deec96 Merge pull request 397 from zertosh/from_allow_expect
  • 100d916 Avoid associating #[from] with lint allow
  • 485c2b7 Reword spurious errors comment
  • See full diff in compare view

Updates rhai from 1.20.0 to 1.20.1

Release notes

Sourced from rhai's releases.

v1.20.1

Version 1.20.1

This is a bug fix release.

Bug fixes

  • Fixed bug in raw strings with newlines (thanks @benatkin 940).

Enhancements

  • If a string slice refers to the entire string, the slice is not cloned but returned as-is.
Changelog

Sourced from rhai's changelog.

Rhai Release Notes

Version 1.21.0

Bug fixes

  • Fixed bug in raw strings with newlines (thanks @benatkin 940).

Enhancements

  • If a string slice refers to the entire string, the slice is not cloned but returned as-is.
Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the dependencies group with 3 updates: [serde](https://github.com/serde-rs/serde), [thiserror](https://github.com/dtolnay/thiserror) and [rhai](https://github.com/rhaiscript/rhai).


Updates `serde` from 1.0.215 to 1.0.216
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](serde-rs/serde@v1.0.215...v1.0.216)

Updates `thiserror` from 2.0.6 to 2.0.7
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](dtolnay/thiserror@2.0.6...2.0.7)

Updates `rhai` from 1.20.0 to 1.20.1
- [Release notes](https://github.com/rhaiscript/rhai/releases)
- [Changelog](https://github.com/rhaiscript/rhai/blob/main/CHANGELOG.md)
- [Commits](rhaiscript/rhai@v1.20.0...v1.20.1)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: rhai
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 16, 2024
Copy link

Summary of the total line code coverage for the whole codebase

Total lines Covered Skipped % (pr) % (main)
2232 1448 784 64.87 64.67
Summary of each file (click to expand)
File Total lines Covered Skipped %
src/api/filter.rs 166 166 0 100.00
src/api/mod.rs 466 290 176 62.23
src/cli.rs 45 31 14 68.89
src/config_file.rs 72 53 19 73.61
src/data/export.rs 136 0 136 0.00
src/data/import.rs 185 0 185 0.00
src/data/transform/mod.rs 422 341 81 80.81
src/data/transform/script.rs 294 260 34 88.44
src/data/validate.rs 307 307 0 100.00
src/main.rs 139 0 139 0.00
More details (click to expand)

Download full HTML report

You can download the full HTML report here: click to download
Hint: You need to extract it locally and open the index.html, there you can see which lines are not covered in each file.

You can also generate these reports locally

For that, you need to install cargo-llvm-cov, then you can run:

cargo llvm-cov --all-features --no-fail-fast --open

Hint: There are also other ways to see code coverage in Rust. For example with RustRover, you can execute tests with coverage generation directly in the IDE.

Remember

Your tests should be meaningful and not just be written to raise the coverage.
Coverage is just a tool to detect forgotten code paths you may want to think about, not your instructor to write tests

@MalteJanz MalteJanz merged commit a0c8464 into main Dec 17, 2024
3 checks passed
@MalteJanz MalteJanz deleted the dependabot/cargo/dependencies-02b91c9d5b branch December 17, 2024 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant