From 5246bf75eb2ac71b82a4682f61e6eb4d69bf5171 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 12:06:01 +0000 Subject: [PATCH] build(deps): bump diesel_migrations from 1.4.0 to 2.1.0 Bumps [diesel_migrations](https://github.com/diesel-rs/diesel) from 1.4.0 to 2.1.0. - [Release notes](https://github.com/diesel-rs/diesel/releases) - [Changelog](https://github.com/diesel-rs/diesel/blob/master/CHANGELOG.md) - [Commits](https://github.com/diesel-rs/diesel/compare/v1.4.0...v2.1.0) --- updated-dependencies: - dependency-name: diesel_migrations dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Cargo.lock | 67 ++++++++++++++++++++++++++++----------- store/postgres/Cargo.toml | 2 +- 2 files changed, 50 insertions(+), 19 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 67990cd2079..53558b396f2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -991,7 +991,7 @@ dependencies = [ "bitflags", "byteorder", "chrono", - "diesel_derives", + "diesel_derives 1.4.1", "num-bigint", "num-integer", "num-traits", @@ -1000,6 +1000,15 @@ dependencies = [ "serde_json", ] +[[package]] +name = "diesel" +version = "2.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff236accb9a5069572099f0b350a92e9560e8e63a9b8d546162f4a5e03026bb2" +dependencies = [ + "diesel_derives 2.1.4", +] + [[package]] name = "diesel-derive-enum" version = "1.1.2" @@ -1017,7 +1026,7 @@ name = "diesel-dynamic-schema" version = "1.0.0" source = "git+https://github.com/diesel-rs/diesel-dynamic-schema?rev=a8ec4fb1#a8ec4fb11de6242488ba3698d74406f4b5073dc4" dependencies = [ - "diesel", + "diesel 1.4.8", ] [[package]] @@ -1031,16 +1040,38 @@ dependencies = [ "syn 1.0.107", ] +[[package]] +name = "diesel_derives" +version = "2.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14701062d6bed917b5c7103bdffaee1e4609279e240488ad24e7bd979ca6866c" +dependencies = [ + "diesel_table_macro_syntax", + "proc-macro2", + "quote", + "syn 2.0.12", +] + [[package]] name = "diesel_migrations" -version = "1.4.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf3cde8413353dc7f5d72fa8ce0b99a560a359d2c5ef1e5817ca731cd9008f4c" +checksum = "6036b3f0120c5961381b570ee20a02432d7e2d27ea60de9578799cf9156914ac" dependencies = [ + "diesel 2.1.6", "migrations_internals", "migrations_macros", ] +[[package]] +name = "diesel_table_macro_syntax" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc5557efc453706fed5e4fa85006fe9817c224c3f480a34c7e5959fd700921c5" +dependencies = [ + "syn 2.0.12", +] + [[package]] name = "diff" version = "0.1.12" @@ -1561,8 +1592,8 @@ dependencies = [ "chrono", "cid", "clap", - "diesel", - "diesel_derives", + "diesel 1.4.8", + "diesel_derives 1.4.1", "envconfig", "ethabi", "futures 0.1.31", @@ -1620,7 +1651,7 @@ name = "graph-chain-arweave" version = "0.31.0" dependencies = [ "base64-url", - "diesel", + "diesel 1.4.8", "graph", "graph-runtime-derive", "graph-runtime-wasm", @@ -1688,7 +1719,7 @@ name = "graph-chain-near" version = "0.31.0" dependencies = [ "base64 0.20.0", - "diesel", + "diesel 1.4.8", "graph", "graph-runtime-derive", "graph-runtime-wasm", @@ -1780,7 +1811,7 @@ name = "graph-node" version = "0.31.0" dependencies = [ "clap", - "diesel", + "diesel 1.4.8", "env_logger 0.10.0", "futures 0.3.16", "git-testament", @@ -1938,10 +1969,10 @@ dependencies = [ "blake3 1.3.3", "clap", "derive_more", - "diesel", + "diesel 1.4.8", "diesel-derive-enum", "diesel-dynamic-schema", - "diesel_derives", + "diesel_derives 1.4.1", "diesel_migrations", "fallible-iterator 0.3.0", "git-testament", @@ -2739,23 +2770,23 @@ dependencies = [ [[package]] name = "migrations_internals" -version = "1.4.1" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b4fc84e4af020b837029e017966f86a1c2d5e83e64b589963d5047525995860" +checksum = "0f23f71580015254b020e856feac3df5878c2c7a8812297edd6c0a485ac9dada" dependencies = [ - "diesel", + "serde", + "toml 0.7.4", ] [[package]] name = "migrations_macros" -version = "1.4.2" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9753f12909fd8d923f75ae5c3258cae1ed3c8ec052e1b38c93c21a6d157f789c" +checksum = "cce3325ac70e67bbab5bd837a31cae01f1a6db64e0e744a33cb03a543469ef08" dependencies = [ "migrations_internals", "proc-macro2", "quote", - "syn 1.0.107", ] [[package]] @@ -4413,7 +4444,7 @@ dependencies = [ name = "test-store" version = "0.31.0" dependencies = [ - "diesel", + "diesel 1.4.8", "graph", "graph-chain-ethereum", "graph-core", diff --git a/store/postgres/Cargo.toml b/store/postgres/Cargo.toml index eb68a7ccdc7..b2fc9bf220e 100644 --- a/store/postgres/Cargo.toml +++ b/store/postgres/Cargo.toml @@ -17,7 +17,7 @@ diesel = { version = "1.4.8", features = [ # made a release as a crate yet diesel-dynamic-schema = { git = "https://github.com/diesel-rs/diesel-dynamic-schema", rev = "a8ec4fb1" } diesel-derive-enum = { version = "1.1", features = ["postgres"] } -diesel_migrations = "1.3.0" +diesel_migrations = "2.1.0" fallible-iterator = "0.3.0" graph = { path = "../../graph" } Inflector = "0.11.3"