Skip to content

Commit

Permalink
Update dependencies (#1772)
Browse files Browse the repository at this point in the history
- **Bump the non-critical group across 1 directory with 5 updates**
- **Fix build**

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
maciektr and dependabot[bot] authored Nov 26, 2024
1 parent 051ad60 commit 041dc1a
Showing 3 changed files with 52 additions and 52 deletions.
100 changes: 50 additions & 50 deletions Cargo.lock
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -120,7 +120,7 @@ syn = "2"
tar = "0.4"
tempfile = "3"
test-case = "3"
thiserror = "1"
thiserror = "2"
time = "0.3"
tokio = { version = "1", features = ["macros", "io-util", "process", "rt", "rt-multi-thread", "sync"] }
toml = "0.8"
2 changes: 1 addition & 1 deletion scarb/src/compiler/plugin/proc_macro/compilation.rs
Original file line number Diff line number Diff line change
@@ -124,7 +124,7 @@ fn get_cargo_library_name(package: &Package, config: &Config) -> Result<String>
let cdylib_target = package
.targets
.iter()
.find(|target| target.kind.contains(&"cdylib".to_string()))
.find(|target| target.kind.contains(&"cdylib".into()))
.ok_or_else(|| anyhow!("no target of `cdylib` kind found in package"))?;

Ok(cdylib_target.name.clone())

0 comments on commit 041dc1a

Please sign in to comment.