Skip to content

chore: Bump anyhow from 1.0.96 to 1.0.97 - #143

Merged
martin-g merged 1 commit into
mainfrom
dependabot/cargo/anyhow-1.0.97
Mar 6, 2025
Merged

martin-g merged 1 commit into
mainfrom
dependabot/cargo/anyhow-1.0.97

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Mar 6, 2025

Copy link
Copy Markdown
Contributor

Bumps anyhow from 1.0.96 to 1.0.97.

Release notes

Sourced from anyhow's releases.

1.0.97

  • Documentation improvements
Commits

Dependabot compatibility score

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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.96 to 1.0.97.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](dtolnay/anyhow@1.0.96...1.0.97)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Mar 6, 2025
@martin-g
martin-g merged commit 1d9889e into main Mar 6, 2025
@dependabot
dependabot Bot deleted the dependabot/cargo/anyhow-1.0.97 branch March 6, 2025 09:22
martin-g pushed a commit to jdarais/avro-rs that referenced this pull request Mar 6, 2025
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.96 to 1.0.97.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](dtolnay/anyhow@1.0.96...1.0.97)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
martin-g added a commit that referenced this pull request Mar 11, 2025
Fixes #70

* Starting point for DirectSerializer

* All but one unit test passing

* perf improvements

* perf improvements

* fix correctness

* add 'serde way' bench tests

* Improve errors for ser_direct and add support for schema refs

* add some tests

* add tests

* more tests

* more tests

* ser_direct works, but not with enums serialized as 'untagged'

* cleanup

* rebase from latest main, fix compiler warnings

* fix clippy/fmt errors

* Fix clippy error and formatting for ser_direct.rs

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* Add ASF license header for ser_direct.rs

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* Fix the syntax of the test schema

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* Minor cleanup

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* Add negative tests for ser_direct.rs

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* Public functions of bigdecimal.rs return AvroResult

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* encode() methods now return the written bytes to the Write

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* Rename `buffer` to `writer` in encode function parameters

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* Add rustdoc

* Take is_human_readable() into account for the new DirectSerializer

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* Add a failing test with a recursive RecordSchema

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* chore: Bump quote from 1.0.38 to 1.0.39 (#149)

Bumps [quote](https://github.com/dtolnay/quote) from 1.0.38 to 1.0.39.
- [Release notes](https://github.com/dtolnay/quote/releases)
- [Commits](dtolnay/quote@1.0.38...1.0.39)

---
updated-dependencies:
- dependency-name: quote
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Bump syn from 2.0.98 to 2.0.99 (#148)

Bumps [syn](https://github.com/dtolnay/syn) from 2.0.98 to 2.0.99.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](dtolnay/syn@2.0.98...2.0.99)

---
updated-dependencies:
- dependency-name: syn
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Bump serde_bytes from 0.11.15 to 0.11.16 (#147)

Bumps [serde_bytes](https://github.com/serde-rs/bytes) from 0.11.15 to 0.11.16.
- [Release notes](https://github.com/serde-rs/bytes/releases)
- [Commits](serde-rs/bytes@0.11.15...0.11.16)

---
updated-dependencies:
- dependency-name: serde_bytes
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Bump bon from 3.3.2 to 3.4.0 (#146)

Bumps [bon](https://github.com/elastio/bon) from 3.3.2 to 3.4.0.
- [Release notes](https://github.com/elastio/bon/releases)
- [Changelog](https://github.com/elastio/bon/blob/master/release-plz.toml)
- [Commits](elastio/bon@v3.3.2...v3.4.0)

---
updated-dependencies:
- dependency-name: bon
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Bump anyhow from 1.0.96 to 1.0.97 (#143)

Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.96 to 1.0.97.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](dtolnay/anyhow@1.0.96...1.0.97)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Bump proc-macro2 from 1.0.93 to 1.0.94 (#145)

Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.93 to 1.0.94.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](dtolnay/proc-macro2@1.0.93...1.0.94)

---
updated-dependencies:
- dependency-name: proc-macro2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Bump serde_json from 1.0.139 to 1.0.140 (#144)

Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.139 to 1.0.140.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](serde-rs/json@v1.0.139...v1.0.140)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Parse the String as Uuid before serializing it

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* Support Schema::Ref for serialize_none()

Recursive schema is expressed with Option<Box<Self>>. The end of the
recursion is None

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* Add support for serializing BigDecimal fields, without wrapping in ByteBuf

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* Add usage of Uuid to the complex DirectSerializer test

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* Resolve a TODO: serialize_unit() delegates to serialize_none()

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* Resolve a TODO about the error representation of Bytes

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* Run uuid/bigdecimal tests in serial to avoid human_readable concurrent issues

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* Fomatting

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* Use human readable serialization for Uuid/BigDecimal

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* Fix formatting

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* Minor docu improvements

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* recursive struct and big decimal fixes for ser_direct.rs

* Fix formatting

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* Improve error reported when failing to parse BigDecimal value

* chore: Fix `cargo deny check` by allowing the usage of dtolnay/paste (#150)

This crate is used to generate unit tests and there is no known issue
using it.

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
(cherry picked from commit a9c10d5)

* Better errors when the schemas mismatch

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* Use a LinkedList instead of Vec for the schema_stack

Since there is no indexed access the LinkedList should be better than
Vector

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

---------

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Jeremiah Darais <[email protected]>
Co-authored-by: Martin Tzvetanov Grigorov <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Grigorov <[email protected]>
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 rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant