From 7fe94ef44dfb9f926b2f2dc13c4b3bb48ef1a817 Mon Sep 17 00:00:00 2001 From: Mario Rugiero Date: Mon, 17 Apr 2023 10:23:03 -0300 Subject: [PATCH] feat: re-export felt crate from cairo_vm (#981) * Re-export felt crate from cairo_vm to avoid version mismatches * Update CHANGELOG * Formatting --- CHANGELOG.md | 4 ++++ src/lib.rs | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1eb6131fd7..79efe58bfb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -198,6 +198,10 @@ ids.root.d2 = root_split[2] ``` +* Re-export the `cairo-felt` crate as `cairo_vm::felt` [#981](https://github.com/lambdaclass/cairo-rs/pull/981) + * Removes the need of explicitly importing `cairo-felt` in downstream projects + and helps ensure there is no version mismatch caused by that + * Implement hint on `uint256_mul_div_mod`[#957](https://github.com/lambdaclass/cairo-rs/pull/957) `BuiltinHintProcessor` now supports the following hint: diff --git a/src/lib.rs b/src/lib.rs index 02b9c850f6..c6387994c4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -48,6 +48,7 @@ mod stdlib { pub use crate::without_std::*; } +pub extern crate felt; pub mod cairo_run; pub mod hint_processor; pub mod math_utils;