From 418ec4a79306e44009dae5ce0cc2fd308131b973 Mon Sep 17 00:00:00 2001 From: Itay Tsabary Date: Tue, 16 Jul 2024 14:07:10 +0300 Subject: [PATCH] build: init state reader crate commit-id:8a8b91d3 --- Cargo.lock | 4 ++++ Cargo.toml | 3 ++- crates/state_reader/Cargo.toml | 11 +++++++++++ crates/state_reader/src/lib.rs | 3 +++ 4 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 crates/state_reader/Cargo.toml create mode 100644 crates/state_reader/src/lib.rs diff --git a/Cargo.lock b/Cargo.lock index 0f175579..820ae787 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5602,6 +5602,10 @@ dependencies = [ "tokio-test", ] +[[package]] +name = "state_reader" +version = "0.0.0" + [[package]] name = "static_assertions" version = "1.1.0" diff --git a/Cargo.toml b/Cargo.toml index c7530e3b..d4433c25 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,6 +7,7 @@ members = [ "crates/mempool_test_utils", "crates/mempool_types", "crates/starknet_sierra_compile", + "crates/state_reader", "crates/task_executor", "crates/tests-integration", ] @@ -50,7 +51,7 @@ indexmap = "2.1.0" itertools = "0.13.0" lazy_static = "1.4.0" mockall = "0.12.1" -mockito = "1.4.0" +mockito = "1.4.0" num-bigint = { version = "0.4.5", default-features = false } num-traits = "0.2" # TODO(YaelD, 28/5/2024): The special Papyrus version is needed in order to be aligned with the diff --git a/crates/state_reader/Cargo.toml b/crates/state_reader/Cargo.toml new file mode 100644 index 00000000..04bd5069 --- /dev/null +++ b/crates/state_reader/Cargo.toml @@ -0,0 +1,11 @@ +[package] +name = "state_reader" +version.workspace = true +edition.workspace = true +repository.workspace = true +license.workspace = true + +[dependencies] + +[lints] +workspace = true diff --git a/crates/state_reader/src/lib.rs b/crates/state_reader/src/lib.rs new file mode 100644 index 00000000..e7a11a96 --- /dev/null +++ b/crates/state_reader/src/lib.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}