From 5d54c589ea5c7c43f50ec67b0bbd294e29bf0059 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 08:28:49 +0000 Subject: [PATCH 1/5] deps: bump clap from 4.5.7 to 4.5.8 Bumps [clap](https://github.com/clap-rs/clap) from 4.5.7 to 4.5.8. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.7...v4.5.8) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Cargo.lock | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b4bb74e57..78e89bc3e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -974,9 +974,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.7" +version = "4.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5db83dced34638ad474f39f250d7fea9598bdd239eaced1bdf45d597da0f433f" +checksum = "84b3edb18336f4df585bc9aa31dd99c036dfa5dc5e9a2939a722a188f3a8970d" dependencies = [ "clap_builder", "clap_derive", @@ -984,9 +984,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.7" +version = "4.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7e204572485eb3fbf28f871612191521df159bc3e15a9f5064c66dba3a8c05f" +checksum = "c1c09dd5ada6c6c78075d6fd0da3f90d8080651e2d6cc8eb2f1aaa4034ced708" dependencies = [ "anstream", "anstyle", @@ -996,9 +996,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.5" +version = "4.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c780290ccf4fb26629baa7a1081e68ced113f1d3ec302fa5948f1c381ebf06c6" +checksum = "2bac35c6dafb060fd4d275d9a4ffae97917c13a6327903a8be2153cd964f7085" dependencies = [ "heck 0.5.0", "proc-macro2", @@ -1157,7 +1157,7 @@ dependencies = [ "anes", "cast", "ciborium", - "clap 4.5.7", + "clap 4.5.8", "criterion-plot", "is-terminal", "itertools", @@ -3096,7 +3096,7 @@ version = "0.2.5" dependencies = [ "anyhow", "async-std", - "clap 4.5.7", + "clap 4.5.8", "env_logger", "futures", "futures-timer", @@ -4729,7 +4729,7 @@ dependencies = [ "byteorder", "bytes", "chrono", - "clap 4.5.7", + "clap 4.5.8", "criterion 0.5.1", "either", "fs2", @@ -4794,7 +4794,7 @@ dependencies = [ "cbor4ii", "chrono", "cid", - "clap 4.5.7", + "clap 4.5.8", "derive_more", "getrandom 0.2.14", "libp2p-identity", From 9572cd6f5add56ee61b9fe70e66a3fba20eb54cd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 08:30:33 +0000 Subject: [PATCH 2/5] deps: bump serde_json from 1.0.117 to 1.0.119 Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.117 to 1.0.119. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.117...v1.0.119) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b4bb74e57..0b9965aae 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5070,9 +5070,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.117" +version = "1.0.119" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3" +checksum = "e8eddb61f0697cc3989c5d64b452f5488e2b8a60fd7d5076a3045076ffef8cb0" dependencies = [ "itoa", "ryu", From 2a61ea04c8695c8e7f917bbc47bf63d48b9001c4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 08:32:02 +0000 Subject: [PATCH 3/5] deps: bump log from 0.4.21 to 0.4.22 Bumps [log](https://github.com/rust-lang/log) from 0.4.21 to 0.4.22. - [Release notes](https://github.com/rust-lang/log/releases) - [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/log/compare/0.4.21...0.4.22) --- updated-dependencies: - dependency-name: log dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b4bb74e57..4c0820df9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3499,9 +3499,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.21" +version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" +checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" dependencies = [ "value-bag", ] From 8080f9dcc9047f2de97183c751ee79ef8acc2005 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 08:32:35 +0000 Subject: [PATCH 4/5] deps: bump either from 1.12.0 to 1.13.0 Bumps [either](https://github.com/rayon-rs/either) from 1.12.0 to 1.13.0. - [Commits](https://github.com/rayon-rs/either/compare/1.12.0...1.13.0) --- updated-dependencies: - dependency-name: either dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 4 ++-- unixfs/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b4bb74e57..66838369f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1515,9 +1515,9 @@ dependencies = [ [[package]] name = "either" -version = "1.12.0" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3dca9240753cf90908d7e4aac30f630662b02aebaa1b58a3cadabdb23385b58b" +checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" [[package]] name = "elliptic-curve" diff --git a/unixfs/Cargo.toml b/unixfs/Cargo.toml index f31b7dba2..4fa73406a 100644 --- a/unixfs/Cargo.toml +++ b/unixfs/Cargo.toml @@ -13,7 +13,7 @@ default = ["filetime"] [dependencies] libipld = "0.16" -either = { default-features = false, version = "1.8" } +either = { default-features = false, version = "1.13" } filetime = { optional = true, version = "0.2" } quick-protobuf = { default-features = false, features = [ "std", From ef7e3684c38444b2381a9c906d535893f57fc0b7 Mon Sep 17 00:00:00 2001 From: Darius Clark Date: Wed, 3 Jul 2024 20:42:52 -0400 Subject: [PATCH 5/5] Create rust.yml --- .github/workflows/rust.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/rust.yml diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 000000000..98641c783 --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,32 @@ +name: Checks + +on: + push: + branches: [ "libp2p-next" ] + pull_request: + branches: [ "libp2p-next" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + check-native: + runs-on: ubuntu-latest + steps: + - name: Check (native) + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@master + with: + toolchain: stable + - run: cargo check + + check-wasm: + runs-on: ubuntu-latest + steps: + - name: Check (native) + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@master + with: + toolchain: stable + target: wasm32-unknown-unknown + - run: cargo check --target wasm32-unknown-unknown