From fd4d7aebdbc33054e8d2d2521b66db9754d81f88 Mon Sep 17 00:00:00 2001 From: Mishal Turkane <95625543+mishalturkane@users.noreply.github.com> Date: Tue, 30 Sep 2025 12:31:22 +0530 Subject: [PATCH] Update README.md added latest version of pinocchio --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1f16fb20..3a97112f 100644 --- a/README.md +++ b/README.md @@ -176,7 +176,7 @@ pub fn process_instruction( By default, `pinocchio` is a `no_std` crate. This means that it does not use any code from the standard (`std`) library. While this does not affect how `pinocchio` is used, there is one particular apparent difference. In a `no_std` environment, the `msg!` macro does not provide any formatting options since the `format!` macro requires the `std` library. In order to use `msg!` with formatting, the `std` feature should be enabled when adding `pinocchio` as a dependency: ``` -pinocchio = { version = "0.7.0", features = ["std"] } +pinocchio = { version = "0.9.2", features = ["std"] } ``` Instead of enabling the `std` feature to be able to format log messages with `msg!`, it is recommended to use the [`pinocchio-log`](https://crates.io/crates/pinocchio-log) crate. This crate provides a lightweight `log!` macro with better compute units consumption than the standard `format!` macro without requiring the `std` library.