Skip to content

Commit

Permalink
fix: fluvio-hub-x, update dep cargo_toml to 0.15 (#3007)
Browse files Browse the repository at this point in the history
complete cargo_toml dep update, identified by dependabot

#3002
  • Loading branch information
digikata committed Feb 24, 2023
1 parent 0a541fe commit 2ca78f0
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
7 changes: 3 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ derive_builder = "0.12.0"
portpicker = "0.1.1"
nix = "0.26.0"
sysinfo = "0.27.0"
cargo_toml = "0.15.0"
cargo_toml = "0.15"
base64 = "0.21.0"
toml = "0.7.0"
wasmparser = { version = "0.101.0" }
Expand Down
2 changes: 1 addition & 1 deletion crates/fluvio-hub-protocol/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repository = "https://github.com/infinyon/fluvio"
publish = false

[dependencies]
cargo_toml = "0.11"
cargo_toml = { workspace = true }
const_format = "0.2"
dirs = "4.0.0"
serde = { version="1.0", features=["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/fluvio-hub-util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repository = "https://github.com/infinyon/fluvio"
publish = false

[dependencies]
cargo_toml = "0.11"
cargo_toml = { workspace = true }
const_format = "0.2"
dirs = "4.0.0"
ed25519-dalek = { version = "1.0.1", features = ["serde"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/fluvio-hub-util/src/package_meta_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ impl PackageMetaExt for PackageMeta {

packagename_validate(&cpkg.name)?;
self.name = cpkg.name;
self.version = cpkg.version;
self.version = cpkg.version.get()?.to_string();

Ok(())
}
Expand Down

2 comments on commit 2ca78f0

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 2ca78f0 Previous: 4e43fe0 Ratio
encode wasm file 350111 ns/iter (± 43616) 293683 ns/iter (± 32400) 1.19

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 2ca78f0 Previous: 4e43fe0 Ratio
vecu8 encoding 397948 ns/iter (± 39463) 336433 ns/iter (± 748992) 1.18
vecu8 decoding 446696 ns/iter (± 249) 622029 ns/iter (± 3060) 0.72
bytebuf encoding 7317 ns/iter (± 360) 7621 ns/iter (± 4) 0.96
bytebuf decoding 7275 ns/iter (± 341) 7608 ns/iter (± 3) 0.96

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.