From da603511c4efa22a03a902a11ff125bb61fd4306 Mon Sep 17 00:00:00 2001 From: fef Date: Wed, 18 Jan 2023 11:50:44 +0100 Subject: [PATCH] cargo: update json-ld to 0.12 --- Cargo.lock | 45 ++++++++++++++++++++++++++------------------- Cargo.toml | 3 +-- 2 files changed, 27 insertions(+), 21 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 87d69e5..473de50 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1104,9 +1104,9 @@ dependencies = [ [[package]] name = "json-ld" -version = "0.10.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe42bdd89b19778c4b3695a3c71919046fa64f65b6b9bea33240d1711295b49b" +checksum = "3e445d0986fc6a6e8bbe8b2c4ba0c847b7bebd201046cc37df645d632eb4202a" dependencies = [ "contextual", "futures", @@ -1118,13 +1118,14 @@ dependencies = [ "json-syntax", "locspan", "rdf-types", + "thiserror", ] [[package]] name = "json-ld-compaction" -version = "0.10.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a5279f0f8cab0f55a1adf8340f2168b0630dbfdbefe3c7bf86fbfe42bc61d7a" +checksum = "cd69243e6b268c66c9cdd6f1aab73bd0d4f6df617d53e8d77238b676a9ab01c3" dependencies = [ "contextual", "derivative", @@ -1139,13 +1140,14 @@ dependencies = [ "locspan", "mown", "rdf-types", + "thiserror", ] [[package]] name = "json-ld-context-processing" -version = "0.10.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "353b656a3d5af5a18488831d3b732b6997f779ad90d51d731dd2672abd0a9628" +checksum = "6162a8b000517178a4a23f546fa7fef31a0cac466393ef922a351d8e6041fb8f" dependencies = [ "contextual", "futures", @@ -1155,13 +1157,14 @@ dependencies = [ "locspan", "mown", "rdf-types", + "thiserror", ] [[package]] name = "json-ld-core" -version = "0.10.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7dce303cae132e4c8b2ffde5af1928f2b100095c0ad92f8b0bb516ddc1fec78" +checksum = "f103ff1c30bf42b3b7d09c69cbe12869e5ad42497638c5199d83de6fd7d7b13e" dependencies = [ "bytes", "contextual", @@ -1185,13 +1188,14 @@ dependencies = [ "ryu-js", "smallvec", "static-iref", + "thiserror", ] [[package]] name = "json-ld-expansion" -version = "0.10.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b93a40a9308871fd074ac87ff668aba6cc57922a5a27042bbd9dbc47e0b3417" +checksum = "7ec3b334e7ae66e64a139ac34f38d3559dd82e7a0deed8891d1897a933a006cc" dependencies = [ "contextual", "derivative", @@ -1205,13 +1209,14 @@ dependencies = [ "locspan", "mown", "rdf-types", + "thiserror", ] [[package]] name = "json-ld-syntax" -version = "0.10.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9295ba958d50a56f2bae109955e7bff7b53078ae0a3e65a5f0ebf4443dbc8ba0" +checksum = "2fe7e17ed956850ff813815c960dcf3ab80604d72a2590ddebf8112509fb3722" dependencies = [ "contextual", "decoded-char", @@ -1225,6 +1230,7 @@ dependencies = [ "locspan-derive", "rdf-types", "smallvec", + "thiserror", ] [[package]] @@ -1235,14 +1241,15 @@ checksum = "c724484d970b5aabe46934b9571980e255fd50a9ef1b13f23ed2b5c2a19bbb69" dependencies = [ "lexical", "ryu-js", + "serde_json", "smallvec", ] [[package]] name = "json-syntax" -version = "0.8.18" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "792e31ce68030c1667ef7975f99932a7e8605f80bc34e26aea1ef65bfeff86a5" +checksum = "6cb817d295fd9426e34c879863453b93ea4926dbaff762b4ed733515ecca9c6f" dependencies = [ "contextual", "decoded-char", @@ -1252,6 +1259,7 @@ dependencies = [ "locspan", "locspan-derive", "ryu-js", + "serde_json", "smallstr", "smallvec", ] @@ -1568,7 +1576,6 @@ dependencies = [ "serde_test", "sqlx", "static-iref", - "thiserror", "tokio", "uuid", ] @@ -2345,18 +2352,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.37" +version = "1.0.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10deb33631e3c9018b9baf9dcbbc4f737320d2b576bac10f6aefa048fa407e3e" +checksum = "6a9cd18aa97d5c45c6603caea1da6628790b37f7a34b6ca89522331c5180fed0" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.37" +version = "1.0.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "982d17546b47146b28f7c22e3d08465f6b8903d0ea13c1660d9d84a6e7adcdbb" +checksum = "1fb327af4685e4d03fa8cbcf1716380da910eeb2bb8be417e7f9fd3fb164f36f" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 8b4c889..f7bbb59 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ chrono = { version = "0.4", features = [ "alloc", "clock", "serde" ] } dotenvy = "0.15.6" futures = "0.3" iref = "2.2" -json-ld = { version = "0.10", features = [ "reqwest" ] } +json-ld = { version = "0.12", features = [ "reqwest" ] } jsonwebtoken = { version = "8", default-features = false } locspan = "0.7" log = "0.4" @@ -24,6 +24,5 @@ serde_json = "1.0" serde_test = "1.0" sqlx = { version = "0.6", features = [ "chrono", "postgres", "runtime-actix-rustls", "uuid" ] } static-iref = "2" -thiserror = "1.0" tokio = "1.23" uuid = { version = "1.2", features = [ "v4" ] }