From 254539541ff976616db22ac87c82b6371ce9fd7d Mon Sep 17 00:00:00 2001 From: orizi <104711814+orizi@users.noreply.github.com> Date: Sun, 11 Jun 2023 16:45:25 +0300 Subject: [PATCH] Bumped version for release. (#3349) --- Cargo.lock | 74 +++++++++---------- Cargo.toml | 2 +- corelib/Scarb.toml | 2 +- crates/cairo-lang-casm/Cargo.toml | 2 +- crates/cairo-lang-compiler/Cargo.toml | 24 +++--- crates/cairo-lang-debug/Cargo.toml | 4 +- crates/cairo-lang-defs/Cargo.toml | 14 ++-- crates/cairo-lang-diagnostics/Cargo.toml | 6 +- crates/cairo-lang-eq-solver/Cargo.toml | 2 +- crates/cairo-lang-filesystem/Cargo.toml | 4 +- crates/cairo-lang-formatter/Cargo.toml | 10 +-- crates/cairo-lang-language-server/Cargo.toml | 28 +++---- crates/cairo-lang-lowering/Cargo.toml | 22 +++--- crates/cairo-lang-parser/Cargo.toml | 12 +-- crates/cairo-lang-plugins/Cargo.toml | 20 ++--- crates/cairo-lang-proc-macros/Cargo.toml | 2 +- crates/cairo-lang-project/Cargo.toml | 4 +- crates/cairo-lang-runner/Cargo.toml | 28 +++---- crates/cairo-lang-semantic/Cargo.toml | 16 ++-- crates/cairo-lang-sierra-ap-change/Cargo.toml | 6 +- crates/cairo-lang-sierra-gas/Cargo.toml | 8 +- crates/cairo-lang-sierra-generator/Cargo.toml | 26 +++---- crates/cairo-lang-sierra-to-casm/Cargo.toml | 10 +-- crates/cairo-lang-sierra/Cargo.toml | 2 +- crates/cairo-lang-starknet/Cargo.toml | 36 ++++----- .../src/compiler_version.rs | 4 +- .../test_data/account.casm.json | 2 +- .../test_data/account.sierra.json | 6 +- .../test_data/erc20.casm.json | 2 +- .../test_data/erc20.sierra.json | 6 +- .../test_data/hello_starknet.casm.json | 2 +- .../test_data/hello_starknet.sierra.json | 6 +- .../test_data/minimal_contract.casm.json | 2 +- .../test_data/minimal_contract.sierra.json | 6 +- .../new_syntax_test_contract.casm.json | 2 +- .../new_syntax_test_contract.sierra.json | 6 +- .../test_data/test_contract.casm.json | 2 +- .../test_data/test_contract.sierra.json | 6 +- .../test_data/token_bridge.casm.json | 2 +- .../test_data/token_bridge.sierra.json | 6 +- crates/cairo-lang-syntax/Cargo.toml | 6 +- crates/cairo-lang-test-runner/Cargo.toml | 34 ++++----- crates/cairo-lang-test-utils/Cargo.toml | 2 +- scripts/bump_version.sh | 2 +- tests/Cargo.toml | 28 +++---- 45 files changed, 248 insertions(+), 248 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 16d57703312..4af15f76cd5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -325,7 +325,7 @@ checksum = "dfb24e866b15a1af2a1b663f10c6b6b8f397a84aadb828f12e5b289ec23a3a3c" [[package]] name = "cairo-compile" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "anyhow", "cairo-lang-compiler", @@ -349,7 +349,7 @@ dependencies = [ [[package]] name = "cairo-format" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "anyhow", "cairo-lang-formatter", @@ -362,7 +362,7 @@ dependencies = [ [[package]] name = "cairo-lang-casm" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "cairo-lang-utils", "env_logger", @@ -382,7 +382,7 @@ dependencies = [ [[package]] name = "cairo-lang-compiler" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "anyhow", "cairo-lang-defs", @@ -406,7 +406,7 @@ dependencies = [ [[package]] name = "cairo-lang-debug" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "cairo-lang-proc-macros", "cairo-lang-utils", @@ -417,7 +417,7 @@ dependencies = [ [[package]] name = "cairo-lang-defs" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "cairo-lang-debug", "cairo-lang-diagnostics", @@ -438,7 +438,7 @@ dependencies = [ [[package]] name = "cairo-lang-diagnostics" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "cairo-lang-filesystem", "cairo-lang-proc-macros", @@ -453,7 +453,7 @@ dependencies = [ [[package]] name = "cairo-lang-eq-solver" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "cairo-lang-utils", "env_logger", @@ -467,7 +467,7 @@ dependencies = [ [[package]] name = "cairo-lang-filesystem" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "cairo-lang-debug", "cairo-lang-utils", @@ -482,7 +482,7 @@ dependencies = [ [[package]] name = "cairo-lang-formatter" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "anyhow", "cairo-lang-diagnostics", @@ -504,7 +504,7 @@ dependencies = [ [[package]] name = "cairo-lang-language-server" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "anyhow", "cairo-lang-compiler", @@ -536,7 +536,7 @@ dependencies = [ [[package]] name = "cairo-lang-lowering" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "cairo-lang-debug", "cairo-lang-defs", @@ -565,7 +565,7 @@ dependencies = [ [[package]] name = "cairo-lang-parser" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "cairo-lang-diagnostics", "cairo-lang-filesystem", @@ -589,7 +589,7 @@ dependencies = [ [[package]] name = "cairo-lang-plugins" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "cairo-lang-debug", "cairo-lang-defs", @@ -612,7 +612,7 @@ dependencies = [ [[package]] name = "cairo-lang-proc-macros" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "cairo-lang-debug", "quote", @@ -621,7 +621,7 @@ dependencies = [ [[package]] name = "cairo-lang-project" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "cairo-lang-filesystem", "cairo-lang-utils", @@ -635,7 +635,7 @@ dependencies = [ [[package]] name = "cairo-lang-runner" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "anyhow", "ark-ff", @@ -671,7 +671,7 @@ dependencies = [ [[package]] name = "cairo-lang-semantic" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "assert_matches", "cairo-lang-debug", @@ -700,7 +700,7 @@ dependencies = [ [[package]] name = "cairo-lang-sierra" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "assert_matches", "bimap", @@ -728,7 +728,7 @@ dependencies = [ [[package]] name = "cairo-lang-sierra-ap-change" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "cairo-lang-eq-solver", "cairo-lang-sierra", @@ -743,7 +743,7 @@ dependencies = [ [[package]] name = "cairo-lang-sierra-gas" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "cairo-lang-eq-solver", "cairo-lang-sierra", @@ -760,7 +760,7 @@ dependencies = [ [[package]] name = "cairo-lang-sierra-generator" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "cairo-lang-debug", "cairo-lang-defs", @@ -791,7 +791,7 @@ dependencies = [ [[package]] name = "cairo-lang-sierra-to-casm" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "assert_matches", "cairo-felt", @@ -814,7 +814,7 @@ dependencies = [ [[package]] name = "cairo-lang-starknet" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "anyhow", "cairo-felt", @@ -857,7 +857,7 @@ dependencies = [ [[package]] name = "cairo-lang-syntax" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "cairo-lang-debug", "cairo-lang-filesystem", @@ -875,7 +875,7 @@ dependencies = [ [[package]] name = "cairo-lang-syntax-codegen" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "env_logger", "genco", @@ -885,7 +885,7 @@ dependencies = [ [[package]] name = "cairo-lang-test-runner" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "anyhow", "cairo-felt", @@ -918,7 +918,7 @@ dependencies = [ [[package]] name = "cairo-lang-test-utils" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "cairo-lang-utils", "env_logger", @@ -929,7 +929,7 @@ dependencies = [ [[package]] name = "cairo-lang-utils" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "env_logger", "indexmap", @@ -949,7 +949,7 @@ dependencies = [ [[package]] name = "cairo-language-server" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "cairo-lang-language-server", "cairo-lang-utils", @@ -959,7 +959,7 @@ dependencies = [ [[package]] name = "cairo-run" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "anyhow", "cairo-lang-compiler", @@ -983,7 +983,7 @@ dependencies = [ [[package]] name = "cairo-test" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "anyhow", "cairo-lang-test-runner", @@ -1535,7 +1535,7 @@ dependencies = [ [[package]] name = "generate-syntax" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "cairo-lang-syntax-codegen", "cairo-lang-utils", @@ -2715,7 +2715,7 @@ dependencies = [ [[package]] name = "sierra-compile" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "anyhow", "cairo-lang-sierra", @@ -2794,7 +2794,7 @@ dependencies = [ [[package]] name = "starknet-compile" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "anyhow", "cairo-lang-compiler", @@ -2856,7 +2856,7 @@ dependencies = [ [[package]] name = "starknet-sierra-compile" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "anyhow", "cairo-lang-starknet", @@ -2984,7 +2984,7 @@ dependencies = [ [[package]] name = "tests" -version = "1.1.0" +version = "2.0.0-rc0" dependencies = [ "assert_matches", "cairo-felt", diff --git a/Cargo.toml b/Cargo.toml index 79a0f82bd0e..a1e4f568d34 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,7 +40,7 @@ members = [ ] [workspace.package] -version = "1.1.0" +version = "2.0.0-rc0" edition = "2021" repository = "https://github.com/starkware-libs/cairo/" license = "Apache-2.0" diff --git a/corelib/Scarb.toml b/corelib/Scarb.toml index 28feb194a2d..dd9efc7d3df 100644 --- a/corelib/Scarb.toml +++ b/corelib/Scarb.toml @@ -1,6 +1,6 @@ [package] name = "core" -version = "1.1.0" +version = "2.0.0-rc0" # NOTE: This is non-public, unstable Scarb's field, which instructs resolver that this package does not # depend on `core`, which is only true for this particular package. Nobody else should use it. diff --git a/crates/cairo-lang-casm/Cargo.toml b/crates/cairo-lang-casm/Cargo.toml index ab984336dd5..7f594370330 100644 --- a/crates/cairo-lang-casm/Cargo.toml +++ b/crates/cairo-lang-casm/Cargo.toml @@ -7,7 +7,7 @@ license-file.workspace = true description = "Cairo assembly encoding." [dependencies] -cairo-lang-utils = { path = "../cairo-lang-utils", version = "1.1.0" } +cairo-lang-utils = { path = "../cairo-lang-utils", version = "2.0.0-rc0" } indoc.workspace = true num-bigint.workspace = true num-traits.workspace = true diff --git a/crates/cairo-lang-compiler/Cargo.toml b/crates/cairo-lang-compiler/Cargo.toml index db9d0577b68..1b3c593e6e8 100644 --- a/crates/cairo-lang-compiler/Cargo.toml +++ b/crates/cairo-lang-compiler/Cargo.toml @@ -8,18 +8,18 @@ description = "Cairo compiler." [dependencies] anyhow.workspace = true -cairo-lang-defs = { path = "../cairo-lang-defs", version = "1.1.0" } -cairo-lang-diagnostics = { path = "../cairo-lang-diagnostics", version = "1.1.0" } -cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "1.1.0" } -cairo-lang-lowering = { path = "../cairo-lang-lowering", version = "1.1.0" } -cairo-lang-parser = { path = "../cairo-lang-parser", version = "1.1.0" } -cairo-lang-plugins = { path = "../cairo-lang-plugins", version = "1.1.0" } -cairo-lang-project = { path = "../cairo-lang-project", version = "1.1.0" } -cairo-lang-semantic = { path = "../cairo-lang-semantic", version = "1.1.0" } -cairo-lang-sierra = { path = "../cairo-lang-sierra", version = "1.1.0" } -cairo-lang-sierra-generator = { path = "../cairo-lang-sierra-generator", version = "1.1.0" } -cairo-lang-syntax = { path = "../cairo-lang-syntax", version = "1.1.0" } -cairo-lang-utils = { path = "../cairo-lang-utils", version = "1.1.0" } +cairo-lang-defs = { path = "../cairo-lang-defs", version = "2.0.0-rc0" } +cairo-lang-diagnostics = { path = "../cairo-lang-diagnostics", version = "2.0.0-rc0" } +cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "2.0.0-rc0" } +cairo-lang-lowering = { path = "../cairo-lang-lowering", version = "2.0.0-rc0" } +cairo-lang-parser = { path = "../cairo-lang-parser", version = "2.0.0-rc0" } +cairo-lang-plugins = { path = "../cairo-lang-plugins", version = "2.0.0-rc0" } +cairo-lang-project = { path = "../cairo-lang-project", version = "2.0.0-rc0" } +cairo-lang-semantic = { path = "../cairo-lang-semantic", version = "2.0.0-rc0" } +cairo-lang-sierra = { path = "../cairo-lang-sierra", version = "2.0.0-rc0" } +cairo-lang-sierra-generator = { path = "../cairo-lang-sierra-generator", version = "2.0.0-rc0" } +cairo-lang-syntax = { path = "../cairo-lang-syntax", version = "2.0.0-rc0" } +cairo-lang-utils = { path = "../cairo-lang-utils", version = "2.0.0-rc0" } log.workspace = true salsa.workspace = true smol_str.workspace = true diff --git a/crates/cairo-lang-debug/Cargo.toml b/crates/cairo-lang-debug/Cargo.toml index 973aebaf806..8e0b3a8572f 100644 --- a/crates/cairo-lang-debug/Cargo.toml +++ b/crates/cairo-lang-debug/Cargo.toml @@ -7,10 +7,10 @@ license-file.workspace = true description = "Debug utilities for query objects." [dependencies] -cairo-lang-utils = { path = "../cairo-lang-utils", version = "1.1.0-rc0" } +cairo-lang-utils = { path = "../cairo-lang-utils", version = "2.0.0-rc0" } [dev-dependencies] -cairo-lang-proc-macros = { path = "../cairo-lang-proc-macros", version = "1.1.0-rc0" } +cairo-lang-proc-macros = { path = "../cairo-lang-proc-macros", version = "2.0.0-rc0" } env_logger.workspace = true salsa.workspace = true test-log.workspace = true diff --git a/crates/cairo-lang-defs/Cargo.toml b/crates/cairo-lang-defs/Cargo.toml index 4f11ae78be0..00f5242d704 100644 --- a/crates/cairo-lang-defs/Cargo.toml +++ b/crates/cairo-lang-defs/Cargo.toml @@ -7,19 +7,19 @@ license-file.workspace = true description = "Handling of definitions of language items in Cairo." [dependencies] -cairo-lang-debug = { path = "../cairo-lang-debug", version = "1.1.0" } -cairo-lang-diagnostics = { path = "../cairo-lang-diagnostics", version = "1.1.0" } -cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "1.1.0" } -cairo-lang-parser = { path = "../cairo-lang-parser", version = "1.1.0" } -cairo-lang-syntax = { path = "../cairo-lang-syntax", version = "1.1.0" } -cairo-lang-utils = { path = "../cairo-lang-utils", version = "1.1.0" } +cairo-lang-debug = { path = "../cairo-lang-debug", version = "2.0.0-rc0" } +cairo-lang-diagnostics = { path = "../cairo-lang-diagnostics", version = "2.0.0-rc0" } +cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "2.0.0-rc0" } +cairo-lang-parser = { path = "../cairo-lang-parser", version = "2.0.0-rc0" } +cairo-lang-syntax = { path = "../cairo-lang-syntax", version = "2.0.0-rc0" } +cairo-lang-utils = { path = "../cairo-lang-utils", version = "2.0.0-rc0" } indexmap.workspace = true itertools.workspace = true salsa.workspace = true smol_str.workspace = true [dev-dependencies] -cairo-lang-test-utils = { path = "../cairo-lang-test-utils", version = "1.1.0" } +cairo-lang-test-utils = { path = "../cairo-lang-test-utils", version = "2.0.0-rc0" } env_logger.workspace = true indoc.workspace = true pretty_assertions.workspace = true diff --git a/crates/cairo-lang-diagnostics/Cargo.toml b/crates/cairo-lang-diagnostics/Cargo.toml index b55bd0b54b6..c940babbd1b 100644 --- a/crates/cairo-lang-diagnostics/Cargo.toml +++ b/crates/cairo-lang-diagnostics/Cargo.toml @@ -7,13 +7,13 @@ license-file.workspace = true description = "Diagnostic utilities." [dependencies] -cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "1.1.0" } -cairo-lang-utils = { path = "../cairo-lang-utils", version = "1.1.0" } +cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "2.0.0-rc0" } +cairo-lang-utils = { path = "../cairo-lang-utils", version = "2.0.0-rc0" } itertools.workspace = true salsa.workspace = true [dev-dependencies] -cairo-lang-proc-macros = { path = "../cairo-lang-proc-macros", version = "1.1.0" } +cairo-lang-proc-macros = { path = "../cairo-lang-proc-macros", version = "2.0.0-rc0" } env_logger.workspace = true indoc.workspace = true pretty_assertions.workspace = true diff --git a/crates/cairo-lang-eq-solver/Cargo.toml b/crates/cairo-lang-eq-solver/Cargo.toml index 139229e481c..794d5a06d94 100644 --- a/crates/cairo-lang-eq-solver/Cargo.toml +++ b/crates/cairo-lang-eq-solver/Cargo.toml @@ -7,7 +7,7 @@ license-file.workspace = true description = "Equation solving for Sierra generation." [dependencies] -cairo-lang-utils = { path = "../cairo-lang-utils", version = "1.1.0" } +cairo-lang-utils = { path = "../cairo-lang-utils", version = "2.0.0-rc0" } good_lp.workspace = true indexmap.workspace = true itertools.workspace = true diff --git a/crates/cairo-lang-filesystem/Cargo.toml b/crates/cairo-lang-filesystem/Cargo.toml index dca25882327..0eef3192b28 100644 --- a/crates/cairo-lang-filesystem/Cargo.toml +++ b/crates/cairo-lang-filesystem/Cargo.toml @@ -7,8 +7,8 @@ license-file.workspace = true description = "Virtual filesystem for the compiler." [dependencies] -cairo-lang-debug = { path = "../cairo-lang-debug", version = "1.1.0" } -cairo-lang-utils = { path = "../cairo-lang-utils", version = "1.1.0" } +cairo-lang-debug = { path = "../cairo-lang-debug", version = "2.0.0-rc0" } +cairo-lang-utils = { path = "../cairo-lang-utils", version = "2.0.0-rc0" } path-clean.workspace = true salsa.workspace = true serde.workspace = true diff --git a/crates/cairo-lang-formatter/Cargo.toml b/crates/cairo-lang-formatter/Cargo.toml index f35b07c932b..08990f3d645 100644 --- a/crates/cairo-lang-formatter/Cargo.toml +++ b/crates/cairo-lang-formatter/Cargo.toml @@ -8,11 +8,11 @@ description = "Cairo formatter." [dependencies] anyhow.workspace = true -cairo-lang-diagnostics = { path = "../cairo-lang-diagnostics", version = "1.1.0" } -cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "1.1.0" } -cairo-lang-parser = { path = "../cairo-lang-parser", version = "1.1.0" } -cairo-lang-syntax = { path = "../cairo-lang-syntax", version = "1.1.0" } -cairo-lang-utils = { path = "../cairo-lang-utils", version = "1.1.0" } +cairo-lang-diagnostics = { path = "../cairo-lang-diagnostics", version = "2.0.0-rc0" } +cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "2.0.0-rc0" } +cairo-lang-parser = { path = "../cairo-lang-parser", version = "2.0.0-rc0" } +cairo-lang-syntax = { path = "../cairo-lang-syntax", version = "2.0.0-rc0" } +cairo-lang-utils = { path = "../cairo-lang-utils", version = "2.0.0-rc0" } colored.workspace = true diffy.workspace = true ignore.workspace = true diff --git a/crates/cairo-lang-language-server/Cargo.toml b/crates/cairo-lang-language-server/Cargo.toml index ce7f421c400..bd4f437c060 100644 --- a/crates/cairo-lang-language-server/Cargo.toml +++ b/crates/cairo-lang-language-server/Cargo.toml @@ -8,20 +8,20 @@ description = "Cairo language server." [dependencies] anyhow.workspace = true -cairo-lang-compiler = { path = "../cairo-lang-compiler", version = "1.1.0" } -cairo-lang-debug = { path = "../cairo-lang-debug", version = "1.1.0" } -cairo-lang-defs = { path = "../cairo-lang-defs", version = "1.1.0" } -cairo-lang-diagnostics = { path = "../cairo-lang-diagnostics", version = "1.1.0" } -cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "1.1.0" } -cairo-lang-formatter = { path = "../cairo-lang-formatter", version = "1.1.0" } -cairo-lang-lowering = { path = "../cairo-lang-lowering", version = "1.1.0" } -cairo-lang-parser = { path = "../cairo-lang-parser", version = "1.1.0" } -cairo-lang-plugins = { path = "../cairo-lang-plugins", version = "1.1.0" } -cairo-lang-project = { path = "../cairo-lang-project", version = "1.1.0" } -cairo-lang-semantic = { path = "../cairo-lang-semantic", version = "1.1.0" } -cairo-lang-starknet = { path = "../cairo-lang-starknet", version = "1.1.0" } -cairo-lang-syntax = { path = "../cairo-lang-syntax", version = "1.1.0" } -cairo-lang-utils = { path = "../cairo-lang-utils", version = "1.1.0" } +cairo-lang-compiler = { path = "../cairo-lang-compiler", version = "2.0.0-rc0" } +cairo-lang-debug = { path = "../cairo-lang-debug", version = "2.0.0-rc0" } +cairo-lang-defs = { path = "../cairo-lang-defs", version = "2.0.0-rc0" } +cairo-lang-diagnostics = { path = "../cairo-lang-diagnostics", version = "2.0.0-rc0" } +cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "2.0.0-rc0" } +cairo-lang-formatter = { path = "../cairo-lang-formatter", version = "2.0.0-rc0" } +cairo-lang-lowering = { path = "../cairo-lang-lowering", version = "2.0.0-rc0" } +cairo-lang-parser = { path = "../cairo-lang-parser", version = "2.0.0-rc0" } +cairo-lang-plugins = { path = "../cairo-lang-plugins", version = "2.0.0-rc0" } +cairo-lang-project = { path = "../cairo-lang-project", version = "2.0.0-rc0" } +cairo-lang-semantic = { path = "../cairo-lang-semantic", version = "2.0.0-rc0" } +cairo-lang-starknet = { path = "../cairo-lang-starknet", version = "2.0.0-rc0" } +cairo-lang-syntax = { path = "../cairo-lang-syntax", version = "2.0.0-rc0" } +cairo-lang-utils = { path = "../cairo-lang-utils", version = "2.0.0-rc0" } indoc.workspace = true log.workspace = true lsp.workspace = true diff --git a/crates/cairo-lang-lowering/Cargo.toml b/crates/cairo-lang-lowering/Cargo.toml index 795723a252a..2d194a1f2b9 100644 --- a/crates/cairo-lang-lowering/Cargo.toml +++ b/crates/cairo-lang-lowering/Cargo.toml @@ -7,15 +7,15 @@ license-file.workspace = true description = "Cairo lowering phase." [dependencies] -cairo-lang-debug = { path = "../cairo-lang-debug", version = "1.1.0" } -cairo-lang-defs = { path = "../cairo-lang-defs", version = "1.1.0" } -cairo-lang-diagnostics = { path = "../cairo-lang-diagnostics", version = "1.1.0" } -cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "1.1.0" } -cairo-lang-parser = { path = "../cairo-lang-parser", version = "1.1.0" } -cairo-lang-proc-macros = { path = "../cairo-lang-proc-macros", version = "1.1.0" } -cairo-lang-semantic = { path = "../cairo-lang-semantic", version = "1.1.0" } -cairo-lang-syntax = { path = "../cairo-lang-syntax", version = "1.1.0" } -cairo-lang-utils = { path = "../cairo-lang-utils", version = "1.1.0" } +cairo-lang-debug = { path = "../cairo-lang-debug", version = "2.0.0-rc0" } +cairo-lang-defs = { path = "../cairo-lang-defs", version = "2.0.0-rc0" } +cairo-lang-diagnostics = { path = "../cairo-lang-diagnostics", version = "2.0.0-rc0" } +cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "2.0.0-rc0" } +cairo-lang-parser = { path = "../cairo-lang-parser", version = "2.0.0-rc0" } +cairo-lang-proc-macros = { path = "../cairo-lang-proc-macros", version = "2.0.0-rc0" } +cairo-lang-semantic = { path = "../cairo-lang-semantic", version = "2.0.0-rc0" } +cairo-lang-syntax = { path = "../cairo-lang-syntax", version = "2.0.0-rc0" } +cairo-lang-utils = { path = "../cairo-lang-utils", version = "2.0.0-rc0" } id-arena.workspace = true indexmap.workspace = true itertools.workspace = true @@ -26,9 +26,9 @@ salsa.workspace = true smol_str.workspace = true [dev-dependencies] -cairo-lang-plugins = { path = "../cairo-lang-plugins", version = "1.1.0" } +cairo-lang-plugins = { path = "../cairo-lang-plugins", version = "2.0.0-rc0" } cairo-lang-semantic = { path = "../cairo-lang-semantic", features = ["testing"] } -cairo-lang-test-utils = { path = "../cairo-lang-test-utils", version = "1.1.0" } +cairo-lang-test-utils = { path = "../cairo-lang-test-utils", version = "2.0.0-rc0" } env_logger.workspace = true indoc.workspace = true pretty_assertions.workspace = true diff --git a/crates/cairo-lang-parser/Cargo.toml b/crates/cairo-lang-parser/Cargo.toml index ede773dd0f3..6dae66de9b0 100644 --- a/crates/cairo-lang-parser/Cargo.toml +++ b/crates/cairo-lang-parser/Cargo.toml @@ -10,11 +10,11 @@ description = "Cairo parser." fix_parser_tests = ["cairo-lang-utils/testing"] [dependencies] -cairo-lang-diagnostics = { path = "../cairo-lang-diagnostics", version = "1.1.0" } -cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "1.1.0" } -cairo-lang-syntax = { path = "../cairo-lang-syntax", version = "1.1.0" } -cairo-lang-syntax-codegen = { path = "../cairo-lang-syntax-codegen", version = "1.1.0" } -cairo-lang-utils = { path = "../cairo-lang-utils", version = "1.1.0" } +cairo-lang-diagnostics = { path = "../cairo-lang-diagnostics", version = "2.0.0-rc0" } +cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "2.0.0-rc0" } +cairo-lang-syntax = { path = "../cairo-lang-syntax", version = "2.0.0-rc0" } +cairo-lang-syntax-codegen = { path = "../cairo-lang-syntax-codegen", version = "2.0.0-rc0" } +cairo-lang-utils = { path = "../cairo-lang-utils", version = "2.0.0-rc0" } colored.workspace = true itertools.workspace = true log.workspace = true @@ -25,7 +25,7 @@ smol_str.workspace = true unescaper.workspace = true [dev-dependencies] -cairo-lang-test-utils = { path = "../cairo-lang-test-utils", version = "1.1.0" } +cairo-lang-test-utils = { path = "../cairo-lang-test-utils", version = "2.0.0-rc0" } env_logger.workspace = true pretty_assertions.workspace = true test-case.workspace = true diff --git a/crates/cairo-lang-plugins/Cargo.toml b/crates/cairo-lang-plugins/Cargo.toml index 82956124f6e..3561265781d 100644 --- a/crates/cairo-lang-plugins/Cargo.toml +++ b/crates/cairo-lang-plugins/Cargo.toml @@ -7,22 +7,22 @@ license-file.workspace = true description = "Cairo core plugin implementations." [dependencies] -cairo-lang-defs = { path = "../cairo-lang-defs", version = "1.1.0" } -cairo-lang-diagnostics = { path = "../cairo-lang-diagnostics", version = "1.1.0" } -cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "1.1.0" } -cairo-lang-parser = { path = "../cairo-lang-parser", version = "1.1.0" } -cairo-lang-semantic = { path = "../cairo-lang-semantic", version = "1.1.0" } -cairo-lang-syntax = { path = "../cairo-lang-syntax", version = "1.1.0" } -cairo-lang-utils = { path = "../cairo-lang-utils", version = "1.1.0" } +cairo-lang-defs = { path = "../cairo-lang-defs", version = "2.0.0-rc0" } +cairo-lang-diagnostics = { path = "../cairo-lang-diagnostics", version = "2.0.0-rc0" } +cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "2.0.0-rc0" } +cairo-lang-parser = { path = "../cairo-lang-parser", version = "2.0.0-rc0" } +cairo-lang-semantic = { path = "../cairo-lang-semantic", version = "2.0.0-rc0" } +cairo-lang-syntax = { path = "../cairo-lang-syntax", version = "2.0.0-rc0" } +cairo-lang-utils = { path = "../cairo-lang-utils", version = "2.0.0-rc0" } indoc.workspace = true itertools.workspace = true salsa.workspace = true smol_str.workspace = true [dev-dependencies] -cairo-lang-debug = { path = "../cairo-lang-debug", version = "1.1.0" } -cairo-lang-parser = { path = "../cairo-lang-parser", version = "1.1.0" } -cairo-lang-test-utils = { path = "../cairo-lang-test-utils", version = "1.1.0" } +cairo-lang-debug = { path = "../cairo-lang-debug", version = "2.0.0-rc0" } +cairo-lang-parser = { path = "../cairo-lang-parser", version = "2.0.0-rc0" } +cairo-lang-test-utils = { path = "../cairo-lang-test-utils", version = "2.0.0-rc0" } env_logger.workspace = true indoc.workspace = true serde_json.workspace = true diff --git a/crates/cairo-lang-proc-macros/Cargo.toml b/crates/cairo-lang-proc-macros/Cargo.toml index 226cbefb33f..d882b5b2512 100644 --- a/crates/cairo-lang-proc-macros/Cargo.toml +++ b/crates/cairo-lang-proc-macros/Cargo.toml @@ -14,6 +14,6 @@ normal = ["cairo-lang-debug"] [dependencies] # This is used only for docs. -cairo-lang-debug = { path = "../cairo-lang-debug", version = "1.1.0" } +cairo-lang-debug = { path = "../cairo-lang-debug", version = "2.0.0-rc0" } quote.workspace = true syn.workspace = true diff --git a/crates/cairo-lang-project/Cargo.toml b/crates/cairo-lang-project/Cargo.toml index 48710499424..8c213ceb5f3 100644 --- a/crates/cairo-lang-project/Cargo.toml +++ b/crates/cairo-lang-project/Cargo.toml @@ -7,8 +7,8 @@ license-file.workspace = true description = "Cairo project specification. For example, crates and flags used for compilation." [dependencies] -cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "1.1.0" } -cairo-lang-utils = { path = "../cairo-lang-utils", version = "1.1.0" } +cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "2.0.0-rc0" } +cairo-lang-utils = { path = "../cairo-lang-utils", version = "2.0.0-rc0" } serde.workspace = true smol_str.workspace = true thiserror.workspace = true diff --git a/crates/cairo-lang-runner/Cargo.toml b/crates/cairo-lang-runner/Cargo.toml index c9231c88274..8ad9e556b12 100644 --- a/crates/cairo-lang-runner/Cargo.toml +++ b/crates/cairo-lang-runner/Cargo.toml @@ -13,20 +13,20 @@ ark-secp256k1.workspace = true ark-secp256r1.workspace = true ark-std.workspace = true cairo-felt.workspace = true -cairo-lang-casm = { path = "../cairo-lang-casm", version = "1.1.0" } -cairo-lang-compiler = { path = "../cairo-lang-compiler", version = "1.1.0" } -cairo-lang-defs = { path = "../cairo-lang-defs", version = "1.1.0" } -cairo-lang-diagnostics = { path = "../cairo-lang-diagnostics", version = "1.1.0" } -cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "1.1.0" } -cairo-lang-lowering = { path = "../cairo-lang-lowering", version = "1.1.0" } -cairo-lang-semantic = { path = "../cairo-lang-semantic", version = "1.1.0" } -cairo-lang-sierra = { path = "../cairo-lang-sierra", version = "1.1.0" } -cairo-lang-sierra-ap-change = { path = "../cairo-lang-sierra-ap-change", version = "1.1.0" } -cairo-lang-sierra-gas = { path = "../cairo-lang-sierra-gas", version = "1.1.0" } -cairo-lang-sierra-generator = { path = "../cairo-lang-sierra-generator", version = "1.1.0" } -cairo-lang-sierra-to-casm = { path = "../cairo-lang-sierra-to-casm", version = "1.1.0" } -cairo-lang-starknet = { path = "../cairo-lang-starknet", version = "1.1.0" } -cairo-lang-utils = { path = "../cairo-lang-utils", version = "1.1.0" } +cairo-lang-casm = { path = "../cairo-lang-casm", version = "2.0.0-rc0" } +cairo-lang-compiler = { path = "../cairo-lang-compiler", version = "2.0.0-rc0" } +cairo-lang-defs = { path = "../cairo-lang-defs", version = "2.0.0-rc0" } +cairo-lang-diagnostics = { path = "../cairo-lang-diagnostics", version = "2.0.0-rc0" } +cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "2.0.0-rc0" } +cairo-lang-lowering = { path = "../cairo-lang-lowering", version = "2.0.0-rc0" } +cairo-lang-semantic = { path = "../cairo-lang-semantic", version = "2.0.0-rc0" } +cairo-lang-sierra = { path = "../cairo-lang-sierra", version = "2.0.0-rc0" } +cairo-lang-sierra-ap-change = { path = "../cairo-lang-sierra-ap-change", version = "2.0.0-rc0" } +cairo-lang-sierra-gas = { path = "../cairo-lang-sierra-gas", version = "2.0.0-rc0" } +cairo-lang-sierra-generator = { path = "../cairo-lang-sierra-generator", version = "2.0.0-rc0" } +cairo-lang-sierra-to-casm = { path = "../cairo-lang-sierra-to-casm", version = "2.0.0-rc0" } +cairo-lang-starknet = { path = "../cairo-lang-starknet", version = "2.0.0-rc0" } +cairo-lang-utils = { path = "../cairo-lang-utils", version = "2.0.0-rc0" } cairo-vm.workspace = true itertools.workspace = true keccak.workspace = true diff --git a/crates/cairo-lang-semantic/Cargo.toml b/crates/cairo-lang-semantic/Cargo.toml index cebaa3d520b..1d04d0fa6e1 100644 --- a/crates/cairo-lang-semantic/Cargo.toml +++ b/crates/cairo-lang-semantic/Cargo.toml @@ -10,14 +10,14 @@ description = "Cairo semantic model." testing = [] [dependencies] -cairo-lang-debug = { path = "../cairo-lang-debug", version = "1.1.0" } -cairo-lang-defs = { path = "../cairo-lang-defs", version = "1.1.0" } -cairo-lang-diagnostics = { path = "../cairo-lang-diagnostics", version = "1.1.0" } -cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "1.1.0" } -cairo-lang-parser = { path = "../cairo-lang-parser", version = "1.1.0" } -cairo-lang-proc-macros = { path = "../cairo-lang-proc-macros", version = "1.1.0" } -cairo-lang-syntax = { path = "../cairo-lang-syntax", version = "1.1.0" } -cairo-lang-utils = { path = "../cairo-lang-utils", version = "1.1.0" } +cairo-lang-debug = { path = "../cairo-lang-debug", version = "2.0.0-rc0" } +cairo-lang-defs = { path = "../cairo-lang-defs", version = "2.0.0-rc0" } +cairo-lang-diagnostics = { path = "../cairo-lang-diagnostics", version = "2.0.0-rc0" } +cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "2.0.0-rc0" } +cairo-lang-parser = { path = "../cairo-lang-parser", version = "2.0.0-rc0" } +cairo-lang-proc-macros = { path = "../cairo-lang-proc-macros", version = "2.0.0-rc0" } +cairo-lang-syntax = { path = "../cairo-lang-syntax", version = "2.0.0-rc0" } +cairo-lang-utils = { path = "../cairo-lang-utils", version = "2.0.0-rc0" } id-arena.workspace = true itertools.workspace = true log.workspace = true diff --git a/crates/cairo-lang-sierra-ap-change/Cargo.toml b/crates/cairo-lang-sierra-ap-change/Cargo.toml index a23e1944bd5..b54240fa3f8 100644 --- a/crates/cairo-lang-sierra-ap-change/Cargo.toml +++ b/crates/cairo-lang-sierra-ap-change/Cargo.toml @@ -7,9 +7,9 @@ license-file.workspace = true description = "Sierra AP change computation." [dependencies] -cairo-lang-eq-solver = { path = "../cairo-lang-eq-solver", version = "1.1.0" } -cairo-lang-sierra = { path = "../cairo-lang-sierra", version = "1.1.0" } -cairo-lang-utils = { path = "../cairo-lang-utils", version = "1.1.0" } +cairo-lang-eq-solver = { path = "../cairo-lang-eq-solver", version = "2.0.0-rc0" } +cairo-lang-sierra = { path = "../cairo-lang-sierra", version = "2.0.0-rc0" } +cairo-lang-utils = { path = "../cairo-lang-utils", version = "2.0.0-rc0" } itertools.workspace = true thiserror.workspace = true diff --git a/crates/cairo-lang-sierra-gas/Cargo.toml b/crates/cairo-lang-sierra-gas/Cargo.toml index cae2a710bc2..bbdf36491f5 100644 --- a/crates/cairo-lang-sierra-gas/Cargo.toml +++ b/crates/cairo-lang-sierra-gas/Cargo.toml @@ -7,14 +7,14 @@ license-file.workspace = true description = "Sierra gas computation." [dependencies] -cairo-lang-eq-solver = { path = "../cairo-lang-eq-solver", version = "1.1.0" } -cairo-lang-sierra = { path = "../cairo-lang-sierra", version = "1.1.0" } -cairo-lang-utils = { path = "../cairo-lang-utils", version = "1.1.0" } +cairo-lang-eq-solver = { path = "../cairo-lang-eq-solver", version = "2.0.0-rc0" } +cairo-lang-sierra = { path = "../cairo-lang-sierra", version = "2.0.0-rc0" } +cairo-lang-utils = { path = "../cairo-lang-utils", version = "2.0.0-rc0" } itertools.workspace = true thiserror.workspace = true [dev-dependencies] -cairo-lang-test-utils = { path = "../cairo-lang-test-utils", version = "1.1.0" } +cairo-lang-test-utils = { path = "../cairo-lang-test-utils", version = "2.0.0-rc0" } env_logger.workspace = true indoc.workspace = true pretty_assertions.workspace = true diff --git a/crates/cairo-lang-sierra-generator/Cargo.toml b/crates/cairo-lang-sierra-generator/Cargo.toml index 1b3e9ab8e36..4361bc4bd9d 100644 --- a/crates/cairo-lang-sierra-generator/Cargo.toml +++ b/crates/cairo-lang-sierra-generator/Cargo.toml @@ -10,18 +10,18 @@ description = "Sierra code generation from lowered Cairo representation." testing = [] [dependencies] -cairo-lang-debug = { path = "../cairo-lang-debug", version = "1.1.0" } -cairo-lang-defs = { path = "../cairo-lang-defs", version = "1.1.0" } -cairo-lang-diagnostics = { path = "../cairo-lang-diagnostics", version = "1.1.0" } -cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "1.1.0" } -cairo-lang-lowering = { path = "../cairo-lang-lowering", version = "1.1.0" } -cairo-lang-parser = { path = "../cairo-lang-parser", version = "1.1.0" } -cairo-lang-plugins = { path = "../cairo-lang-plugins", version = "1.1.0" } -cairo-lang-proc-macros = { path = "../cairo-lang-proc-macros", version = "1.1.0" } -cairo-lang-semantic = { path = "../cairo-lang-semantic", version = "1.1.0" } -cairo-lang-sierra = { path = "../cairo-lang-sierra", version = "1.1.0" } -cairo-lang-syntax = { path = "../cairo-lang-syntax", version = "1.1.0" } -cairo-lang-utils = { path = "../cairo-lang-utils", version = "1.1.0" } +cairo-lang-debug = { path = "../cairo-lang-debug", version = "2.0.0-rc0" } +cairo-lang-defs = { path = "../cairo-lang-defs", version = "2.0.0-rc0" } +cairo-lang-diagnostics = { path = "../cairo-lang-diagnostics", version = "2.0.0-rc0" } +cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "2.0.0-rc0" } +cairo-lang-lowering = { path = "../cairo-lang-lowering", version = "2.0.0-rc0" } +cairo-lang-parser = { path = "../cairo-lang-parser", version = "2.0.0-rc0" } +cairo-lang-plugins = { path = "../cairo-lang-plugins", version = "2.0.0-rc0" } +cairo-lang-proc-macros = { path = "../cairo-lang-proc-macros", version = "2.0.0-rc0" } +cairo-lang-semantic = { path = "../cairo-lang-semantic", version = "2.0.0-rc0" } +cairo-lang-sierra = { path = "../cairo-lang-sierra", version = "2.0.0-rc0" } +cairo-lang-syntax = { path = "../cairo-lang-syntax", version = "2.0.0-rc0" } +cairo-lang-utils = { path = "../cairo-lang-utils", version = "2.0.0-rc0" } id-arena.workspace = true indexmap.workspace = true itertools.workspace = true @@ -31,7 +31,7 @@ smol_str.workspace = true [dev-dependencies] cairo-lang-semantic = { path = "../cairo-lang-semantic", features = ["testing"] } -cairo-lang-test-utils = { path = "../cairo-lang-test-utils", version = "1.1.0" } +cairo-lang-test-utils = { path = "../cairo-lang-test-utils", version = "2.0.0-rc0" } env_logger.workspace = true indoc.workspace = true log.workspace = true diff --git a/crates/cairo-lang-sierra-to-casm/Cargo.toml b/crates/cairo-lang-sierra-to-casm/Cargo.toml index e92f651b100..e29cc3516b6 100644 --- a/crates/cairo-lang-sierra-to-casm/Cargo.toml +++ b/crates/cairo-lang-sierra-to-casm/Cargo.toml @@ -9,11 +9,11 @@ description = "Emitting of CASM instructions from Sierra code." [dependencies] assert_matches.workspace = true cairo-felt.workspace = true -cairo-lang-casm = { path = "../cairo-lang-casm", version = "1.1.0" } -cairo-lang-sierra = { path = "../cairo-lang-sierra", version = "1.1.0" } -cairo-lang-sierra-ap-change = { path = "../cairo-lang-sierra-ap-change", version = "1.1.0" } -cairo-lang-sierra-gas = { path = "../cairo-lang-sierra-gas", version = "1.1.0" } -cairo-lang-utils = { path = "../cairo-lang-utils", version = "1.1.0" } +cairo-lang-casm = { path = "../cairo-lang-casm", version = "2.0.0-rc0" } +cairo-lang-sierra = { path = "../cairo-lang-sierra", version = "2.0.0-rc0" } +cairo-lang-sierra-ap-change = { path = "../cairo-lang-sierra-ap-change", version = "2.0.0-rc0" } +cairo-lang-sierra-gas = { path = "../cairo-lang-sierra-gas", version = "2.0.0-rc0" } +cairo-lang-utils = { path = "../cairo-lang-utils", version = "2.0.0-rc0" } indoc.workspace = true itertools.workspace = true log.workspace = true diff --git a/crates/cairo-lang-sierra/Cargo.toml b/crates/cairo-lang-sierra/Cargo.toml index 72e87ca9f33..d50e8ec0018 100644 --- a/crates/cairo-lang-sierra/Cargo.toml +++ b/crates/cairo-lang-sierra/Cargo.toml @@ -12,7 +12,7 @@ lalrpop = "0.19.9" regex = "1" [dependencies] -cairo-lang-utils = { path = "../cairo-lang-utils", version = "1.1.0" } +cairo-lang-utils = { path = "../cairo-lang-utils", version = "2.0.0-rc0" } const-fnv1a-hash.workspace = true convert_case.workspace = true derivative.workspace = true diff --git a/crates/cairo-lang-starknet/Cargo.toml b/crates/cairo-lang-starknet/Cargo.toml index b6f0e658e86..05d1ea5c985 100644 --- a/crates/cairo-lang-starknet/Cargo.toml +++ b/crates/cairo-lang-starknet/Cargo.toml @@ -9,22 +9,22 @@ description = "Starknet capabilities and utilities on top of Cairo." [dependencies] anyhow.workspace = true cairo-felt.workspace = true -cairo-lang-casm = { path = "../cairo-lang-casm", version = "1.1.0" } -cairo-lang-compiler = { path = "../cairo-lang-compiler", version = "1.1.0" } -cairo-lang-defs = { path = "../cairo-lang-defs", version = "1.1.0" } -cairo-lang-diagnostics = { path = "../cairo-lang-diagnostics", version = "1.1.0" } -cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "1.1.0" } -cairo-lang-lowering = { path = "../cairo-lang-lowering", version = "1.1.0" } -cairo-lang-parser = { path = "../cairo-lang-parser", version = "1.1.0" } -cairo-lang-plugins = { path = "../cairo-lang-plugins", version = "1.1.0" } -cairo-lang-semantic = { path = "../cairo-lang-semantic", version = "1.1.0" } -cairo-lang-sierra = { path = "../cairo-lang-sierra", version = "1.1.0" } -cairo-lang-sierra-ap-change = { path = "../cairo-lang-sierra-ap-change", version = "1.1.0" } -cairo-lang-sierra-gas = { path = "../cairo-lang-sierra-gas", version = "1.1.0" } -cairo-lang-sierra-generator = { path = "../cairo-lang-sierra-generator", version = "1.1.0" } -cairo-lang-sierra-to-casm = { path = "../cairo-lang-sierra-to-casm", version = "1.1.0" } -cairo-lang-syntax = { path = "../cairo-lang-syntax", version = "1.1.0" } -cairo-lang-utils = { path = "../cairo-lang-utils", version = "1.1.0" } +cairo-lang-casm = { path = "../cairo-lang-casm", version = "2.0.0-rc0" } +cairo-lang-compiler = { path = "../cairo-lang-compiler", version = "2.0.0-rc0" } +cairo-lang-defs = { path = "../cairo-lang-defs", version = "2.0.0-rc0" } +cairo-lang-diagnostics = { path = "../cairo-lang-diagnostics", version = "2.0.0-rc0" } +cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "2.0.0-rc0" } +cairo-lang-lowering = { path = "../cairo-lang-lowering", version = "2.0.0-rc0" } +cairo-lang-parser = { path = "../cairo-lang-parser", version = "2.0.0-rc0" } +cairo-lang-plugins = { path = "../cairo-lang-plugins", version = "2.0.0-rc0" } +cairo-lang-semantic = { path = "../cairo-lang-semantic", version = "2.0.0-rc0" } +cairo-lang-sierra = { path = "../cairo-lang-sierra", version = "2.0.0-rc0" } +cairo-lang-sierra-ap-change = { path = "../cairo-lang-sierra-ap-change", version = "2.0.0-rc0" } +cairo-lang-sierra-gas = { path = "../cairo-lang-sierra-gas", version = "2.0.0-rc0" } +cairo-lang-sierra-generator = { path = "../cairo-lang-sierra-generator", version = "2.0.0-rc0" } +cairo-lang-sierra-to-casm = { path = "../cairo-lang-sierra-to-casm", version = "2.0.0-rc0" } +cairo-lang-syntax = { path = "../cairo-lang-syntax", version = "2.0.0-rc0" } +cairo-lang-utils = { path = "../cairo-lang-utils", version = "2.0.0-rc0" } convert_case.workspace = true genco.workspace = true indoc.workspace = true @@ -41,11 +41,11 @@ smol_str.workspace = true thiserror.workspace = true [dev-dependencies] -cairo-lang-diagnostics = { path = "../cairo-lang-diagnostics", version = "1.1.0" } +cairo-lang-diagnostics = { path = "../cairo-lang-diagnostics", version = "2.0.0-rc0" } cairo-lang-semantic = { path = "../cairo-lang-semantic", features = [ "testing", ] } -cairo-lang-test-utils = { path = "../cairo-lang-test-utils", version = "1.1.0" } +cairo-lang-test-utils = { path = "../cairo-lang-test-utils", version = "2.0.0-rc0" } env_logger.workspace = true pretty_assertions.workspace = true test-case.workspace = true diff --git a/crates/cairo-lang-starknet/src/compiler_version.rs b/crates/cairo-lang-starknet/src/compiler_version.rs index 1d314b5087c..49e47a3c70d 100644 --- a/crates/cairo-lang-starknet/src/compiler_version.rs +++ b/crates/cairo-lang-starknet/src/compiler_version.rs @@ -14,7 +14,7 @@ impl std::fmt::Display for VersionId { /// The version of the high level compiler that compiled the contract. Should be the same as the /// rust workspace version. pub fn current_compiler_version_id() -> VersionId { - VersionId { major: 1, minor: 1, patch: 0 } + VersionId { major: 2, minor: 0, patch: 0 } } /// The version of the Sierra compiler that compiled the contract. @@ -23,5 +23,5 @@ pub fn current_compiler_version_id() -> VersionId { /// However, if the only changes in a version are in the high-level compiler, then the Sierra /// version should not change. pub fn current_sierra_version_id() -> VersionId { - VersionId { major: 1, minor: 1, patch: 0 } + VersionId { major: 1, minor: 2, patch: 0 } } diff --git a/crates/cairo-lang-starknet/test_data/account.casm.json b/crates/cairo-lang-starknet/test_data/account.casm.json index e4b11dff904..c58bae89f29 100644 --- a/crates/cairo-lang-starknet/test_data/account.casm.json +++ b/crates/cairo-lang-starknet/test_data/account.casm.json @@ -1,6 +1,6 @@ { "prime": "0x800000000000011000000000000000000000000000000000000000000000001", - "compiler_version": "1.1.0", + "compiler_version": "2.0.0", "bytecode": [ "0xa0680017fff8000", "0x7", diff --git a/crates/cairo-lang-starknet/test_data/account.sierra.json b/crates/cairo-lang-starknet/test_data/account.sierra.json index 96c5ff6696a..c79a2f8fd78 100644 --- a/crates/cairo-lang-starknet/test_data/account.sierra.json +++ b/crates/cairo-lang-starknet/test_data/account.sierra.json @@ -1,10 +1,10 @@ { "sierra_program": [ "0x1", - "0x1", + "0x2", + "0x0", + "0x2", "0x0", - "0x1", - "0x1", "0x0", "0x22f", "0x1d1", diff --git a/crates/cairo-lang-starknet/test_data/erc20.casm.json b/crates/cairo-lang-starknet/test_data/erc20.casm.json index 3621d98106a..87e596589e8 100644 --- a/crates/cairo-lang-starknet/test_data/erc20.casm.json +++ b/crates/cairo-lang-starknet/test_data/erc20.casm.json @@ -1,6 +1,6 @@ { "prime": "0x800000000000011000000000000000000000000000000000000000000000001", - "compiler_version": "1.1.0", + "compiler_version": "2.0.0", "bytecode": [ "0xa0680017fff8000", "0x7", diff --git a/crates/cairo-lang-starknet/test_data/erc20.sierra.json b/crates/cairo-lang-starknet/test_data/erc20.sierra.json index d4040bbc4d5..9489e60fc5d 100644 --- a/crates/cairo-lang-starknet/test_data/erc20.sierra.json +++ b/crates/cairo-lang-starknet/test_data/erc20.sierra.json @@ -1,10 +1,10 @@ { "sierra_program": [ "0x1", - "0x1", + "0x2", + "0x0", + "0x2", "0x0", - "0x1", - "0x1", "0x0", "0x33f", "0xc1", diff --git a/crates/cairo-lang-starknet/test_data/hello_starknet.casm.json b/crates/cairo-lang-starknet/test_data/hello_starknet.casm.json index 9946e5c56a9..99e23085e4a 100644 --- a/crates/cairo-lang-starknet/test_data/hello_starknet.casm.json +++ b/crates/cairo-lang-starknet/test_data/hello_starknet.casm.json @@ -1,6 +1,6 @@ { "prime": "0x800000000000011000000000000000000000000000000000000000000000001", - "compiler_version": "1.1.0", + "compiler_version": "2.0.0", "bytecode": [ "0xa0680017fff8000", "0x7", diff --git a/crates/cairo-lang-starknet/test_data/hello_starknet.sierra.json b/crates/cairo-lang-starknet/test_data/hello_starknet.sierra.json index 69b29fca9d6..a9f2a7ee6aa 100644 --- a/crates/cairo-lang-starknet/test_data/hello_starknet.sierra.json +++ b/crates/cairo-lang-starknet/test_data/hello_starknet.sierra.json @@ -1,10 +1,10 @@ { "sierra_program": [ "0x1", - "0x1", + "0x2", + "0x0", + "0x2", "0x0", - "0x1", - "0x1", "0x0", "0xd6", "0x2a", diff --git a/crates/cairo-lang-starknet/test_data/minimal_contract.casm.json b/crates/cairo-lang-starknet/test_data/minimal_contract.casm.json index cbed1197eca..935e8c72396 100644 --- a/crates/cairo-lang-starknet/test_data/minimal_contract.casm.json +++ b/crates/cairo-lang-starknet/test_data/minimal_contract.casm.json @@ -1,6 +1,6 @@ { "prime": "0x800000000000011000000000000000000000000000000000000000000000001", - "compiler_version": "1.1.0", + "compiler_version": "2.0.0", "bytecode": [ "0xa0680017fff8000", "0x7", diff --git a/crates/cairo-lang-starknet/test_data/minimal_contract.sierra.json b/crates/cairo-lang-starknet/test_data/minimal_contract.sierra.json index 6c2acc640c4..43e3824eb84 100644 --- a/crates/cairo-lang-starknet/test_data/minimal_contract.sierra.json +++ b/crates/cairo-lang-starknet/test_data/minimal_contract.sierra.json @@ -1,10 +1,10 @@ { "sierra_program": [ "0x1", - "0x1", + "0x2", + "0x0", + "0x2", "0x0", - "0x1", - "0x1", "0x0", "0x7c", "0x84", diff --git a/crates/cairo-lang-starknet/test_data/new_syntax_test_contract.casm.json b/crates/cairo-lang-starknet/test_data/new_syntax_test_contract.casm.json index 5af5c7a8fd8..321de7d9b98 100644 --- a/crates/cairo-lang-starknet/test_data/new_syntax_test_contract.casm.json +++ b/crates/cairo-lang-starknet/test_data/new_syntax_test_contract.casm.json @@ -1,6 +1,6 @@ { "prime": "0x800000000000011000000000000000000000000000000000000000000000001", - "compiler_version": "1.1.0", + "compiler_version": "2.0.0", "bytecode": [ "0xa0680017fff8000", "0x7", diff --git a/crates/cairo-lang-starknet/test_data/new_syntax_test_contract.sierra.json b/crates/cairo-lang-starknet/test_data/new_syntax_test_contract.sierra.json index 68a3dbb5af4..0a443f72c43 100644 --- a/crates/cairo-lang-starknet/test_data/new_syntax_test_contract.sierra.json +++ b/crates/cairo-lang-starknet/test_data/new_syntax_test_contract.sierra.json @@ -1,10 +1,10 @@ { "sierra_program": [ "0x1", - "0x1", + "0x2", + "0x0", + "0x2", "0x0", - "0x1", - "0x1", "0x0", "0x1e7", "0x19", diff --git a/crates/cairo-lang-starknet/test_data/test_contract.casm.json b/crates/cairo-lang-starknet/test_data/test_contract.casm.json index 58a0a2b17be..675d19f4ced 100644 --- a/crates/cairo-lang-starknet/test_data/test_contract.casm.json +++ b/crates/cairo-lang-starknet/test_data/test_contract.casm.json @@ -1,6 +1,6 @@ { "prime": "0x800000000000011000000000000000000000000000000000000000000000001", - "compiler_version": "1.1.0", + "compiler_version": "2.0.0", "bytecode": [ "0xa0680017fff8000", "0x7", diff --git a/crates/cairo-lang-starknet/test_data/test_contract.sierra.json b/crates/cairo-lang-starknet/test_data/test_contract.sierra.json index fed35ea7368..38f58441282 100644 --- a/crates/cairo-lang-starknet/test_data/test_contract.sierra.json +++ b/crates/cairo-lang-starknet/test_data/test_contract.sierra.json @@ -1,10 +1,10 @@ { "sierra_program": [ "0x1", - "0x1", + "0x2", + "0x0", + "0x2", "0x0", - "0x1", - "0x1", "0x0", "0x190", "0x70", diff --git a/crates/cairo-lang-starknet/test_data/token_bridge.casm.json b/crates/cairo-lang-starknet/test_data/token_bridge.casm.json index 9fe52510a1c..7a0a42b4b63 100644 --- a/crates/cairo-lang-starknet/test_data/token_bridge.casm.json +++ b/crates/cairo-lang-starknet/test_data/token_bridge.casm.json @@ -1,6 +1,6 @@ { "prime": "0x800000000000011000000000000000000000000000000000000000000000001", - "compiler_version": "1.1.0", + "compiler_version": "2.0.0", "bytecode": [ "0xa0680017fff8000", "0x7", diff --git a/crates/cairo-lang-starknet/test_data/token_bridge.sierra.json b/crates/cairo-lang-starknet/test_data/token_bridge.sierra.json index 7949b1ef466..319bdc9b683 100644 --- a/crates/cairo-lang-starknet/test_data/token_bridge.sierra.json +++ b/crates/cairo-lang-starknet/test_data/token_bridge.sierra.json @@ -1,10 +1,10 @@ { "sierra_program": [ "0x1", - "0x1", + "0x2", + "0x0", + "0x2", "0x0", - "0x1", - "0x1", "0x0", "0x292", "0x16e", diff --git a/crates/cairo-lang-syntax/Cargo.toml b/crates/cairo-lang-syntax/Cargo.toml index a652b9a3121..2acbe766b3e 100644 --- a/crates/cairo-lang-syntax/Cargo.toml +++ b/crates/cairo-lang-syntax/Cargo.toml @@ -7,9 +7,9 @@ license-file.workspace = true description = "Cairo syntax representation." [dependencies] -cairo-lang-debug = { path = "../cairo-lang-debug", version = "1.1.0" } -cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "1.1.0" } -cairo-lang-utils = { path = "../cairo-lang-utils", version = "1.1.0" } +cairo-lang-debug = { path = "../cairo-lang-debug", version = "2.0.0-rc0" } +cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "2.0.0-rc0" } +cairo-lang-utils = { path = "../cairo-lang-utils", version = "2.0.0-rc0" } num-bigint.workspace = true num-traits.workspace = true salsa.workspace = true diff --git a/crates/cairo-lang-test-runner/Cargo.toml b/crates/cairo-lang-test-runner/Cargo.toml index 46e5958094c..e62ec059afe 100644 --- a/crates/cairo-lang-test-runner/Cargo.toml +++ b/crates/cairo-lang-test-runner/Cargo.toml @@ -9,23 +9,23 @@ description = "Cairo tests runner. Used to run tests written in Cairo." [dependencies] anyhow.workspace = true cairo-felt.workspace = true -cairo-lang-casm = { path = "../cairo-lang-casm", version = "1.1.0" } -cairo-lang-compiler = { path = "../cairo-lang-compiler", version = "1.1.0" } -cairo-lang-debug = { path = "../cairo-lang-debug", version = "1.1.0" } -cairo-lang-defs = { path = "../cairo-lang-defs", version = "1.1.0" } -cairo-lang-diagnostics = { path = "../cairo-lang-diagnostics", version = "1.1.0" } -cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "1.1.0" } -cairo-lang-lowering = { path = "../cairo-lang-lowering", version = "1.1.0" } -cairo-lang-plugins = { path = "../cairo-lang-plugins", version = "1.1.0" } -cairo-lang-project = { path = "../cairo-lang-project", version = "1.1.0" } -cairo-lang-runner = { path = "../cairo-lang-runner", version = "1.1.0" } -cairo-lang-semantic = { path = "../cairo-lang-semantic", version = "1.1.0" } -cairo-lang-sierra = { path = "../cairo-lang-sierra", version = "1.1.0" } -cairo-lang-sierra-generator = { path = "../cairo-lang-sierra-generator", version = "1.1.0" } -cairo-lang-sierra-to-casm = { path = "../cairo-lang-sierra-to-casm", version = "1.1.0" } -cairo-lang-starknet = { path = "../cairo-lang-starknet", version = "1.1.0" } -cairo-lang-syntax = { path = "../cairo-lang-syntax", version = "1.1.0" } -cairo-lang-utils = { path = "../cairo-lang-utils", version = "1.1.0" } +cairo-lang-casm = { path = "../cairo-lang-casm", version = "2.0.0-rc0" } +cairo-lang-compiler = { path = "../cairo-lang-compiler", version = "2.0.0-rc0" } +cairo-lang-debug = { path = "../cairo-lang-debug", version = "2.0.0-rc0" } +cairo-lang-defs = { path = "../cairo-lang-defs", version = "2.0.0-rc0" } +cairo-lang-diagnostics = { path = "../cairo-lang-diagnostics", version = "2.0.0-rc0" } +cairo-lang-filesystem = { path = "../cairo-lang-filesystem", version = "2.0.0-rc0" } +cairo-lang-lowering = { path = "../cairo-lang-lowering", version = "2.0.0-rc0" } +cairo-lang-plugins = { path = "../cairo-lang-plugins", version = "2.0.0-rc0" } +cairo-lang-project = { path = "../cairo-lang-project", version = "2.0.0-rc0" } +cairo-lang-runner = { path = "../cairo-lang-runner", version = "2.0.0-rc0" } +cairo-lang-semantic = { path = "../cairo-lang-semantic", version = "2.0.0-rc0" } +cairo-lang-sierra = { path = "../cairo-lang-sierra", version = "2.0.0-rc0" } +cairo-lang-sierra-generator = { path = "../cairo-lang-sierra-generator", version = "2.0.0-rc0" } +cairo-lang-sierra-to-casm = { path = "../cairo-lang-sierra-to-casm", version = "2.0.0-rc0" } +cairo-lang-starknet = { path = "../cairo-lang-starknet", version = "2.0.0-rc0" } +cairo-lang-syntax = { path = "../cairo-lang-syntax", version = "2.0.0-rc0" } +cairo-lang-utils = { path = "../cairo-lang-utils", version = "2.0.0-rc0" } cairo-vm.workspace = true colored.workspace = true itertools.workspace = true diff --git a/crates/cairo-lang-test-utils/Cargo.toml b/crates/cairo-lang-test-utils/Cargo.toml index ebfc0abc07c..3a544cebee2 100644 --- a/crates/cairo-lang-test-utils/Cargo.toml +++ b/crates/cairo-lang-test-utils/Cargo.toml @@ -7,7 +7,7 @@ license-file.workspace = true description = "Utilities for writing tests in the Cairo compiler project." [dependencies] -cairo-lang-utils = { path = "../cairo-lang-utils", version = "1.1.0" } +cairo-lang-utils = { path = "../cairo-lang-utils", version = "2.0.0-rc0" } log.workspace = true pretty_assertions.workspace = true diff --git a/scripts/bump_version.sh b/scripts/bump_version.sh index c2efd56d552..8a85dd7997f 100755 --- a/scripts/bump_version.sh +++ b/scripts/bump_version.sh @@ -1,5 +1,5 @@ #!/bin/bash -CURRENT_VERSION='1.1.0' +CURRENT_VERSION='2.0.0-rc0' NEW_VERSION="$@" sed -i "s/$CURRENT_VERSION/$NEW_VERSION/g" $(find . -type f -iname "*.toml") ./scripts/bump_version.sh diff --git a/tests/Cargo.toml b/tests/Cargo.toml index 247940593cc..fe50d2bace1 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -9,23 +9,23 @@ description = "" [dev-dependencies] assert_matches.workspace = true cairo-felt.workspace = true -cairo-lang-casm = { path = "../crates/cairo-lang-casm", version = "1.1.0" } -cairo-lang-compiler = { path = "../crates/cairo-lang-compiler", version = "1.1.0" } -cairo-lang-defs = { path = "../crates/cairo-lang-defs", version = "1.1.0" } -cairo-lang-diagnostics = { path = "../crates/cairo-lang-diagnostics", version = "1.1.0" } -cairo-lang-filesystem = { path = "../crates/cairo-lang-filesystem", version = "1.1.0" } -cairo-lang-lowering = { path = "../crates/cairo-lang-lowering", version = "1.1.0" } -cairo-lang-parser = { path = "../crates/cairo-lang-parser", version = "1.1.0" } -cairo-lang-plugins = { path = "../crates/cairo-lang-plugins", version = "1.1.0" } -cairo-lang-runner = { path = "../crates/cairo-lang-runner", version = "1.1.0" } +cairo-lang-casm = { path = "../crates/cairo-lang-casm", version = "2.0.0-rc0" } +cairo-lang-compiler = { path = "../crates/cairo-lang-compiler", version = "2.0.0-rc0" } +cairo-lang-defs = { path = "../crates/cairo-lang-defs", version = "2.0.0-rc0" } +cairo-lang-diagnostics = { path = "../crates/cairo-lang-diagnostics", version = "2.0.0-rc0" } +cairo-lang-filesystem = { path = "../crates/cairo-lang-filesystem", version = "2.0.0-rc0" } +cairo-lang-lowering = { path = "../crates/cairo-lang-lowering", version = "2.0.0-rc0" } +cairo-lang-parser = { path = "../crates/cairo-lang-parser", version = "2.0.0-rc0" } +cairo-lang-plugins = { path = "../crates/cairo-lang-plugins", version = "2.0.0-rc0" } +cairo-lang-runner = { path = "../crates/cairo-lang-runner", version = "2.0.0-rc0" } cairo-lang-semantic = { path = "../crates/cairo-lang-semantic", features = ["testing"] } -cairo-lang-sierra = { path = "../crates/cairo-lang-sierra", version = "1.1.0" } -cairo-lang-sierra-gas = { path = "../crates/cairo-lang-sierra-gas", version = "1.1.0" } +cairo-lang-sierra = { path = "../crates/cairo-lang-sierra", version = "2.0.0-rc0" } +cairo-lang-sierra-gas = { path = "../crates/cairo-lang-sierra-gas", version = "2.0.0-rc0" } cairo-lang-sierra-generator = { path = "../crates/cairo-lang-sierra-generator", features = ["testing"] } cairo-lang-sierra-to-casm = { path = "../crates/cairo-lang-sierra-to-casm", features = ["testing"] } -cairo-lang-syntax = { path = "../crates/cairo-lang-syntax", version = "1.1.0" } -cairo-lang-test-utils = { path = "../crates/cairo-lang-test-utils", version = "1.1.0" } -cairo-lang-utils = { path = "../crates/cairo-lang-utils", version = "1.1.0" } +cairo-lang-syntax = { path = "../crates/cairo-lang-syntax", version = "2.0.0-rc0" } +cairo-lang-test-utils = { path = "../crates/cairo-lang-test-utils", version = "2.0.0-rc0" } +cairo-lang-utils = { path = "../crates/cairo-lang-utils", version = "2.0.0-rc0" } env_logger.workspace = true itertools.workspace = true log.workspace = true