diff --git a/Cargo.lock b/Cargo.lock index c79d7fa..918eccb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "ahash" @@ -198,8 +198,8 @@ checksum = "c3ac9f8b63eca6fd385229b3675f6cc0dc5c8a5c8a54a59d4f52ffd670d87b0c" [[package]] name = "cairo-lang-casm" -version = "2.8.5" -source = "git+https://github.com/starkware-libs/cairo?rev=0d9de394455f51edb3ff93f2f5e9699859e5760b#0d9de394455f51edb3ff93f2f5e9699859e5760b" +version = "2.9.0" +source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" dependencies = [ "cairo-lang-utils", "indoc", @@ -211,8 +211,8 @@ dependencies = [ [[package]] name = "cairo-lang-compiler" -version = "2.8.5" -source = "git+https://github.com/starkware-libs/cairo?rev=0d9de394455f51edb3ff93f2f5e9699859e5760b#0d9de394455f51edb3ff93f2f5e9699859e5760b" +version = "2.9.0" +source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" dependencies = [ "anyhow", "cairo-lang-defs", @@ -236,16 +236,16 @@ dependencies = [ [[package]] name = "cairo-lang-debug" -version = "2.8.5" -source = "git+https://github.com/starkware-libs/cairo?rev=0d9de394455f51edb3ff93f2f5e9699859e5760b#0d9de394455f51edb3ff93f2f5e9699859e5760b" +version = "2.9.0" +source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" dependencies = [ "cairo-lang-utils", ] [[package]] name = "cairo-lang-defs" -version = "2.8.5" -source = "git+https://github.com/starkware-libs/cairo?rev=0d9de394455f51edb3ff93f2f5e9699859e5760b#0d9de394455f51edb3ff93f2f5e9699859e5760b" +version = "2.9.0" +source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" dependencies = [ "cairo-lang-debug", "cairo-lang-diagnostics", @@ -260,8 +260,8 @@ dependencies = [ [[package]] name = "cairo-lang-diagnostics" -version = "2.8.5" -source = "git+https://github.com/starkware-libs/cairo?rev=0d9de394455f51edb3ff93f2f5e9699859e5760b#0d9de394455f51edb3ff93f2f5e9699859e5760b" +version = "2.9.0" +source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" dependencies = [ "cairo-lang-debug", "cairo-lang-filesystem", @@ -271,8 +271,8 @@ dependencies = [ [[package]] name = "cairo-lang-doc" -version = "2.8.5" -source = "git+https://github.com/starkware-libs/cairo?rev=0d9de394455f51edb3ff93f2f5e9699859e5760b#0d9de394455f51edb3ff93f2f5e9699859e5760b" +version = "2.9.0" +source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" dependencies = [ "cairo-lang-debug", "cairo-lang-defs", @@ -291,8 +291,8 @@ dependencies = [ [[package]] name = "cairo-lang-eq-solver" -version = "2.8.5" -source = "git+https://github.com/starkware-libs/cairo?rev=0d9de394455f51edb3ff93f2f5e9699859e5760b#0d9de394455f51edb3ff93f2f5e9699859e5760b" +version = "2.9.0" +source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" dependencies = [ "cairo-lang-utils", "good_lp", @@ -300,8 +300,8 @@ dependencies = [ [[package]] name = "cairo-lang-filesystem" -version = "2.8.5" -source = "git+https://github.com/starkware-libs/cairo?rev=0d9de394455f51edb3ff93f2f5e9699859e5760b#0d9de394455f51edb3ff93f2f5e9699859e5760b" +version = "2.9.0" +source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" dependencies = [ "cairo-lang-debug", "cairo-lang-utils", @@ -315,8 +315,8 @@ dependencies = [ [[package]] name = "cairo-lang-formatter" -version = "2.8.5" -source = "git+https://github.com/starkware-libs/cairo?rev=0d9de394455f51edb3ff93f2f5e9699859e5760b#0d9de394455f51edb3ff93f2f5e9699859e5760b" +version = "2.9.0" +source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" dependencies = [ "anyhow", "cairo-lang-diagnostics", @@ -334,8 +334,8 @@ dependencies = [ [[package]] name = "cairo-lang-lowering" -version = "2.8.5" -source = "git+https://github.com/starkware-libs/cairo?rev=0d9de394455f51edb3ff93f2f5e9699859e5760b#0d9de394455f51edb3ff93f2f5e9699859e5760b" +version = "2.9.0" +source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" dependencies = [ "cairo-lang-debug", "cairo-lang-defs", @@ -387,8 +387,8 @@ checksum = "c49906d6b1c215e5814be7c5c65ecf2328898b335bee8c2409ec07cfb5530daf" [[package]] name = "cairo-lang-parser" -version = "2.8.5" -source = "git+https://github.com/starkware-libs/cairo?rev=0d9de394455f51edb3ff93f2f5e9699859e5760b#0d9de394455f51edb3ff93f2f5e9699859e5760b" +version = "2.9.0" +source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" dependencies = [ "cairo-lang-diagnostics", "cairo-lang-filesystem", @@ -406,8 +406,8 @@ dependencies = [ [[package]] name = "cairo-lang-plugins" -version = "2.8.5" -source = "git+https://github.com/starkware-libs/cairo?rev=0d9de394455f51edb3ff93f2f5e9699859e5760b#0d9de394455f51edb3ff93f2f5e9699859e5760b" +version = "2.9.0" +source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" dependencies = [ "cairo-lang-defs", "cairo-lang-diagnostics", @@ -424,8 +424,8 @@ dependencies = [ [[package]] name = "cairo-lang-proc-macros" -version = "2.8.5" -source = "git+https://github.com/starkware-libs/cairo?rev=0d9de394455f51edb3ff93f2f5e9699859e5760b#0d9de394455f51edb3ff93f2f5e9699859e5760b" +version = "2.9.0" +source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" dependencies = [ "cairo-lang-debug", "quote", @@ -434,8 +434,8 @@ dependencies = [ [[package]] name = "cairo-lang-project" -version = "2.8.5" -source = "git+https://github.com/starkware-libs/cairo?rev=0d9de394455f51edb3ff93f2f5e9699859e5760b#0d9de394455f51edb3ff93f2f5e9699859e5760b" +version = "2.9.0" +source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" dependencies = [ "cairo-lang-filesystem", "cairo-lang-utils", @@ -446,8 +446,8 @@ dependencies = [ [[package]] name = "cairo-lang-semantic" -version = "2.8.5" -source = "git+https://github.com/starkware-libs/cairo?rev=0d9de394455f51edb3ff93f2f5e9699859e5760b#0d9de394455f51edb3ff93f2f5e9699859e5760b" +version = "2.9.0" +source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" dependencies = [ "cairo-lang-debug", "cairo-lang-defs", @@ -471,8 +471,8 @@ dependencies = [ [[package]] name = "cairo-lang-sierra" -version = "2.8.5" -source = "git+https://github.com/starkware-libs/cairo?rev=0d9de394455f51edb3ff93f2f5e9699859e5760b#0d9de394455f51edb3ff93f2f5e9699859e5760b" +version = "2.9.0" +source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" dependencies = [ "anyhow", "cairo-lang-utils", @@ -497,8 +497,8 @@ dependencies = [ [[package]] name = "cairo-lang-sierra-ap-change" -version = "2.8.5" -source = "git+https://github.com/starkware-libs/cairo?rev=0d9de394455f51edb3ff93f2f5e9699859e5760b#0d9de394455f51edb3ff93f2f5e9699859e5760b" +version = "2.9.0" +source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" dependencies = [ "cairo-lang-eq-solver", "cairo-lang-sierra", @@ -512,8 +512,8 @@ dependencies = [ [[package]] name = "cairo-lang-sierra-gas" -version = "2.8.5" -source = "git+https://github.com/starkware-libs/cairo?rev=0d9de394455f51edb3ff93f2f5e9699859e5760b#0d9de394455f51edb3ff93f2f5e9699859e5760b" +version = "2.9.0" +source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" dependencies = [ "cairo-lang-eq-solver", "cairo-lang-sierra", @@ -527,8 +527,8 @@ dependencies = [ [[package]] name = "cairo-lang-sierra-generator" -version = "2.8.5" -source = "git+https://github.com/starkware-libs/cairo?rev=0d9de394455f51edb3ff93f2f5e9699859e5760b#0d9de394455f51edb3ff93f2f5e9699859e5760b" +version = "2.9.0" +source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" dependencies = [ "cairo-lang-debug", "cairo-lang-defs", @@ -550,8 +550,8 @@ dependencies = [ [[package]] name = "cairo-lang-sierra-to-casm" -version = "2.8.5" -source = "git+https://github.com/starkware-libs/cairo?rev=0d9de394455f51edb3ff93f2f5e9699859e5760b#0d9de394455f51edb3ff93f2f5e9699859e5760b" +version = "2.9.0" +source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" dependencies = [ "assert_matches", "cairo-lang-casm", @@ -570,8 +570,8 @@ dependencies = [ [[package]] name = "cairo-lang-sierra-type-size" -version = "2.8.5" -source = "git+https://github.com/starkware-libs/cairo?rev=0d9de394455f51edb3ff93f2f5e9699859e5760b#0d9de394455f51edb3ff93f2f5e9699859e5760b" +version = "2.9.0" +source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" dependencies = [ "cairo-lang-sierra", "cairo-lang-utils", @@ -579,8 +579,8 @@ dependencies = [ [[package]] name = "cairo-lang-starknet" -version = "2.8.5" -source = "git+https://github.com/starkware-libs/cairo?rev=0d9de394455f51edb3ff93f2f5e9699859e5760b#0d9de394455f51edb3ff93f2f5e9699859e5760b" +version = "2.9.0" +source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" dependencies = [ "anyhow", "cairo-lang-compiler", @@ -608,8 +608,8 @@ dependencies = [ [[package]] name = "cairo-lang-starknet-classes" -version = "2.8.5" -source = "git+https://github.com/starkware-libs/cairo?rev=0d9de394455f51edb3ff93f2f5e9699859e5760b#0d9de394455f51edb3ff93f2f5e9699859e5760b" +version = "2.9.0" +source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" dependencies = [ "cairo-lang-casm", "cairo-lang-sierra", @@ -630,8 +630,8 @@ dependencies = [ [[package]] name = "cairo-lang-syntax" -version = "2.8.5" -source = "git+https://github.com/starkware-libs/cairo?rev=0d9de394455f51edb3ff93f2f5e9699859e5760b#0d9de394455f51edb3ff93f2f5e9699859e5760b" +version = "2.9.0" +source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" dependencies = [ "cairo-lang-debug", "cairo-lang-filesystem", @@ -645,8 +645,8 @@ dependencies = [ [[package]] name = "cairo-lang-syntax-codegen" -version = "2.8.5" -source = "git+https://github.com/starkware-libs/cairo?rev=0d9de394455f51edb3ff93f2f5e9699859e5760b#0d9de394455f51edb3ff93f2f5e9699859e5760b" +version = "2.9.0" +source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" dependencies = [ "genco", "xshell", @@ -654,8 +654,8 @@ dependencies = [ [[package]] name = "cairo-lang-test-plugin" -version = "2.8.5" -source = "git+https://github.com/starkware-libs/cairo?rev=0d9de394455f51edb3ff93f2f5e9699859e5760b#0d9de394455f51edb3ff93f2f5e9699859e5760b" +version = "2.9.0" +source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" dependencies = [ "anyhow", "cairo-lang-compiler", @@ -680,8 +680,8 @@ dependencies = [ [[package]] name = "cairo-lang-test-utils" -version = "2.8.5" -source = "git+https://github.com/starkware-libs/cairo?rev=0d9de394455f51edb3ff93f2f5e9699859e5760b#0d9de394455f51edb3ff93f2f5e9699859e5760b" +version = "2.9.0" +source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" dependencies = [ "cairo-lang-formatter", "cairo-lang-utils", @@ -692,8 +692,8 @@ dependencies = [ [[package]] name = "cairo-lang-utils" -version = "2.8.5" -source = "git+https://github.com/starkware-libs/cairo?rev=0d9de394455f51edb3ff93f2f5e9699859e5760b#0d9de394455f51edb3ff93f2f5e9699859e5760b" +version = "2.9.0" +source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" dependencies = [ "hashbrown 0.14.5", "indexmap 2.6.0", @@ -706,7 +706,7 @@ dependencies = [ [[package]] name = "cairo-language-server" -version = "2.8.5" +version = "2.9.0" dependencies = [ "anyhow", "assert_fs", diff --git a/Cargo.toml b/Cargo.toml index 1d4b2b0..30e6764 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cairo-language-server" -version = "2.8.5" +version = "2.9.0" edition = "2021" authors = ["Software Mansion ", "StarkWare "] @@ -13,20 +13,20 @@ testing = [] [dependencies] anyhow = "1" -cairo-lang-compiler = { git = "https://github.com/starkware-libs/cairo", rev = "0d9de394455f51edb3ff93f2f5e9699859e5760b" } -cairo-lang-defs = { git = "https://github.com/starkware-libs/cairo", rev = "0d9de394455f51edb3ff93f2f5e9699859e5760b" } -cairo-lang-diagnostics = { git = "https://github.com/starkware-libs/cairo", rev = "0d9de394455f51edb3ff93f2f5e9699859e5760b" } -cairo-lang-doc = { git = "https://github.com/starkware-libs/cairo", rev = "0d9de394455f51edb3ff93f2f5e9699859e5760b" } -cairo-lang-filesystem = { git = "https://github.com/starkware-libs/cairo", rev = "0d9de394455f51edb3ff93f2f5e9699859e5760b" } -cairo-lang-formatter = { git = "https://github.com/starkware-libs/cairo", rev = "0d9de394455f51edb3ff93f2f5e9699859e5760b" } -cairo-lang-lowering = { git = "https://github.com/starkware-libs/cairo", rev = "0d9de394455f51edb3ff93f2f5e9699859e5760b" } -cairo-lang-parser = { git = "https://github.com/starkware-libs/cairo", rev = "0d9de394455f51edb3ff93f2f5e9699859e5760b" } -cairo-lang-project = { git = "https://github.com/starkware-libs/cairo", rev = "0d9de394455f51edb3ff93f2f5e9699859e5760b" } -cairo-lang-semantic = { git = "https://github.com/starkware-libs/cairo", rev = "0d9de394455f51edb3ff93f2f5e9699859e5760b" } -cairo-lang-starknet = { git = "https://github.com/starkware-libs/cairo", rev = "0d9de394455f51edb3ff93f2f5e9699859e5760b" } -cairo-lang-syntax = { git = "https://github.com/starkware-libs/cairo", rev = "0d9de394455f51edb3ff93f2f5e9699859e5760b" } -cairo-lang-test-plugin = { git = "https://github.com/starkware-libs/cairo", rev = "0d9de394455f51edb3ff93f2f5e9699859e5760b" } -cairo-lang-utils = { git = "https://github.com/starkware-libs/cairo", rev = "0d9de394455f51edb3ff93f2f5e9699859e5760b" } +cairo-lang-compiler = { git = "https://github.com/starkware-libs/cairo", rev = "3c5a2f414204388da4db6f9530cd22e6d1ba5184" } +cairo-lang-defs = { git = "https://github.com/starkware-libs/cairo", rev = "3c5a2f414204388da4db6f9530cd22e6d1ba5184" } +cairo-lang-diagnostics = { git = "https://github.com/starkware-libs/cairo", rev = "3c5a2f414204388da4db6f9530cd22e6d1ba5184" } +cairo-lang-doc = { git = "https://github.com/starkware-libs/cairo", rev = "3c5a2f414204388da4db6f9530cd22e6d1ba5184" } +cairo-lang-filesystem = { git = "https://github.com/starkware-libs/cairo", rev = "3c5a2f414204388da4db6f9530cd22e6d1ba5184" } +cairo-lang-formatter = { git = "https://github.com/starkware-libs/cairo", rev = "3c5a2f414204388da4db6f9530cd22e6d1ba5184" } +cairo-lang-lowering = { git = "https://github.com/starkware-libs/cairo", rev = "3c5a2f414204388da4db6f9530cd22e6d1ba5184" } +cairo-lang-parser = { git = "https://github.com/starkware-libs/cairo", rev = "3c5a2f414204388da4db6f9530cd22e6d1ba5184" } +cairo-lang-project = { git = "https://github.com/starkware-libs/cairo", rev = "3c5a2f414204388da4db6f9530cd22e6d1ba5184" } +cairo-lang-semantic = { git = "https://github.com/starkware-libs/cairo", rev = "3c5a2f414204388da4db6f9530cd22e6d1ba5184" } +cairo-lang-starknet = { git = "https://github.com/starkware-libs/cairo", rev = "3c5a2f414204388da4db6f9530cd22e6d1ba5184" } +cairo-lang-syntax = { git = "https://github.com/starkware-libs/cairo", rev = "3c5a2f414204388da4db6f9530cd22e6d1ba5184" } +cairo-lang-test-plugin = { git = "https://github.com/starkware-libs/cairo", rev = "3c5a2f414204388da4db6f9530cd22e6d1ba5184" } +cairo-lang-utils = { git = "https://github.com/starkware-libs/cairo", rev = "3c5a2f414204388da4db6f9530cd22e6d1ba5184" } cairo-lang-macro = "0.1.1" convert_case = "0.6.0" crossbeam = "0.8.4" @@ -57,7 +57,7 @@ libc = "0.2.155" [dev-dependencies] assert_fs = "1.1" cairo-language-server = { path = ".", features = ["testing"] } -cairo-lang-test-utils = { git = "https://github.com/starkware-libs/cairo", rev = "0d9de394455f51edb3ff93f2f5e9699859e5760b", features = ["testing"] } +cairo-lang-test-utils = { git = "https://github.com/starkware-libs/cairo", rev = "3c5a2f414204388da4db6f9530cd22e6d1ba5184", features = ["testing"] } pathdiff = "0.2" pretty_assertions = "1.4.0" test-log = "0.2.16" diff --git a/tests/e2e/analysis.rs b/tests/e2e/analysis.rs index 7d39c0b..6cfa1f2 100644 --- a/tests/e2e/analysis.rs +++ b/tests/e2e/analysis.rs @@ -47,8 +47,8 @@ fn cairo_projects() { version: Some( Version { major: 2, - minor: 8, - patch: 5, + minor: 9, + patch: 0, }, ), cfg_set: None,