diff --git a/Cargo.lock b/Cargo.lock index 234942675..e9c5af4cb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2083,7 +2083,7 @@ dependencies = [ "bitflags 2.6.0", "cexpr", "clang-sys", - "itertools 0.12.1", + "itertools 0.13.0", "proc-macro2", "quote", "regex", @@ -2296,6 +2296,12 @@ dependencies = [ "cipher", ] +[[package]] +name = "borrow-or-share" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3eeab4423108c5d7c744f4d234de88d18d636100093ae04caf4825134b9c3a32" + [[package]] name = "borsh" version = "1.5.1" @@ -4212,7 +4218,7 @@ dependencies = [ "base64 0.22.1", "did-method-key", "didkit", - "jsonschema", + "jsonschema 0.20.0", "libipld 0.16.0", "libipld-cbor 0.16.0", "libipld-core 0.16.0", @@ -4758,6 +4764,17 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8bf7cc16383c4b8d58b9905a8509f02926ce3058053c056376248d958c9df1e8" +[[package]] +name = "fluent-uri" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7bd399b64ddd63a83cf40512c96007dafe9ac26cfc8c89c820a247c6f7d2376" +dependencies = [ + "borrow-or-share", + "ref-cast", + "serde", +] + [[package]] name = "flume" version = "0.11.0" @@ -6492,6 +6509,33 @@ dependencies = [ "parking_lot", "percent-encoding", "regex", + "serde", + "serde_json", + "time", + "url", + "uuid-simd", +] + +[[package]] +name = "jsonschema" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "507489ad0bb386bda1ff52086877dc5847cc3730b9da5c5a4af75a9e4991eb30" +dependencies = [ + "ahash 0.8.11", + "anyhow", + "base64 0.22.1", + "bytecount", + "fancy-regex", + "fraction", + "getrandom", + "iso8601", + "itoa", + "num-cmp", + "once_cell", + "percent-encoding", + "referencing", + "regex", "reqwest 0.12.7", "serde", "serde_json", @@ -9379,6 +9423,19 @@ dependencies = [ "syn 2.0.77", ] +[[package]] +name = "referencing" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc5ad87f9bf7d32f48f98d606085fe5eae4404ad1cc1025c50111b80f53ea029" +dependencies = [ + "ahash 0.8.11", + "fluent-uri", + "once_cell", + "percent-encoding", + "serde_json", +] + [[package]] name = "regalloc2" version = "0.9.3" @@ -13979,7 +14036,7 @@ name = "wired-social" version = "0.0.10" dependencies = [ "dwn", - "jsonschema", + "jsonschema 0.21.0", "semver", "serde", "serde_json", diff --git a/crates/wired-social/Cargo.toml b/crates/wired-social/Cargo.toml index b43b97b5d..8e1862b23 100644 --- a/crates/wired-social/Cargo.toml +++ b/crates/wired-social/Cargo.toml @@ -13,4 +13,4 @@ serde.workspace = true serde_json.workspace = true [dev-dependencies] -jsonschema = { version = "0.20.0", features = ["draft201909", "draft202012"] } +jsonschema = { version = "0.21.0", features = ["draft201909", "draft202012"] }