From f07a9d9a3bb793ed7ba573f4255188ca4ee3f83c Mon Sep 17 00:00:00 2001 From: Martin Kalcher Date: Thu, 4 Jul 2024 09:39:59 +0200 Subject: [PATCH] mrml 4.0.1 --- Cargo.lock | 95 ++++++++++++++++++++++++++++----------------- ext/mrml/Cargo.toml | 2 +- 2 files changed, 61 insertions(+), 36 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 35f29a3..7fbd937 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -30,13 +30,13 @@ dependencies = [ "bitflags", "cexpr", "clang-sys", - "itertools", + "itertools 0.12.1", "lazy_static", "lazycell", "proc-macro2", "quote", "regex", - "rustc-hash", + "rustc-hash 1.1.0", "shlex", "syn 2.0.58", ] @@ -114,6 +114,30 @@ version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" +[[package]] +name = "enum-as-inner" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ffccbb6966c05b32ef8fbac435df276c4ae4d3dc55a8cd0eb9745e6c12f546a" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn 2.0.58", +] + +[[package]] +name = "enum_dispatch" +version = "0.3.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa18ce2bc66555b3218614519ac839ddb759a7d6720732f979ef8d13be147ecd" +dependencies = [ + "once_cell", + "proc-macro2", + "quote", + "syn 2.0.58", +] + [[package]] name = "equivalent" version = "1.0.1" @@ -138,6 +162,12 @@ version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" +[[package]] +name = "heck" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" + [[package]] name = "ident_case" version = "1.0.1" @@ -164,6 +194,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "1.0.11" @@ -237,23 +276,23 @@ name = "mrml" version = "0.1.0" dependencies = [ "magnus", - "mrml 3.1.4", + "mrml 4.0.1", "serde", "serde_json", ] [[package]] name = "mrml" -version = "3.1.4" +version = "4.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "398abc648681dde5791dc51172e52d95156ec579d2e55a128606d7819d2a471e" +checksum = "6a5fb21b06edad8397bd7e0e6dcef12013b33e979e3ae14f126899ba524f491e" dependencies = [ + "enum-as-inner", + "enum_dispatch", "indexmap", - "itertools", + "itertools 0.13.0", "mrml-json-macros", - "mrml-macros", - "mrml-print-macros", - "rustc-hash", + "rustc-hash 2.0.0", "serde", "serde_json", "thiserror", @@ -283,32 +322,6 @@ dependencies = [ "syn 2.0.58", ] -[[package]] -name = "mrml-macros" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8abcf8dc56a7e0b082804f65ab6d3f542e6c93d1335053cd4ce7c4731f60494" -dependencies = [ - "Inflector", - "mrml-common-macros", - "proc-macro2", - "quote", - "syn 2.0.58", -] - -[[package]] -name = "mrml-print-macros" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd30130cb664b15c3134644fa99bc02cd9720d44b3853e47c68f662fcbcf81a1" -dependencies = [ - "darling", - "mrml-common-macros", - "proc-macro2", - "quote", - "syn 2.0.58", -] - [[package]] name = "nom" version = "7.1.3" @@ -319,6 +332,12 @@ dependencies = [ "minimal-lexical", ] +[[package]] +name = "once_cell" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" + [[package]] name = "proc-macro2" version = "1.0.79" @@ -402,6 +421,12 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" +[[package]] +name = "rustc-hash" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "583034fd73374156e66797ed8e5b0d5690409c9226b22d87cb7f19821c05d152" + [[package]] name = "ryu" version = "1.0.17" diff --git a/ext/mrml/Cargo.toml b/ext/mrml/Cargo.toml index 1c93470..04478fc 100644 --- a/ext/mrml/Cargo.toml +++ b/ext/mrml/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Jonian Guveli "] edition = "2018" [dependencies] -mrml = "3.0" +mrml = "4.0" magnus = "0.5" [dependencies.serde]