diff --git a/Cargo.lock b/Cargo.lock index 4f633abc..ce8d298e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -118,7 +118,7 @@ dependencies = [ "enumflags2", "flate2", "glyph-names", - "log 0.4.33", + "log 0.4.34", "ouroboros", "pathfinder_geometry", "rustc-hash", @@ -140,7 +140,7 @@ dependencies = [ "cc", "jni", "libc", - "log 0.4.33", + "log 0.4.34", "ndk", "ndk-context", "ndk-sys", @@ -456,7 +456,7 @@ dependencies = [ "anyhow", "arg_enum_proc_macro", "arrayvec", - "log 0.4.33", + "log 0.4.34", "num-rational", "num-traits", "pastey", @@ -474,7 +474,7 @@ checksum = "8cfddb07216410377231960af4fcab838eaa12e013417781b78bd95ee22077f8" dependencies = [ "anyhow", "arrayvec", - "log 0.4.33", + "log 0.4.34", "nom", "num-rational", "v_frame", @@ -601,6 +601,12 @@ dependencies = [ "serde", ] +[[package]] +name = "bincode" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd6a120d2e16b3e1b4a24bd70f23b12d3e16b81f113364a26935f8db7245452d" + [[package]] name = "bit_field" version = "0.10.3" @@ -745,19 +751,19 @@ dependencies = [ [[package]] name = "calamine" -version = "0.36.1" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fa68281b1a76b54a62156474adb06bb380a67e07dd60656e3217152b42183f3" +checksum = "c9ca341b94bc4b29e08970b1a03914fad2dfe177e2ecb67fcd6de9046004aafb" dependencies = [ "atoi_simd", "byteorder", "codepage", "encoding_rs", "fast-float2", - "log 0.4.33", - "quick-xml 0.41.0", + "log 0.4.34", + "quick-xml", "serde", - "zip 8.6.0", + "zip", ] [[package]] @@ -1004,6 +1010,35 @@ dependencies = [ "rustversion", ] +[[package]] +name = "cookie" +version = "0.18.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a373e3602691c3cdea496d2f0ee5935151e6168fe87739483c463db1b2f2f87" +dependencies = [ + "percent-encoding", + "time", + "version_check", +] + +[[package]] +name = "cookie_store" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15b2c103cf610ec6cae3da84a766285b42fd16aad564758459e6ecf128c75206" +dependencies = [ + "cookie", + "document-features", + "idna", + "indexmap", + "log 0.4.34", + "serde", + "serde_derive", + "serde_json", + "time", + "url", +] + [[package]] name = "core-foundation-sys" version = "0.8.7" @@ -1320,6 +1355,15 @@ dependencies = [ "syn 3.0.3", ] +[[package]] +name = "document-features" +version = "0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4b8a88685455ed29a21542a33abd9cb6510b6b129abadabdcef0f4c55bc8f61" +dependencies = [ + "litrs", +] + [[package]] name = "dunce" version = "1.0.5" @@ -1389,7 +1433,7 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "900d271a03799a1ee8d1ca9b19893b48ca674a9284fefcfb85f05e74ed314217" dependencies = [ - "log 0.4.33", + "log 0.4.34", "regex", ] @@ -1403,7 +1447,7 @@ dependencies = [ "anstyle", "env_filter", "jiff", - "log 0.4.33", + "log 0.4.34", ] [[package]] @@ -1870,6 +1914,16 @@ dependencies = [ "windows-sys 0.61.2", ] +[[package]] +name = "http" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "918d3568bebf352712bc2ef3d46a8bcf1a75b373be6539de198e9105cbbf9ce0" +dependencies = [ + "bytes", + "itoa", +] + [[package]] name = "httparse" version = "1.10.1" @@ -1897,7 +1951,7 @@ version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bcf4dd4c44ae85155502a52c48739c8a48185d1449fff1963cffee63c28a50f0" dependencies = [ - "bincode", + "bincode 1.3.3", "fst", "hyphenation_commons", "pocket-resources", @@ -1924,7 +1978,7 @@ dependencies = [ "core-foundation-sys", "iana-time-zone-haiku", "js-sys", - "log 0.4.33", + "log 0.4.34", "wasm-bindgen", "windows-core", ] @@ -2154,7 +2208,7 @@ dependencies = [ "defmt", "jiff-core", "jiff-static", - "log 0.4.33", + "log 0.4.34", "portable-atomic", "portable-atomic-util", "serde_core", @@ -2167,7 +2221,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e52fe76043ccecc9005d2305ebaadf7d7fc0cc89ca6baa10a94d6bc68c7128c" dependencies = [ "defmt", - "log 0.4.33", + "log 0.4.34", ] [[package]] @@ -2192,7 +2246,7 @@ dependencies = [ "combine", "jni-macros", "jni-sys 0.4.1", - "log 0.4.33", + "log 0.4.34", "simd_cesu8", "thiserror 2.0.21", "walkdir", @@ -2281,9 +2335,9 @@ checksum = "34b357333733e8260735ba5894eb928c02ecc69c78715f01a8019e7fa7f2db4c" [[package]] name = "libc" -version = "0.2.190" +version = "0.2.191" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78" +checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a" [[package]] name = "libfuzzer-sys" @@ -2333,6 +2387,12 @@ version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae" +[[package]] +name = "litrs" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4744e383959f0db86ede514b809b1c53251889093803c05267acc7d4e7030d70" + [[package]] name = "llvm-sys" version = "231.0.1" @@ -2362,14 +2422,14 @@ version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e19e8d5c34a3e0e2223db8e060f9e8264aeeb5c5fc64a4ee9965c062211c024b" dependencies = [ - "log 0.4.33", + "log 0.4.34", ] [[package]] name = "log" -version = "0.4.33" +version = "0.4.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad" +checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6" [[package]] name = "logos" @@ -2427,7 +2487,7 @@ dependencies = [ "getrandom 0.4.3", "indexmap", "itoa", - "log 0.4.33", + "log 0.4.34", "md-5", "nom", "rand 0.10.3", @@ -2459,9 +2519,9 @@ dependencies = [ [[package]] name = "lzma-rust2" -version = "0.21.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fde178a3caf126c440fa15628147772d8ee590a39477d711353fbe2e58a73a5b" +checksum = "7277c9742229dc25243236d578b6471a798c554512c6f6a04365ec2e87c2a3bb" dependencies = [ "sha2", ] @@ -2473,7 +2533,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fd604973958ddcc11b561193c0fb96ba146506ef2f231ef2e7c35fd2cbc9beca" dependencies = [ "cc", - "log 0.4.33", + "log 0.4.34", "objc2", "objc2-foundation", "time", @@ -2580,7 +2640,7 @@ checksum = "c3f42e7bbe13d351b6bead8286a43aac9534b82bd3cc43e47037f012ebfd62d4" dependencies = [ "bitflags 2.13.1", "jni-sys 0.3.1", - "log 0.4.33", + "log 0.4.34", "ndk-sys", "num_enum", "thiserror 1.0.69", @@ -2659,7 +2719,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4587364a9a0074333429b3df75a30a205340c56a536ca3eb6ca0e59b87bbf8af" dependencies = [ "futures-lite", - "log 0.4.33", + "log 0.4.34", "mac-notification-sys", "serde", "tauri-winrt-notification", @@ -2918,7 +2978,7 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b7b7e7b4ea703700ce73ebf128e1450eb69c3a8329199ffbfb9b2a0418e5ad3" dependencies = [ - "log 0.4.33", + "log 0.4.34", "pathfinder_simd", ] @@ -3094,9 +3154,9 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" [[package]] name = "ppmd-rust" -version = "1.4.0" +version = "1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efca4c95a19a79d1c98f791f10aebd5c1363b473244630bb7dbde1dc98455a24" +checksum = "cd4acc8d264ea385db64ccfdcdfd5909ee9eda0975666723d59f3bfec80b3611" [[package]] name = "ppv-lite86" @@ -3236,22 +3296,13 @@ version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3" -[[package]] -name = "quick-xml" -version = "0.41.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e660451e55124f798a69a5af3f49ccfbefbd41910eefd25caf2393e1f3473ec1" -dependencies = [ - "encoding_rs", - "memchr", -] - [[package]] name = "quick-xml" version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "41b1177fdf999d2321d3fb46ff47159d9c1fb9ad66a4879f8c50a0b504615e9b" dependencies = [ + "encoding_rs", "memchr", ] @@ -3286,24 +3337,13 @@ dependencies = [ "nibble_vec", ] -[[package]] -name = "rand" -version = "0.8.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e058c7de0b26af77780c769414d6257830bb240f3c38477dbc2c16e5f54d6d4c" -dependencies = [ - "libc", - "rand_chacha 0.3.1", - "rand_core 0.6.4", -] - [[package]] name = "rand" version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b9ef1d0d795eb7d84685bca4f72f3649f064e6641543d3a8c415898726a57b41" dependencies = [ - "rand_chacha 0.9.0", + "rand_chacha", "rand_core 0.9.5", ] @@ -3318,16 +3358,6 @@ dependencies = [ "rand_core 0.10.1", ] -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core 0.6.4", -] - [[package]] name = "rand_chacha" version = "0.9.0" @@ -3338,15 +3368,6 @@ dependencies = [ "rand_core 0.9.5", ] -[[package]] -name = "rand_core" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" -dependencies = [ - "getrandom 0.2.17", -] - [[package]] name = "rand_core" version = "0.9.5" @@ -3387,7 +3408,7 @@ dependencies = [ "itertools 0.14.0", "libc", "libfuzzer-sys", - "log 0.4.33", + "log 0.4.34", "maybe-rayon", "new_debug_unreachable", "noop_proc_macro", @@ -3396,7 +3417,7 @@ dependencies = [ "paste", "profiling", "rand 0.9.5", - "rand_chacha 0.9.0", + "rand_chacha", "simd_helpers", "thiserror 2.0.21", "v_frame", @@ -3608,7 +3629,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "48e13bd8c0e9365c43cfa5c9e8f9ad49d3c8444926c9aac819e0e4dc503c8fdf" dependencies = [ "aws-lc-rs", - "log 0.4.33", + "log 0.4.34", "once_cell", "ring", "rustls-pki-types", @@ -3646,16 +3667,15 @@ checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" [[package]] name = "rustyline" -version = "18.0.1" +version = "19.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53f6a737db68eb1a8ccff86b584b2fc13eca6a7bb6f78ebc7c529547e3ab9684" +checksum = "56e1d6bd81c2d5feafd2419138df9183c45a10a492c4e873b8b0acb8eb2b549e" dependencies = [ "bitflags 2.13.1", - "cfg-if", "clipboard-win", "home", "libc", - "log 0.4.33", + "log 0.4.34", "memchr", "nix", "radix_trie", @@ -4009,7 +4029,7 @@ dependencies = [ "android_log", "env_logger", "fontdue", - "log 0.4.33", + "log 0.4.34", "ndk", "once_cell", "serde", @@ -4037,7 +4057,7 @@ dependencies = [ name = "techscript_bytecode" version = "2.0.0" dependencies = [ - "bincode", + "bincode 3.0.0", "serde", "techscript_ast", "techscript_common", @@ -4055,7 +4075,7 @@ name = "techscript_cli" version = "2.0.0" dependencies = [ "anyhow", - "bincode", + "bincode 3.0.0", "clap", "clap_complete", "colored", @@ -4267,7 +4287,7 @@ dependencies = [ "serde_json", "sha2", "toml 1.1.6+spec-1.1.0", - "zip 9.0.3", + "zip", ] [[package]] @@ -4328,8 +4348,8 @@ dependencies = [ "notify-rust", "printpdf", "qrcode", - "quick-xml 0.42.0", - "rand 0.8.8", + "quick-xml", + "rand 0.10.3", "rusqlite", "rustls", "serde", @@ -4345,7 +4365,7 @@ dependencies = [ "ureq", "url", "uuid", - "zip 9.0.3", + "zip", ] [[package]] @@ -4363,7 +4383,7 @@ dependencies = [ name = "techscript_vm" version = "2.0.0" dependencies = [ - "bincode", + "bincode 3.0.0", "indexmap", "serde", "techscript_ast", @@ -4461,6 +4481,7 @@ dependencies = [ "powerfmt", "serde_core", "time-core", + "time-macros", ] [[package]] @@ -4469,6 +4490,16 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109" +[[package]] +name = "time-macros" +version = "0.2.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e689342a48d2ea927c87ea50cabf8594854bf940e9310208848d680d668ed85" +dependencies = [ + "num-conv", + "time-core", +] + [[package]] name = "tiny_http" version = "0.12.0" @@ -4478,7 +4509,7 @@ dependencies = [ "ascii", "chunked_transfer", "httpdate", - "log 0.4.33", + "log 0.4.34", ] [[package]] @@ -4518,9 +4549,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.53.3" +version = "1.54.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce3335fa71841cda333a58d7615b03901380ecf09d59b3296d21f8bbac0dde4e" +checksum = "b52fd3255258d26fac7264ab5a76b53c13367136dc011d3d6ad4f8ed070396a3" dependencies = [ "bytes", "libc", @@ -4822,20 +4853,34 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "ureq" -version = "2.12.1" +version = "3.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02d1a66277ed75f640d608235660df48c8e3c19f3b4edb6a263315626cc3c01d" +checksum = "cde93ff05758a36a851a398a772b0b79a82fbe3c186a46f2696baaeaf84c966b" dependencies = [ - "base64 0.22.1", + "base64 0.23.1", + "cookie_store", "flate2", - "log 0.4.33", - "once_cell", + "log 0.4.34", + "percent-encoding", "rustls", "rustls-pki-types", "serde", "serde_json", - "url", - "webpki-roots 0.26.11", + "ureq-proto", + "utf8-zero", + "webpki-roots", +] + +[[package]] +name = "ureq-proto" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "841583fc36089d7d59419568ae157f43a5a03a2e5a81ba87c77d1596ef46e922" +dependencies = [ + "base64 0.23.1", + "http", + "httparse", + "log 0.4.34", ] [[package]] @@ -4851,6 +4896,12 @@ dependencies = [ "serde_derive", ] +[[package]] +name = "utf8-zero" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8c0a043c9540bae7c578c88f91dda8bd82e59ae27c21baca69c8b191aaf5a6e" + [[package]] name = "utf8_iter" version = "1.0.4" @@ -4990,18 +5041,9 @@ dependencies = [ [[package]] name = "webpki-roots" -version = "0.26.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9" -dependencies = [ - "webpki-roots 1.0.9", -] - -[[package]] -name = "webpki-roots" -version = "1.0.9" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7dcd9d09a39985f5344844e66b0c530a33843579125f23e21e9f0f220850f22a" +checksum = "f5f280bbb2b287bc8e7de7e3852945a0ff50d1bbcb5ed42b6c7a568c546df171" dependencies = [ "rustls-pki-types", ] @@ -5489,23 +5531,9 @@ dependencies = [ [[package]] name = "zip" -version = "8.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d04a6b5381502aa6087c94c669499eb1602eb9c5e8198e534de571f7154809b" -dependencies = [ - "crc32fast", - "flate2", - "indexmap", - "memchr", - "typed-path", - "zopfli", -] - -[[package]] -name = "zip" -version = "9.0.3" +version = "9.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2d98561b612a84ae525331a7a094429ef8a5772514ed507ff6db5f54badc971" +checksum = "6e04976da629d3b04204ba8105b396a193af8ad2583b2c79bfb3ab8af580a11e" dependencies = [ "aes", "bzip2", @@ -5549,7 +5577,7 @@ checksum = "f05cd8797d63865425ff89b5c4a48804f35ba0ce8d125800027ad6017d2b5249" dependencies = [ "bumpalo", "crc32fast", - "log 0.4.33", + "log 0.4.34", "simd-adler32", ] diff --git a/Cargo.toml b/Cargo.toml index ea1b960c..87864776 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -38,7 +38,7 @@ serde_json = "1" anyhow = "1" thiserror = "2" tower-lsp = "0.20" -rustyline = "18" +rustyline = "19" colored = "3" toml = "1.1" indexmap = "2" diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 265b84c3..f58dcfb5 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -51,10 +51,10 @@ anyhow = { workspace = true } rustyline = { workspace = true } toml = { workspace = true } indexmap = { workspace = true } -bincode = "1.3.3" +bincode = "3.0.0" dirs = "7.0" num_cpus = "1.15" -ureq = "2.10" +ureq = "3.5" rayon = "1.12.0" rusqlite = { version = "0.40", features = ["bundled"] } diff --git a/compiler/bytecode/Cargo.toml b/compiler/bytecode/Cargo.toml index b8d2cc9c..9ea7eef3 100644 --- a/compiler/bytecode/Cargo.toml +++ b/compiler/bytecode/Cargo.toml @@ -11,7 +11,7 @@ techscript_syntax = { path = "../syntax" } techscript_ast = { path = "../ast" } techscript_ir = { path = "../ir" } serde = { workspace = true } -bincode = "1.3.3" +bincode = "3.0.0" [dev-dependencies] techscript_errors = { path = "../errors" } @@ -20,4 +20,4 @@ techscript_parser = { path = "../parser" } techscript_semantic = { path = "../semantic" } techscript_optimizer = { path = "../optimizer" } serde = { workspace = true } -bincode = "1.3.3" +bincode = "3.0.0" diff --git a/runtime/vm/Cargo.toml b/runtime/vm/Cargo.toml index 50cc4cf4..85be2e86 100644 --- a/runtime/vm/Cargo.toml +++ b/runtime/vm/Cargo.toml @@ -15,7 +15,7 @@ techscript_runtime = { path = "../runtime" } techscript_builtins = { path = "../builtins" } techscript_stdlib = { path = "../../stdlib" } serde = { workspace = true } -bincode = "1.3.3" +bincode = "3.0.0" thiserror = { workspace = true } indexmap = "2.0" diff --git a/stdlib/Cargo.toml b/stdlib/Cargo.toml index 4c79dc39..0daca5e2 100644 --- a/stdlib/Cargo.toml +++ b/stdlib/Cargo.toml @@ -10,7 +10,7 @@ techscript_runtime = { path = "../runtime/runtime" } serde_json = { workspace = true } serde = { workspace = true } indexmap = { version = "2", features = ["serde"] } -ureq = { version = "2.10", features = ["json"] } +ureq = { version = "3.5", features = ["json"] } toml = { workspace = true } rusqlite = { version = "0.40", features = ["bundled"] } md5 = "0.8" @@ -24,7 +24,7 @@ flate2 = "1.0" crc = "3.0" image = "0.25" tiny_http = "0.12" -rand = "0.8" +rand = "0.10" zip = "9.0" shlex = "2.0" url = "2.5" @@ -34,7 +34,7 @@ qrcode = "0.14" notify-rust = "4.10" chrono = "0.4" csv = "1.3" -calamine = "0.36" +calamine = "0.37" printpdf = "0.12" uuid = { version = "1", features = ["v4"] } rustls = { version = "0.23", optional = true } diff --git a/tools/package-manager/Cargo.toml b/tools/package-manager/Cargo.toml index d1532b18..38810836 100644 --- a/tools/package-manager/Cargo.toml +++ b/tools/package-manager/Cargo.toml @@ -10,7 +10,7 @@ serde = { workspace = true } serde_json = { workspace = true } toml = "1.1" anyhow = { workspace = true } -ureq = "2.10" +ureq = "3.5" [[bench]] name = "capability_validation_bench"