From 16b36c8fb609c5a16ca646b9784fac291994f80f Mon Sep 17 00:00:00 2001 From: fmoletta <99273364+fmoletta@users.noreply.github.com> Date: Fri, 22 Dec 2023 21:05:16 +0200 Subject: [PATCH] Make `cache::aot` & `cache::jit` modules public (#410) The structs and methods in both of these modules are public but their modules are not. This makes it impossible to create a `PorgramCache` from starknet_in_rust --- src/cache.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cache.rs b/src/cache.rs index b6e64da36..7d146b4c2 100644 --- a/src/cache.rs +++ b/src/cache.rs @@ -1,8 +1,8 @@ pub use self::{aot::AotProgramCache, jit::JitProgramCache}; use std::hash::Hash; -mod aot; -mod jit; +pub mod aot; +pub mod jit; #[derive(Debug)] pub enum ProgramCache<'a, K>