diff --git a/Cargo.lock b/Cargo.lock index 918eccb..0a04de4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -198,8 +198,8 @@ checksum = "c3ac9f8b63eca6fd385229b3675f6cc0dc5c8a5c8a54a59d4f52ffd670d87b0c" [[package]] name = "cairo-lang-casm" -version = "2.9.0" -source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" +version = "2.9.1" +source = "git+https://github.com/starkware-libs/cairo?rev=6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308#6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" dependencies = [ "cairo-lang-utils", "indoc", @@ -211,8 +211,8 @@ dependencies = [ [[package]] name = "cairo-lang-compiler" -version = "2.9.0" -source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" +version = "2.9.1" +source = "git+https://github.com/starkware-libs/cairo?rev=6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308#6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" dependencies = [ "anyhow", "cairo-lang-defs", @@ -236,16 +236,16 @@ dependencies = [ [[package]] name = "cairo-lang-debug" -version = "2.9.0" -source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" +version = "2.9.1" +source = "git+https://github.com/starkware-libs/cairo?rev=6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308#6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" dependencies = [ "cairo-lang-utils", ] [[package]] name = "cairo-lang-defs" -version = "2.9.0" -source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" +version = "2.9.1" +source = "git+https://github.com/starkware-libs/cairo?rev=6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308#6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" dependencies = [ "cairo-lang-debug", "cairo-lang-diagnostics", @@ -260,8 +260,8 @@ dependencies = [ [[package]] name = "cairo-lang-diagnostics" -version = "2.9.0" -source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" +version = "2.9.1" +source = "git+https://github.com/starkware-libs/cairo?rev=6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308#6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" dependencies = [ "cairo-lang-debug", "cairo-lang-filesystem", @@ -271,8 +271,8 @@ dependencies = [ [[package]] name = "cairo-lang-doc" -version = "2.9.0" -source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" +version = "2.9.1" +source = "git+https://github.com/starkware-libs/cairo?rev=6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308#6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" dependencies = [ "cairo-lang-debug", "cairo-lang-defs", @@ -291,8 +291,8 @@ dependencies = [ [[package]] name = "cairo-lang-eq-solver" -version = "2.9.0" -source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" +version = "2.9.1" +source = "git+https://github.com/starkware-libs/cairo?rev=6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308#6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" dependencies = [ "cairo-lang-utils", "good_lp", @@ -300,8 +300,8 @@ dependencies = [ [[package]] name = "cairo-lang-filesystem" -version = "2.9.0" -source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" +version = "2.9.1" +source = "git+https://github.com/starkware-libs/cairo?rev=6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308#6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" dependencies = [ "cairo-lang-debug", "cairo-lang-utils", @@ -315,8 +315,8 @@ dependencies = [ [[package]] name = "cairo-lang-formatter" -version = "2.9.0" -source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" +version = "2.9.1" +source = "git+https://github.com/starkware-libs/cairo?rev=6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308#6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" dependencies = [ "anyhow", "cairo-lang-diagnostics", @@ -334,8 +334,8 @@ dependencies = [ [[package]] name = "cairo-lang-lowering" -version = "2.9.0" -source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" +version = "2.9.1" +source = "git+https://github.com/starkware-libs/cairo?rev=6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308#6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" dependencies = [ "cairo-lang-debug", "cairo-lang-defs", @@ -387,8 +387,8 @@ checksum = "c49906d6b1c215e5814be7c5c65ecf2328898b335bee8c2409ec07cfb5530daf" [[package]] name = "cairo-lang-parser" -version = "2.9.0" -source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" +version = "2.9.1" +source = "git+https://github.com/starkware-libs/cairo?rev=6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308#6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" dependencies = [ "cairo-lang-diagnostics", "cairo-lang-filesystem", @@ -406,8 +406,8 @@ dependencies = [ [[package]] name = "cairo-lang-plugins" -version = "2.9.0" -source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" +version = "2.9.1" +source = "git+https://github.com/starkware-libs/cairo?rev=6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308#6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" dependencies = [ "cairo-lang-defs", "cairo-lang-diagnostics", @@ -422,10 +422,15 @@ dependencies = [ "smol_str", ] +[[package]] +name = "cairo-lang-primitive-token" +version = "1.0.0" +source = "git+https://github.com/starkware-libs/cairo?rev=6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308#6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" + [[package]] name = "cairo-lang-proc-macros" -version = "2.9.0" -source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" +version = "2.9.1" +source = "git+https://github.com/starkware-libs/cairo?rev=6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308#6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" dependencies = [ "cairo-lang-debug", "quote", @@ -434,8 +439,8 @@ dependencies = [ [[package]] name = "cairo-lang-project" -version = "2.9.0" -source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" +version = "2.9.1" +source = "git+https://github.com/starkware-libs/cairo?rev=6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308#6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" dependencies = [ "cairo-lang-filesystem", "cairo-lang-utils", @@ -446,8 +451,8 @@ dependencies = [ [[package]] name = "cairo-lang-semantic" -version = "2.9.0" -source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" +version = "2.9.1" +source = "git+https://github.com/starkware-libs/cairo?rev=6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308#6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" dependencies = [ "cairo-lang-debug", "cairo-lang-defs", @@ -471,8 +476,8 @@ dependencies = [ [[package]] name = "cairo-lang-sierra" -version = "2.9.0" -source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" +version = "2.9.1" +source = "git+https://github.com/starkware-libs/cairo?rev=6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308#6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" dependencies = [ "anyhow", "cairo-lang-utils", @@ -497,8 +502,8 @@ dependencies = [ [[package]] name = "cairo-lang-sierra-ap-change" -version = "2.9.0" -source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" +version = "2.9.1" +source = "git+https://github.com/starkware-libs/cairo?rev=6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308#6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" dependencies = [ "cairo-lang-eq-solver", "cairo-lang-sierra", @@ -512,8 +517,8 @@ dependencies = [ [[package]] name = "cairo-lang-sierra-gas" -version = "2.9.0" -source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" +version = "2.9.1" +source = "git+https://github.com/starkware-libs/cairo?rev=6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308#6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" dependencies = [ "cairo-lang-eq-solver", "cairo-lang-sierra", @@ -527,8 +532,8 @@ dependencies = [ [[package]] name = "cairo-lang-sierra-generator" -version = "2.9.0" -source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" +version = "2.9.1" +source = "git+https://github.com/starkware-libs/cairo?rev=6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308#6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" dependencies = [ "cairo-lang-debug", "cairo-lang-defs", @@ -550,8 +555,8 @@ dependencies = [ [[package]] name = "cairo-lang-sierra-to-casm" -version = "2.9.0" -source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" +version = "2.9.1" +source = "git+https://github.com/starkware-libs/cairo?rev=6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308#6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" dependencies = [ "assert_matches", "cairo-lang-casm", @@ -570,8 +575,8 @@ dependencies = [ [[package]] name = "cairo-lang-sierra-type-size" -version = "2.9.0" -source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" +version = "2.9.1" +source = "git+https://github.com/starkware-libs/cairo?rev=6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308#6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" dependencies = [ "cairo-lang-sierra", "cairo-lang-utils", @@ -579,8 +584,8 @@ dependencies = [ [[package]] name = "cairo-lang-starknet" -version = "2.9.0" -source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" +version = "2.9.1" +source = "git+https://github.com/starkware-libs/cairo?rev=6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308#6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" dependencies = [ "anyhow", "cairo-lang-compiler", @@ -608,8 +613,8 @@ dependencies = [ [[package]] name = "cairo-lang-starknet-classes" -version = "2.9.0" -source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" +version = "2.9.1" +source = "git+https://github.com/starkware-libs/cairo?rev=6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308#6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" dependencies = [ "cairo-lang-casm", "cairo-lang-sierra", @@ -630,11 +635,12 @@ dependencies = [ [[package]] name = "cairo-lang-syntax" -version = "2.9.0" -source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" +version = "2.9.1" +source = "git+https://github.com/starkware-libs/cairo?rev=6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308#6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" dependencies = [ "cairo-lang-debug", "cairo-lang-filesystem", + "cairo-lang-primitive-token", "cairo-lang-utils", "num-bigint", "num-traits", @@ -645,8 +651,8 @@ dependencies = [ [[package]] name = "cairo-lang-syntax-codegen" -version = "2.9.0" -source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" +version = "2.9.1" +source = "git+https://github.com/starkware-libs/cairo?rev=6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308#6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" dependencies = [ "genco", "xshell", @@ -654,8 +660,8 @@ dependencies = [ [[package]] name = "cairo-lang-test-plugin" -version = "2.9.0" -source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" +version = "2.9.1" +source = "git+https://github.com/starkware-libs/cairo?rev=6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308#6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" dependencies = [ "anyhow", "cairo-lang-compiler", @@ -680,8 +686,8 @@ dependencies = [ [[package]] name = "cairo-lang-test-utils" -version = "2.9.0" -source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" +version = "2.9.1" +source = "git+https://github.com/starkware-libs/cairo?rev=6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308#6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" dependencies = [ "cairo-lang-formatter", "cairo-lang-utils", @@ -692,8 +698,8 @@ dependencies = [ [[package]] name = "cairo-lang-utils" -version = "2.9.0" -source = "git+https://github.com/starkware-libs/cairo?rev=3c5a2f414204388da4db6f9530cd22e6d1ba5184#3c5a2f414204388da4db6f9530cd22e6d1ba5184" +version = "2.9.1" +source = "git+https://github.com/starkware-libs/cairo?rev=6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308#6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" dependencies = [ "hashbrown 0.14.5", "indexmap 2.6.0", @@ -706,7 +712,7 @@ dependencies = [ [[package]] name = "cairo-language-server" -version = "2.9.0" +version = "2.9.1" dependencies = [ "anyhow", "assert_fs", diff --git a/Cargo.toml b/Cargo.toml index 30e6764..69fa2ea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cairo-language-server" -version = "2.9.0" +version = "2.9.1" 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 = "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-compiler = { git = "https://github.com/starkware-libs/cairo", rev = "6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" } +cairo-lang-defs = { git = "https://github.com/starkware-libs/cairo", rev = "6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" } +cairo-lang-diagnostics = { git = "https://github.com/starkware-libs/cairo", rev = "6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" } +cairo-lang-doc = { git = "https://github.com/starkware-libs/cairo", rev = "6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" } +cairo-lang-filesystem = { git = "https://github.com/starkware-libs/cairo", rev = "6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" } +cairo-lang-formatter = { git = "https://github.com/starkware-libs/cairo", rev = "6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" } +cairo-lang-lowering = { git = "https://github.com/starkware-libs/cairo", rev = "6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" } +cairo-lang-parser = { git = "https://github.com/starkware-libs/cairo", rev = "6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" } +cairo-lang-project = { git = "https://github.com/starkware-libs/cairo", rev = "6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" } +cairo-lang-semantic = { git = "https://github.com/starkware-libs/cairo", rev = "6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" } +cairo-lang-starknet = { git = "https://github.com/starkware-libs/cairo", rev = "6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" } +cairo-lang-syntax = { git = "https://github.com/starkware-libs/cairo", rev = "6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" } +cairo-lang-test-plugin = { git = "https://github.com/starkware-libs/cairo", rev = "6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" } +cairo-lang-utils = { git = "https://github.com/starkware-libs/cairo", rev = "6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308" } 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 = "3c5a2f414204388da4db6f9530cd22e6d1ba5184", features = ["testing"] } +cairo-lang-test-utils = { git = "https://github.com/starkware-libs/cairo", rev = "6512b4bf99d49afd6d50129ee5d1f8f4f6fbc308", 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 6cfa1f2..e345a0b 100644 --- a/tests/e2e/analysis.rs +++ b/tests/e2e/analysis.rs @@ -48,7 +48,7 @@ fn cairo_projects() { Version { major: 2, minor: 9, - patch: 0, + patch: 1, }, ), cfg_set: None,