diff --git a/Cargo.lock b/Cargo.lock index 6524a391..b2fd7ea2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -346,6 +346,35 @@ dependencies = [ "windows-sys 0.59.0", ] +[[package]] +name = "cookie" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ddef33a339a91ea89fb53151bd0a4689cfce27055c291dfa69945475d22c747" +dependencies = [ + "percent-encoding", + "time", + "version_check", +] + +[[package]] +name = "cookie_store" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2eac901828f88a5241ee0600950ab981148a18f2f756900ffba1b125ca6a3ef9" +dependencies = [ + "cookie", + "document-features", + "idna", + "indexmap", + "log", + "serde", + "serde_derive", + "serde_json", + "time", + "url", +] + [[package]] name = "core-foundation" version = "0.10.0" @@ -498,6 +527,15 @@ dependencies = [ "windows-sys 0.59.0", ] +[[package]] +name = "deranged" +version = "0.3.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" +dependencies = [ + "powerfmt", +] + [[package]] name = "dialoguer" version = "0.11.0" @@ -529,6 +567,15 @@ dependencies = [ "syn", ] +[[package]] +name = "document-features" +version = "0.2.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb6969eaabd2421f8a2775cfd2471a2b634372b4a25d41e3bd647b79912850a0" +dependencies = [ + "litrs", +] + [[package]] name = "either" version = "1.13.0" @@ -632,6 +679,12 @@ dependencies = [ "miniz_oxide", ] +[[package]] +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + [[package]] name = "foldhash" version = "0.1.4" @@ -699,9 +752,9 @@ dependencies = [ [[package]] name = "git2" -version = "0.19.0" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b903b73e45dc0c6c596f2d37eccece7c1c8bb6e4407b001096387c63d0d93724" +checksum = "3fda788993cc341f69012feba8bf45c0ba4f3291fcc08e214b4d5a7332d88aff" dependencies = [ "bitflags 2.8.0", "libc", @@ -761,6 +814,23 @@ dependencies = [ "utf8-width", ] +[[package]] +name = "http" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f16ca2af56261c99fba8bac40a10251ce8188205a4c448fbb745a2e4daa76fea" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + +[[package]] +name = "httparse" +version = "1.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d71d3574edd2771538b901e6549113b4006ece66150fb69c0fb6d9a2adae946" + [[package]] name = "httpdate" version = "1.0.3" @@ -1054,9 +1124,9 @@ checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a" [[package]] name = "libgit2-sys" -version = "0.17.0+1.8.1" +version = "0.18.0+1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10472326a8a6477c3c20a64547b0059e4b0d086869eee31e6d7da728a8eb7224" +checksum = "e1a117465e7e1597e8febea8bb0c410f1c7fb93b1e1cddf34363f8390367ffec" dependencies = [ "cc", "libc", @@ -1131,6 +1201,12 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104" +[[package]] +name = "litrs" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4ce301924b7887e9d637144fdade93f9dfff9b60981d4ac161db09720d39aa5" + [[package]] name = "log" version = "0.4.25" @@ -1254,6 +1330,12 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e0826a989adedc2a244799e823aece04662b66609d96af8dff7ac6df9a8925d" +[[package]] +name = "num-conv" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" + [[package]] name = "objc-sys" version = "0.3.5" @@ -1366,6 +1448,12 @@ dependencies = [ "serde", ] +[[package]] +name = "powerfmt" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" + [[package]] name = "ppv-lite86" version = "0.2.20" @@ -1574,6 +1662,15 @@ dependencies = [ "zeroize", ] +[[package]] +name = "rustls-pemfile" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50" +dependencies = [ + "rustls-pki-types", +] + [[package]] name = "rustls-pki-types" version = "1.10.1" @@ -1827,6 +1924,37 @@ dependencies = [ "once_cell", ] +[[package]] +name = "time" +version = "0.3.37" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35e7868883861bd0e56d9ac6efcaaca0d6d5d82a2a7ec8209ff492c07cf37b21" +dependencies = [ + "deranged", + "itoa", + "num-conv", + "powerfmt", + "serde", + "time-core", + "time-macros", +] + +[[package]] +name = "time-core" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" + +[[package]] +name = "time-macros" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2834e6017e3e5e4b9834939793b282bc03b37a3336245fa820e35e233e2a85de" +dependencies = [ + "num-conv", + "time-core", +] + [[package]] name = "tiny_http" version = "0.12.0" @@ -1975,7 +2103,7 @@ dependencies = [ "unindent", "url", "walkdir", - "wasmparser", + "wasmparser 0.224.0", "webbrowser", "widestring", ] @@ -2101,20 +2229,39 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "ureq" -version = "2.12.1" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02d1a66277ed75f640d608235660df48c8e3c19f3b4edb6a263315626cc3c01d" +checksum = "e860613aec8c8643c53fb4a3ea3bed801ac09d982b75cb5a1c579e410ef043c2" dependencies = [ "base64", + "cc", + "cookie_store", "flate2", "log", "once_cell", + "percent-encoding", "rustls", + "rustls-pemfile", "rustls-pki-types", - "url", + "serde", + "serde_json", + "ureq-proto", + "utf-8", "webpki-roots", ] +[[package]] +name = "ureq-proto" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "319fa2a136b0a13deb093ce09407b39918ecceb68abfc688d9bf9353cf840b94" +dependencies = [ + "base64", + "http", + "httparse", + "log", +] + [[package]] name = "url" version = "2.5.4" @@ -2127,6 +2274,12 @@ dependencies = [ "serde", ] +[[package]] +name = "utf-8" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" + [[package]] name = "utf16_iter" version = "1.0.5" @@ -2243,7 +2396,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c17a3bd88f2155da63a1f2fcb8a56377a24f0b6dfed12733bb5f544e86f690c5" dependencies = [ "leb128", - "wasmparser", + "wasmparser 0.221.2", ] [[package]] @@ -2259,6 +2412,19 @@ dependencies = [ "serde", ] +[[package]] +name = "wasmparser" +version = "0.224.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65881a664fdd43646b647bb27bf186ab09c05bf56779d40aed4c6dce47d423f5" +dependencies = [ + "bitflags 2.8.0", + "hashbrown 0.15.2", + "indexmap", + "semver", + "serde", +] + [[package]] name = "wasmprinter" version = "0.221.2" @@ -2267,7 +2433,7 @@ checksum = "a80742ff1b9e6d8c231ac7c7247782c6fc5bce503af760bca071811e5fc9ee56" dependencies = [ "anyhow", "termcolor", - "wasmparser", + "wasmparser 0.221.2", ] [[package]] @@ -2299,7 +2465,7 @@ dependencies = [ "smallvec", "sptr", "target-lexicon", - "wasmparser", + "wasmparser 0.221.2", "wasmtime-asm-macros", "wasmtime-component-macro", "wasmtime-cranelift", @@ -2386,7 +2552,7 @@ dependencies = [ "smallvec", "target-lexicon", "thiserror 1.0.69", - "wasmparser", + "wasmparser 0.221.2", "wasmtime-environ", "wasmtime-versioned-export-macros", ] @@ -2410,7 +2576,7 @@ dependencies = [ "smallvec", "target-lexicon", "wasm-encoder", - "wasmparser", + "wasmparser 0.221.2", "wasmprinter", ] @@ -2478,7 +2644,7 @@ dependencies = [ "gimli", "object", "target-lexicon", - "wasmparser", + "wasmparser 0.221.2", "wasmtime-cranelift", "wasmtime-environ", "winch-codegen", @@ -2561,7 +2727,7 @@ dependencies = [ "smallvec", "target-lexicon", "thiserror 1.0.69", - "wasmparser", + "wasmparser 0.221.2", "wasmtime-cranelift", "wasmtime-environ", ] @@ -2804,7 +2970,7 @@ dependencies = [ "serde_derive", "serde_json", "unicode-xid", - "wasmparser", + "wasmparser 0.221.2", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index a5a850e0..2db4a8ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -95,7 +95,7 @@ codegen-units = 256 [workspace.dependencies] ansi_colours = "1.2.3" anstyle = "1.0.10" -anyhow = "1.0.94" +anyhow = "1.0.95" bstr = "1.11.3" cc = "1.2.10" clap = { version = "4.5.27", features = [ @@ -105,7 +105,7 @@ clap = { version = "4.5.27", features = [ "help", "unstable-styles", ] } -clap_complete = "4.5.39" +clap_complete = "4.5.42" clap_complete_nushell = "4.5.5" ctor = "0.2.9" ctrlc = { version = "3.4.5", features = ["termination"] } @@ -113,7 +113,7 @@ dialoguer = { version = "0.11.0", features = ["fuzzy-select"] } etcetera = "0.8.0" filetime = "0.2.25" fs4 = "0.12.0" -git2 = "0.19.0" +git2 = "0.20.0" glob = "0.3.2" heck = "0.5.0" html-escape = "0.2.13" @@ -131,19 +131,19 @@ regex-syntax = "0.8.5" rustc-hash = "2.1.0" semver = { version = "1.0.25", features = ["serde"] } serde = { version = "1.0.217", features = ["derive"] } -serde_derive = "1.0.216" +serde_derive = "1.0.217" serde_json = { version = "1.0.137", features = ["preserve_order"] } similar = "2.7.0" smallbitvec = "2.5.3" streaming-iterator = "0.1.9" tempfile = "3.15.0" -thiserror = "2.0.7" +thiserror = "2.0.11" tiny_http = "0.12.0" toml = "0.8.19" unindent = "0.2.3" url = { version = "2.5.4", features = ["serde"] } walkdir = "2.5.0" -wasmparser = "0.221.2" +wasmparser = "0.224.0" webbrowser = "1.0.3" tree-sitter = { version = "0.25.0", path = "./lib" } diff --git a/cli/src/tests/proc_macro/Cargo.toml b/cli/src/tests/proc_macro/Cargo.toml index 81a05954..e834383b 100644 --- a/cli/src/tests/proc_macro/Cargo.toml +++ b/cli/src/tests/proc_macro/Cargo.toml @@ -12,7 +12,7 @@ workspace = true proc-macro = true [dependencies] -proc-macro2 = "1.0.92" -quote = "1.0.37" +proc-macro2 = "1.0.93" +quote = "1.0.38" rand = "0.8.5" -syn = { version = "2.0.90", features = ["full"] } +syn = { version = "2.0.96", features = ["full"] } diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index e32901d9..a4000f90 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -27,6 +27,6 @@ regex.workspace = true semver.workspace = true serde.workspace = true serde_json.workspace = true -ureq = "2.12.1" +ureq = "3.0.0" notify = "8.0.0" notify-debouncer-full = "0.5.0" diff --git a/xtask/src/upgrade_emscripten.rs b/xtask/src/upgrade_emscripten.rs index 63a47300..9736e64e 100644 --- a/xtask/src/upgrade_emscripten.rs +++ b/xtask/src/upgrade_emscripten.rs @@ -9,7 +9,8 @@ use crate::create_commit; pub fn run() -> Result<()> { let response = ureq::get("https://api.github.com/repos/emscripten-core/emsdk/tags") .call()? - .into_string()?; + .body_mut() + .read_to_string()?; let json = serde_json::from_str::(&response)?; let version = json