Skip to content

Commit

Permalink
chore(deps,cargo)!: update prost and pbjson crates (#121)
Browse files Browse the repository at this point in the history
Updates the requirements on [prost](https://github.com/tokio-rs/prost)
to permit the latest version.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/tokio-rs/prost/commit/10582c2f674a1f4618e9fb8d380081136340ac84"><code>10582c2</code></a>
release 0.12.0</li>
<li><a
href="https://github.com/tokio-rs/prost/commit/7ce9b9756ba1ca0c6228931e2a9ff7859931ac95"><code>7ce9b97</code></a>
feat: <code>Name</code> trait + <code>Any</code> encoding support (<a
href="https://redirect.github.com/tokio-rs/prost/issues/896">#896</a>)</li>
<li><a
href="https://github.com/tokio-rs/prost/commit/f9a3cfff07536a412e4f96f5ea3749c52c50170f"><code>f9a3cff</code></a>
Make Debug impl optional for types (<a
href="https://redirect.github.com/tokio-rs/prost/issues/797">#797</a>)</li>
<li><a
href="https://github.com/tokio-rs/prost/commit/6180f9fa3a93e42572633cb0b0610dcb0690c508"><code>6180f9f</code></a>
docs: fix protoc install link (<a
href="https://redirect.github.com/tokio-rs/prost/issues/900">#900</a>)</li>
<li><a
href="https://github.com/tokio-rs/prost/commit/1d7405803004e85f58511af2a439460b4237a0e2"><code>1d74058</code></a>
prost-build: do not escape brackets followed by parenthesis in comments
(<a
href="https://redirect.github.com/tokio-rs/prost/issues/851">#851</a>)</li>
<li><a
href="https://github.com/tokio-rs/prost/commit/413b0299e0d0e73b6085ad9b897fb7ec7e63cb2a"><code>413b029</code></a>
chore: Bump MSRV to 1.64 (<a
href="https://redirect.github.com/tokio-rs/prost/issues/902">#902</a>)</li>
<li><a
href="https://github.com/tokio-rs/prost/commit/ca73cbe4bbcbdb4f3d30455a090ff50209dc1fc3"><code>ca73cbe</code></a>
feat: add TryFrom&lt;i32&gt; implementation to Enumeration (<a
href="https://redirect.github.com/tokio-rs/prost/issues/853">#853</a>)</li>
<li><a
href="https://github.com/tokio-rs/prost/commit/9c877ce32ec0c465e437144c1bf4a27cb3aa705c"><code>9c877ce</code></a>
chore: Update ci (<a
href="https://redirect.github.com/tokio-rs/prost/issues/854">#854</a>)</li>
<li><a
href="https://github.com/tokio-rs/prost/commit/65451cc4cbffaca578de1a8f4a218cca2ec1c9ac"><code>65451cc</code></a>
Fix <code>non_snake_case</code> warning on generated identity functions
(<a
href="https://redirect.github.com/tokio-rs/prost/issues/891">#891</a>)</li>
<li><a
href="https://github.com/tokio-rs/prost/commit/80fb9d18b7af2c82a8f54fb6c9e7ccfa4d5629ce"><code>80fb9d1</code></a>
release 0.11.9 (<a
href="https://redirect.github.com/tokio-rs/prost/issues/842">#842</a>)
(<a
href="https://redirect.github.com/tokio-rs/prost/issues/895">#895</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/tokio-rs/prost/compare/prost-build-0.11.1...v0.12.0">compare
view</a></li>
</ul>
</details>
<br />


You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

> **Note**
> Automatic rebases have been disabled on this pull request as it has
been open for over 30 days.

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthijs Brobbel <[email protected]>
  • Loading branch information
dependabot[bot] and mbrobbel authored Oct 11, 2023
1 parent 99760d8 commit bd03839
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- run: cargo fmt -- --check

clippy:
Expand Down
20 changes: 10 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,24 +32,24 @@ serde = ["dep:prost-wkt", "dep:prost-wkt-build", "dep:prost-wkt-types"]
semver = ["dep:semver"]

[dependencies]
pbjson = { version = "0.5", optional = true }
pbjson-types = { version = "0.5", optional = true }
prost = "0.11"
prost-types = "0.11"
prost-wkt = { version = "0.4", optional = true }
prost-wkt-types = { version = "0.4", optional = true }
pbjson = { version = "0.6.0", optional = true }
pbjson-types = { version = "0.6.0", optional = true }
prost = "0.12"
prost-types = "0.12"
prost-wkt = { version = "0.5", optional = true }
prost-wkt-types = { version = "0.5", optional = true }
semver = { version = "1", optional = true }
serde = { version = "1", features = ["derive"] }
serde_json = "1"

[build-dependencies]
git2 = { version = "0.18.0", default-features = false }
heck = "0.4"
pbjson-build = { version = "0.5", optional = true }
pbjson-build = { version = "0.6.2", optional = true }
prettyplease = "0.2.4"
prost-build = { version = "0.11", default-features = false }
prost-types = "0.11"
prost-wkt-build = { version = "0.4", optional = true }
prost-build = { version = "0.12", default-features = false }
prost-types = "0.12"
prost-wkt-build = { version = "0.5", optional = true }
protobuf-src = { version = "1", optional = true }
schemars = "0.8"
semver = "1"
Expand Down
2 changes: 1 addition & 1 deletion src/text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ mod tests {
})
.map(DirEntry::into_path)
.for_each(|path| {
let file = fs::read_to_string(&path).unwrap();
let file = fs::read_to_string(path).unwrap();
let simple_extension = serde_yaml::from_str::<SimpleExtensions>(&file);
assert!(simple_extension.is_ok());
});
Expand Down
1 change: 1 addition & 0 deletions src/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ mod tests {
}

#[test]
#[allow(clippy::assertions_on_constants)]
fn not_dirty() {
// There should be no `dirty` in the describe output.
assert!(!super::SUBSTRAIT_GIT_DESCRIBE.contains("dirty"));
Expand Down

0 comments on commit bd03839

Please sign in to comment.