Skip to content

Commit

Permalink
chore(deps): update clap-stdin requirement from 0.4.0 to 0.5.0 (#1280)
Browse files Browse the repository at this point in the history
Updates the requirements on
[clap-stdin](https://github.com/thepacketgeek/clap-stdin) to permit the
latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/thepacketgeek/clap-stdin/releases">clap-stdin's
releases</a>.</em></p>
<blockquote>
<h2>v0.4.0 - Adding Tokio support</h2>
<p><code>FileOrStdin</code> can now be used with
<code>tokio::AsyncRead</code> using the crate feature
<code>tokio</code></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/thepacketgeek/clap-stdin/compare/v0.4.0...v0.4.0">compare
view</a></li>
</ul>
</details>
<br />


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-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>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Seyon Sivarajah <[email protected]>
  • Loading branch information
dependabot[bot] and ss2165 authored Jul 9, 2024
1 parent 9b04097 commit 50d3d98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ typetag = "0.2.7"
urlencoding = "2.1.2"
webbrowser = "1.0.0"
clap = { version = "4.5.4" }
clap-stdin = "0.4.0"
clap-stdin = "0.5.0"
clap-verbosity-flag = "2.2.0"
assert_cmd = "2.0.14"
assert_fs = "1.1.1"
Expand Down
2 changes: 1 addition & 1 deletion hugr-cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pub const VALID_PRINT: &str = "HUGR valid!";
impl CmdLineArgs {
/// Run the HUGR cli and validate against an extension registry.
pub fn run(&self, registry: &ExtensionRegistry) -> Result<Hugr, CliError> {
let mut hugr: Hugr = serde_json::from_reader(self.input.into_reader()?)?;
let mut hugr: Hugr = serde_json::from_reader(self.input.clone().into_reader()?)?;
if self.mermaid {
println!("{}", hugr.mermaid_string());
}
Expand Down

0 comments on commit 50d3d98

Please sign in to comment.