diff --git a/Cargo.lock b/Cargo.lock index cbe7a04..fad9b90 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,15 +2,6 @@ # It is not intended for manual editing. version = 4 -[[package]] -name = "aho-corasick" -version = "1.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" -dependencies = [ - "memchr", -] - [[package]] name = "allocator-api2" version = "0.2.21" @@ -67,6 +58,15 @@ dependencies = [ "unicode-segmentation", ] +[[package]] +name = "convert_case" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "affbf0190ed2caf063e3def54ff444b449371d55c58e513a95ab98eca50adb49" +dependencies = [ + "unicode-segmentation", +] + [[package]] name = "cow-utils" version = "0.1.3" @@ -83,12 +83,43 @@ dependencies = [ "syn", ] +[[package]] +name = "ctor" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83cf0d42651b16c6dfe68685716d18480d18a9c39c62d76e8cf3eb6ed5d8bcbf" +dependencies = [ + "ctor-proc-macro", + "dtor", +] + +[[package]] +name = "ctor-proc-macro" +version = "0.0.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a949c44fcacbbbb7ada007dc7acb34603dd97cd47de5d054f2b6493ecebb483" + [[package]] name = "dragonbox_ecma" version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fd8e701084c37e7ef62d3f9e453b618130cbc0ef3573847785952a3ac3f746bf" +[[package]] +name = "dtor" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "edf234dd1594d6dd434a8fb8cada51ddbbc593e40e4a01556a0b31c62da2775b" +dependencies = [ + "dtor-proc-macro", +] + +[[package]] +name = "dtor-proc-macro" +version = "0.0.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2647271c92754afcb174e758003cfd1cbf1e43e5a7853d7b1813e63e19e39a73" + [[package]] name = "fastrand" version = "2.4.1" @@ -133,8 +164,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "55740c4ae1d8696773c78fdafd5d0e5fe9bc9f1b071c7ba493ba5c413a9184f3" dependencies = [ "bitflags", - "ctor", - "napi-derive", + "ctor 0.2.9", + "napi-derive 2.16.13", "napi-sys", "once_cell", "serde", @@ -154,8 +185,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7cbe2585d8ac223f7d34f13701434b9d5f4eb9c332cccce8dee57ea18ab8ab0c" dependencies = [ "cfg-if", - "convert_case", - "napi-derive-backend", + "convert_case 0.6.0", + "napi-derive-backend 1.0.75", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "napi-derive" +version = "3.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7430702d3cc05cf55f0a2c9e41d991c3b7a53f91e6146a8f282b1bfc7f3fd133" +dependencies = [ + "convert_case 0.11.0", + "ctor 0.10.1", + "napi-derive-backend 5.0.3", "proc-macro2", "quote", "syn", @@ -167,11 +212,22 @@ version = "1.0.75" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1639aaa9eeb76e91c6ae66da8ce3e89e921cd3885e99ec85f4abacae72fc91bf" dependencies = [ - "convert_case", + "convert_case 0.6.0", "once_cell", "proc-macro2", "quote", - "regex", + "syn", +] + +[[package]] +name = "napi-derive-backend" +version = "5.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ca5a083f2c9b49a0c7d33ec75c083498849c6fcc46f5497317faa39ea77f5d5" +dependencies = [ + "convert_case 0.11.0", + "proc-macro2", + "quote", "semver", "syn", ] @@ -498,35 +554,6 @@ dependencies = [ "proc-macro2", ] -[[package]] -name = "regex" -version = "1.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e10754a14b9137dd7b1e3e5b0493cc9171fdd105e0ab477f51b72e7f3ac0e276" -dependencies = [ - "aho-corasick", - "memchr", - "regex-automata", - "regex-syntax", -] - -[[package]] -name = "regex-automata" -version = "0.4.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e1dd4122fc1595e8162618945476892eefca7b88c52820e74af6262213cae8f" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", -] - -[[package]] -name = "regex-syntax" -version = "0.8.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc897dd8d9e8bd1ed8cdad82b5966c3e0ecae09fb1907d58efaa013543185d0a" - [[package]] name = "rustc-hash" version = "2.1.2" @@ -728,7 +755,7 @@ version = "0.0.2" dependencies = [ "napi", "napi-build", - "napi-derive", + "napi-derive 3.5.4", "serde_json", "wxml-parser-rs", ] diff --git a/crates/wxml-parser-napi/Cargo.toml b/crates/wxml-parser-napi/Cargo.toml index b458d52..22e95aa 100644 --- a/crates/wxml-parser-napi/Cargo.toml +++ b/crates/wxml-parser-napi/Cargo.toml @@ -15,7 +15,7 @@ crate-type = ["cdylib"] [dependencies] napi = { version = "2", features = ["serde-json"] } -napi-derive = "2" +napi-derive = "3" serde_json = { workspace = true } wxml_parser_rs = { package = "wxml-parser-rs", version = "0.0.2", path = "../wxml-parser-core" }