Skip to content

Commit 6858c37

Browse files
Merge branch 'main' into review_todo
2 parents cbf93e7 + 9a0f539 commit 6858c37

File tree

5 files changed

+25
-14
lines changed

5 files changed

+25
-14
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,7 @@ jobs:
3737
keys-asc: https://apt.llvm.org/llvm-snapshot.gpg.key
3838
- name: Install LLVM
3939
run: sudo apt-get install llvm-19 llvm-19-dev llvm-19-runtime clang-19 clang-tools-19 lld-19 libpolly-19-dev libmlir-19-dev mlir-19-tools
40-
- name: publish the crate
40+
- name: publish sierra emu
41+
run: cargo publish --token ${CRATES_TOKEN} --all-features -p sierra-emu
42+
- name: publish cairo native
4143
run: cargo publish --token ${CRATES_TOKEN} --all-features -p cairo-native

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
1-
[package]
2-
name = "cairo-native"
1+
[workspace.package]
32
version = "0.5.0-rc.6"
43
edition = "2021"
54
license = "Apache-2.0"
6-
description = "A compiler to convert Cairo's IR Sierra code to MLIR and execute it."
75
repository = "https://github.com/lambdaclass/cairo_native"
6+
7+
[package]
8+
name = "cairo-native"
9+
description = "A compiler to convert Cairo's IR Sierra code to MLIR and execute it."
810
readme = "README.md"
911
keywords = ["starknet", "cairo", "compiler", "mlir"]
1012
categories = ["compilers"]
13+
version.workspace = true
14+
edition.workspace = true
15+
license.workspace = true
16+
repository.workspace = true
1117

1218
# Explicitly set the resolver to the default for edition >= 2021
1319
# https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html
@@ -90,7 +96,7 @@ tempfile = "3.15.0"
9096
thiserror = "2.0.9"
9197
tracing = "0.1"
9298
utf8_iter = "1.0.4"
93-
sierra-emu = { path = "debug_utils/sierra-emu", optional = true }
99+
sierra-emu = { workspace = true, optional = true }
94100

95101

96102
# CLI dependencies
@@ -182,6 +188,7 @@ harness = false
182188
members = ["debug_utils/sierra-emu", "debug_utils/casm-data-flow"]
183189

184190
[workspace.dependencies]
191+
sierra-emu = { path = "debug_utils/sierra-emu", version = "0.5.0-rc.6" }
185192
cairo-lang-casm = "=2.12.0-dev.1"
186193
cairo-lang-compiler = "=2.12.0-dev.1"
187194
cairo-lang-defs = "=2.12.0-dev.1"

debug_utils/casm-data-flow/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
[package]
22
name = "casm-data-flow"
3-
version = "0.1.0"
4-
edition = "2021"
3+
version.workspace = true
4+
edition.workspace = true
5+
license.workspace = true
6+
repository.workspace = true
57

68
[dependencies]
79
bincode = { version = "2.0.0-rc.3", default-features = false }

debug_utils/sierra-emu/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "sierra-emu"
3-
version = "0.1.0"
4-
edition = "2021"
5-
license = "Apache-2.0"
63
description = "A Cairo (Sierra) Virtual Machine."
7-
repository = "https://github.com/lambdaclass/sierra-emu"
84
readme = "README.md"
9-
keywords = ["starknet", "cairo", "compiler", "mlir"]
5+
keywords = ["starknet", "cairo", "vm", "sierra"]
6+
version.workspace = true
7+
edition.workspace = true
8+
license.workspace = true
9+
repository.workspace = true
1010

1111
[dependencies]
1212
cairo-lang-compiler.workspace = true

0 commit comments

Comments
 (0)