diff --git a/Cargo.lock b/Cargo.lock index 468d3ed96..c1efd9b47 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -567,8 +567,9 @@ dependencies = [ [[package]] name = "cairo-lang-casm" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4425280959f189d8a5ebf1f5363c10663bc9f843a4819253e6be87d183b583e" dependencies = [ "cairo-lang-utils", "indoc", @@ -580,8 +581,9 @@ dependencies = [ [[package]] name = "cairo-lang-compiler" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2698e2ca73db964e6d496a648fcbb2ace5559941b5179ab3310c9a0b6872b348" dependencies = [ "anyhow", "cairo-lang-defs", @@ -596,24 +598,26 @@ dependencies = [ "cairo-lang-syntax", "cairo-lang-utils", "indoc", - "rayon", "salsa", + "semver", "smol_str", "thiserror", ] [[package]] name = "cairo-lang-debug" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ac7332f2b041ca28b24b0311a0b4a35f426bb52836a2d268a8374ea262e9e6b" dependencies = [ "cairo-lang-utils", ] [[package]] name = "cairo-lang-defs" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "079a34b560a82b463cd12ae62022d70981e8ab56b6505f9499348ebeaf460de8" dependencies = [ "cairo-lang-debug", "cairo-lang-diagnostics", @@ -628,8 +632,9 @@ dependencies = [ [[package]] name = "cairo-lang-diagnostics" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c29625349297ad791942377763f5b04c779ea694f436488dc6ad194720b89487" dependencies = [ "cairo-lang-debug", "cairo-lang-filesystem", @@ -639,8 +644,9 @@ dependencies = [ [[package]] name = "cairo-lang-doc" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfcb09eddd0ae04cfbdbf9ba85e208776c1e97c2005b7a10a4ff75030c6e88f6" dependencies = [ "cairo-lang-defs", "cairo-lang-formatter", @@ -653,8 +659,9 @@ dependencies = [ [[package]] name = "cairo-lang-eq-solver" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9cb26cd75126db6eaf94d5dffe0ce750d030ac879a88de5a621551969e9b59e3" dependencies = [ "cairo-lang-utils", "good_lp", @@ -662,21 +669,24 @@ dependencies = [ [[package]] name = "cairo-lang-filesystem" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "651012f2956bea884c7a3ab9df21dc76112d7edd3f403b37ca5be62fc3f41b09" dependencies = [ "cairo-lang-debug", "cairo-lang-utils", "path-clean", "salsa", + "semver", "serde", "smol_str", ] [[package]] name = "cairo-lang-formatter" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d09ffb9498368cf4e95d0b28662596331aef1677e4f759ab5e609d27dfcb587" dependencies = [ "anyhow", "cairo-lang-diagnostics", @@ -695,8 +705,9 @@ dependencies = [ [[package]] name = "cairo-lang-language-server" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c0d2e20885049ff55c20b481598cc4fc803fb90fffb7ecbba990de8e24c6644" dependencies = [ "anyhow", "cairo-lang-compiler", @@ -713,8 +724,6 @@ dependencies = [ "cairo-lang-syntax", "cairo-lang-test-plugin", "cairo-lang-utils", - "indent", - "indoc", "itertools 0.12.1", "salsa", "scarb-metadata 1.12.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -730,8 +739,9 @@ dependencies = [ [[package]] name = "cairo-lang-lowering" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da4ffe6c197c35dec665029fcf695422f02c55b5118b4da1142e182b9fe77f87" dependencies = [ "cairo-lang-debug", "cairo-lang-defs", @@ -747,6 +757,7 @@ dependencies = [ "log", "num-bigint", "num-traits 0.2.19", + "once_cell", "salsa", "smol_str", ] @@ -794,8 +805,9 @@ checksum = "c49906d6b1c215e5814be7c5c65ecf2328898b335bee8c2409ec07cfb5530daf" [[package]] name = "cairo-lang-parser" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f262ad5f1110ff70c93deb81cce024cf160f4a4518762e7deb2047fe73846789" dependencies = [ "cairo-lang-diagnostics", "cairo-lang-filesystem", @@ -813,8 +825,9 @@ dependencies = [ [[package]] name = "cairo-lang-plugins" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "18024b44b5edbc1f378ba85c1a4ff04e880ea465a33251053aec507f08250668" dependencies = [ "cairo-lang-defs", "cairo-lang-diagnostics", @@ -831,8 +844,9 @@ dependencies = [ [[package]] name = "cairo-lang-proc-macros" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "124402d8fad2a033bb36910dd7d0651f3100845c63dce679c58797a8cb0448c2" dependencies = [ "cairo-lang-debug", "quote", @@ -841,8 +855,9 @@ dependencies = [ [[package]] name = "cairo-lang-project" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f37dba9653eabf4dcb43a5e1436cd6bc093b5ad6f28ff42eaaef12549014213" dependencies = [ "cairo-lang-filesystem", "cairo-lang-utils", @@ -854,8 +869,9 @@ dependencies = [ [[package]] name = "cairo-lang-runner" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "18df87ee986ca0e02e2ea63483875b791602809873c908bbf7b3d592e3833a3a" dependencies = [ "ark-ff", "ark-secp256k1", @@ -884,8 +900,9 @@ dependencies = [ [[package]] name = "cairo-lang-semantic" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1612476b548e9ab8ae89ee38a73d9875339f62f2f59d9ce8a719bc1761c54c3" dependencies = [ "cairo-lang-debug", "cairo-lang-defs", @@ -902,6 +919,7 @@ dependencies = [ "itertools 0.12.1", "num-bigint", "num-traits 0.2.19", + "once_cell", "salsa", "smol_str", "toml", @@ -909,8 +927,9 @@ dependencies = [ [[package]] name = "cairo-lang-sierra" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8209be8cf22263bf8a55df334a642b74fe563beecbbbefa55cda39fa4b131a61" dependencies = [ "anyhow", "cairo-lang-utils", @@ -923,6 +942,7 @@ dependencies = [ "num-bigint", "num-integer", "num-traits 0.2.19", + "once_cell", "regex", "salsa", "serde", @@ -935,8 +955,9 @@ dependencies = [ [[package]] name = "cairo-lang-sierra-ap-change" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c9d1350366c23e4a9f6e18ea95939f18df52df455f06c0e3d7889f80ce18a94" dependencies = [ "cairo-lang-eq-solver", "cairo-lang-sierra", @@ -950,8 +971,9 @@ dependencies = [ [[package]] name = "cairo-lang-sierra-gas" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fe1ff15052b173537360b7dca5f9b2ccb10392b2a1c11af99add35d42632115" dependencies = [ "cairo-lang-eq-solver", "cairo-lang-sierra", @@ -965,8 +987,9 @@ dependencies = [ [[package]] name = "cairo-lang-sierra-generator" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d3802e7b6722fabc9cc0a61c86e7ad53138f6f41880aca80a60f889739fbf55" dependencies = [ "cairo-lang-debug", "cairo-lang-defs", @@ -980,6 +1003,7 @@ dependencies = [ "cairo-lang-utils", "itertools 0.12.1", "num-traits 0.2.19", + "once_cell", "salsa", "serde", "serde_json", @@ -988,8 +1012,9 @@ dependencies = [ [[package]] name = "cairo-lang-sierra-to-casm" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "355bde3b0a835bac2457af133a9042a7d039c934e678905b843bb6b420884428" dependencies = [ "assert_matches", "cairo-lang-casm", @@ -1008,8 +1033,9 @@ dependencies = [ [[package]] name = "cairo-lang-sierra-type-size" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ddddaacc814e0ffda9f176c913fb2a9cd74fe6594dea789e8281eef10cac201" dependencies = [ "cairo-lang-sierra", "cairo-lang-utils", @@ -1017,8 +1043,9 @@ dependencies = [ [[package]] name = "cairo-lang-starknet" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10be5fd5fe78db232b032e25e4be786f8061606be4ab26371c869c5ab267699c" dependencies = [ "anyhow", "cairo-lang-compiler", @@ -1037,6 +1064,7 @@ dependencies = [ "indent", "indoc", "itertools 0.12.1", + "once_cell", "serde", "serde_json", "smol_str", @@ -1046,8 +1074,9 @@ dependencies = [ [[package]] name = "cairo-lang-starknet-classes" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7bf919d0919fce727c6d53ee5cb37459c9db35c258521284523c53f5f907c07" dependencies = [ "cairo-lang-casm", "cairo-lang-sierra", @@ -1058,6 +1087,7 @@ dependencies = [ "num-bigint", "num-integer", "num-traits 0.2.19", + "once_cell", "serde", "serde_json", "sha3", @@ -1068,8 +1098,9 @@ dependencies = [ [[package]] name = "cairo-lang-syntax" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2a376f88d815b63505be54a6afa93d75b67cfd65835922ec648cfcbb0a5e4b4" dependencies = [ "cairo-lang-debug", "cairo-lang-filesystem", @@ -1083,8 +1114,9 @@ dependencies = [ [[package]] name = "cairo-lang-syntax-codegen" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01f276bc28f6302fc63032046a12b60d18498906e65f646acb963244eed97f7c" dependencies = [ "genco", "xshell", @@ -1092,13 +1124,15 @@ dependencies = [ [[package]] name = "cairo-lang-test-plugin" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4cc569e35642d48ba2c75ba500397887a54fa5ead441e005b59968445851b99" dependencies = [ "anyhow", "cairo-lang-compiler", "cairo-lang-debug", "cairo-lang-defs", + "cairo-lang-diagnostics", "cairo-lang-filesystem", "cairo-lang-lowering", "cairo-lang-semantic", @@ -1118,8 +1152,9 @@ dependencies = [ [[package]] name = "cairo-lang-test-runner" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e56ba72ae465038a842195253cd497253cacb476b2d918a917a22fd6e397b205" dependencies = [ "anyhow", "cairo-lang-compiler", @@ -1140,8 +1175,9 @@ dependencies = [ [[package]] name = "cairo-lang-test-utils" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21e90b6236439e19077ec913351a17a33c7be199dcafdacd8389c4c5199400d6" dependencies = [ "cairo-lang-formatter", "cairo-lang-utils", @@ -1152,8 +1188,9 @@ dependencies = [ [[package]] name = "cairo-lang-utils" -version = "2.7.0" -source = "git+https://github.com/starkware-libs/cairo?rev=71d4e2f85210421f4062f0dfcf8f69aeefd77b40#71d4e2f85210421f4062f0dfcf8f69aeefd77b40" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55a394e545f1500bea093d01be40895d3234faaa24d9585d08a509c514cabd88" dependencies = [ "env_logger", "hashbrown 0.14.5", @@ -1169,9 +1206,9 @@ dependencies = [ [[package]] name = "cairo-vm" -version = "1.0.0-rc6" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f905a936b3287d085706d3d68e405be4844ec7bc1c95eaa3d53220dd33efd4ff" +checksum = "58363ad8065ed891e3b14a8191b707677c7c7cb5b9d10030822506786d8d8108" dependencies = [ "anyhow", "bincode", @@ -4597,7 +4634,7 @@ dependencies = [ [[package]] name = "scarb" -version = "2.7.0" +version = "2.7.1" dependencies = [ "anyhow", "assert_fs", @@ -4688,7 +4725,7 @@ dependencies = [ [[package]] name = "scarb-build-metadata" -version = "2.7.0" +version = "2.7.1" dependencies = [ "cargo_metadata", "semver", @@ -4696,7 +4733,7 @@ dependencies = [ [[package]] name = "scarb-cairo-language-server" -version = "2.7.0" +version = "2.7.1" dependencies = [ "assert_fs", "cairo-lang-language-server", @@ -4708,7 +4745,7 @@ dependencies = [ [[package]] name = "scarb-cairo-run" -version = "2.7.0" +version = "2.7.1" dependencies = [ "anyhow", "assert_fs", @@ -4730,7 +4767,7 @@ dependencies = [ [[package]] name = "scarb-cairo-test" -version = "2.7.0" +version = "2.7.1" dependencies = [ "anyhow", "assert_fs", @@ -4750,7 +4787,7 @@ dependencies = [ [[package]] name = "scarb-doc" -version = "2.7.0" +version = "2.7.1" dependencies = [ "anyhow", "assert_fs", @@ -4808,7 +4845,7 @@ dependencies = [ [[package]] name = "scarb-snforge-test-collector" -version = "2.7.0" +version = "2.7.1" dependencies = [ "anyhow", "assert_fs", diff --git a/Cargo.toml b/Cargo.toml index d5eb66b5a..4bb9149ff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ members = [ "resolver" = "2" [workspace.package] -version = "2.7.0" +version = "2.7.1" edition = "2021" authors = ["Software Mansion "] @@ -35,30 +35,30 @@ anyhow = "1" assert_fs = "1" async-trait = "0.1" axum = { version = "0.6", features = ["http2"] } -cairo-lang-casm = { git = "https://github.com/starkware-libs/cairo", rev = "71d4e2f85210421f4062f0dfcf8f69aeefd77b40" } -cairo-lang-compiler = { git = "https://github.com/starkware-libs/cairo", rev = "71d4e2f85210421f4062f0dfcf8f69aeefd77b40" } -cairo-lang-debug = { git = "https://github.com/starkware-libs/cairo", rev = "71d4e2f85210421f4062f0dfcf8f69aeefd77b40" } -cairo-lang-defs = { git = "https://github.com/starkware-libs/cairo", rev = "71d4e2f85210421f4062f0dfcf8f69aeefd77b40" } -cairo-lang-diagnostics = { git = "https://github.com/starkware-libs/cairo", rev = "71d4e2f85210421f4062f0dfcf8f69aeefd77b40" } -cairo-lang-doc = { git = "https://github.com/starkware-libs/cairo", rev = "71d4e2f85210421f4062f0dfcf8f69aeefd77b40" } -cairo-lang-filesystem = { git = "https://github.com/starkware-libs/cairo", rev = "71d4e2f85210421f4062f0dfcf8f69aeefd77b40" } -cairo-lang-formatter = { git = "https://github.com/starkware-libs/cairo", rev = "71d4e2f85210421f4062f0dfcf8f69aeefd77b40" } -cairo-lang-language-server = { git = "https://github.com/starkware-libs/cairo", rev = "71d4e2f85210421f4062f0dfcf8f69aeefd77b40" } -cairo-lang-lowering = { git = "https://github.com/starkware-libs/cairo", rev = "71d4e2f85210421f4062f0dfcf8f69aeefd77b40" } -cairo-lang-parser = { git = "https://github.com/starkware-libs/cairo", rev = "71d4e2f85210421f4062f0dfcf8f69aeefd77b40" } -cairo-lang-project = { git = "https://github.com/starkware-libs/cairo", rev = "71d4e2f85210421f4062f0dfcf8f69aeefd77b40" } -cairo-lang-runner = { git = "https://github.com/starkware-libs/cairo", rev = "71d4e2f85210421f4062f0dfcf8f69aeefd77b40" } -cairo-lang-semantic = { git = "https://github.com/starkware-libs/cairo", rev = "71d4e2f85210421f4062f0dfcf8f69aeefd77b40" } -cairo-lang-sierra = { git = "https://github.com/starkware-libs/cairo", rev = "71d4e2f85210421f4062f0dfcf8f69aeefd77b40" } -cairo-lang-sierra-generator = { git = "https://github.com/starkware-libs/cairo", rev = "71d4e2f85210421f4062f0dfcf8f69aeefd77b40" } -cairo-lang-sierra-to-casm = { git = "https://github.com/starkware-libs/cairo", rev = "71d4e2f85210421f4062f0dfcf8f69aeefd77b40" } -cairo-lang-sierra-type-size = { git = "https://github.com/starkware-libs/cairo", rev = "71d4e2f85210421f4062f0dfcf8f69aeefd77b40" } -cairo-lang-starknet = { git = "https://github.com/starkware-libs/cairo", rev = "71d4e2f85210421f4062f0dfcf8f69aeefd77b40" } -cairo-lang-starknet-classes = { git = "https://github.com/starkware-libs/cairo", rev = "71d4e2f85210421f4062f0dfcf8f69aeefd77b40" } -cairo-lang-syntax = { git = "https://github.com/starkware-libs/cairo", rev = "71d4e2f85210421f4062f0dfcf8f69aeefd77b40" } -cairo-lang-test-plugin = { git = "https://github.com/starkware-libs/cairo", rev = "71d4e2f85210421f4062f0dfcf8f69aeefd77b40" } -cairo-lang-test-runner = { git = "https://github.com/starkware-libs/cairo", rev = "71d4e2f85210421f4062f0dfcf8f69aeefd77b40" } -cairo-lang-utils = { git = "https://github.com/starkware-libs/cairo", rev = "71d4e2f85210421f4062f0dfcf8f69aeefd77b40", features = ["env_logger"] } +cairo-lang-casm = "2.7.1" +cairo-lang-compiler = "2.7.1" +cairo-lang-debug = "2.7.1" +cairo-lang-defs = "2.7.1" +cairo-lang-diagnostics = "2.7.1" +cairo-lang-doc = "2.7.1" +cairo-lang-filesystem = "2.7.1" +cairo-lang-formatter = "2.7.1" +cairo-lang-language-server = "2.7.1" +cairo-lang-lowering = "2.7.1" +cairo-lang-parser = "2.7.1" +cairo-lang-project = "2.7.1" +cairo-lang-runner = "2.7.1" +cairo-lang-semantic = "2.7.1" +cairo-lang-sierra = "2.7.1" +cairo-lang-sierra-generator = "2.7.1" +cairo-lang-sierra-to-casm = "2.7.1" +cairo-lang-sierra-type-size = "2.7.1" +cairo-lang-starknet = "2.7.1" +cairo-lang-starknet-classes = "2.7.1" +cairo-lang-syntax = "2.7.1" +cairo-lang-test-plugin = "2.7.1" +cairo-lang-test-runner = "2.7.1" +cairo-lang-utils = { version = "2.7.1", features = ["env_logger"] } camino = { version = "1", features = ["serde1"] } cargo_metadata = ">=0.18" clap = { version = "4", features = ["derive", "env", "string"] } diff --git a/extensions/scarb-doc/src/metadata/compilation.rs b/extensions/scarb-doc/src/metadata/compilation.rs index 6560da255..7223c6490 100644 --- a/extensions/scarb-doc/src/metadata/compilation.rs +++ b/extensions/scarb-doc/src/metadata/compilation.rs @@ -135,6 +135,7 @@ fn get_crate_settings_for_package( edition, cfg_set, experimental_features, + version: Some(package.version.clone()), } } diff --git a/extensions/scarb-snforge-test-collector/src/metadata.rs b/extensions/scarb-snforge-test-collector/src/metadata.rs index 4d063407b..bce47c81e 100644 --- a/extensions/scarb-snforge-test-collector/src/metadata.rs +++ b/extensions/scarb-snforge-test-collector/src/metadata.rs @@ -221,6 +221,7 @@ fn get_crate_settings_for_package( edition, cfg_set, experimental_features, + version: Some(package.version.clone()), } } diff --git a/scarb/src/compiler/compilers/test.rs b/scarb/src/compiler/compilers/test.rs index 1b718222a..fc733bd04 100644 --- a/scarb/src/compiler/compilers/test.rs +++ b/scarb/src/compiler/compilers/test.rs @@ -47,8 +47,7 @@ impl Compiler for TestCompiler { .compiler_config .unstable_add_statements_functions_debug_info, }; - let allow_warnings = unit.compiler_config.allow_warnings; - compile_test_prepared_db(db, config, main_crate_ids, test_crate_ids, allow_warnings)? + compile_test_prepared_db(db, config, main_crate_ids, test_crate_ids)? }; { diff --git a/scarb/src/compiler/db.rs b/scarb/src/compiler/db.rs index 1f99aaf7f..761e69d02 100644 --- a/scarb/src/compiler/db.rs +++ b/scarb/src/compiler/db.rs @@ -139,6 +139,7 @@ fn build_project_config(unit: &CairoCompilationUnit) -> Result { CrateSettings { edition: component.package.manifest.edition, cfg_set: component.cfg_set.clone(), + version: Some(component.package.id.version.clone()), // TODO (#1040): replace this with a macro experimental_features: cairo_lang_filesystem::db::ExperimentalFeaturesConfig { negative_impls: experimental_features