forked from dojoengine/dojo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unified crate for Cairo deps used in Katana (dojoengine#1999)
* unified cairo crate forr katana * update * remove license file field
- Loading branch information
Showing
13 changed files
with
718 additions
and
250 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[package] | ||
description = "Collection of Cairo language dependencies that are used throughout Katana. Unifying the Cairo language based dependencies to avoid dependency conflict with the versions used by Dojo." | ||
edition.workspace = true | ||
license.workspace = true | ||
name = "katana-cairo" | ||
repository.workspace = true | ||
version.workspace = true | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
# Use from git instead of crates.io registry so that the workspace patches aren't applied. | ||
[dependencies] | ||
cairo-lang-casm = { git = "https://github.com/starkware-libs/cairo", tag = "v2.6.3" } | ||
cairo-lang-runner = { git = "https://github.com/starkware-libs/cairo", tag = "v2.6.3" } | ||
cairo-lang-sierra = { git = "https://github.com/starkware-libs/cairo", tag = "v2.6.3" } | ||
cairo-lang-starknet = { git = "https://github.com/starkware-libs/cairo", tag = "v2.6.3" } | ||
cairo-lang-starknet-classes = { git = "https://github.com/starkware-libs/cairo", tag = "v2.6.3" } | ||
cairo-lang-utils = { git = "https://github.com/starkware-libs/cairo", tag = "v2.6.3" } | ||
cairo-vm = "0.9.2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#![warn(unused_crate_dependencies)] | ||
|
||
//! Re-export of the Cairo language crates used throughout Katana. | ||
pub mod lang { | ||
pub use { | ||
cairo_lang_casm as casm, cairo_lang_runner as runner, cairo_lang_sierra as sierra, | ||
cairo_lang_starknet as starknet, cairo_lang_starknet_classes as starknet_classes, | ||
cairo_lang_utils as utils, | ||
}; | ||
} | ||
|
||
pub use cairo_vm; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters