From 3313df5314b4078158567d86f10e2aeee92a85cc Mon Sep 17 00:00:00 2001 From: Arda Nakisci Date: Wed, 4 Feb 2026 09:29:42 +0300 Subject: [PATCH 1/3] fix: remove workspace inheritance for external consumption --- crates/float/Cargo.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/float/Cargo.toml b/crates/float/Cargo.toml index 9f3fcca4..43f89e9e 100644 --- a/crates/float/Cargo.toml +++ b/crates/float/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "rain-math-float" -version.workspace = true -edition.workspace = true -license.workspace = true -homepage.workspace = true +version = "0.1.0" +edition = "2021" +license = "LicenseRef-DCL-1.0" +homepage = "https://github.com/rainlanguage/rain.math.float" [lib] crate-type = ["rlib", "cdylib"] From c757811af9e60d258ad7509f173e0149e6f6b5a0 Mon Sep 17 00:00:00 2001 From: Arda Nakisci Date: Wed, 4 Feb 2026 10:18:02 +0300 Subject: [PATCH 2/3] style: fix import ordering --- crates/float/src/evm.rs | 2 +- crates/float/src/lib.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/float/src/evm.rs b/crates/float/src/evm.rs index 2867fecf..7c00af37 100644 --- a/crates/float/src/evm.rs +++ b/crates/float/src/evm.rs @@ -3,8 +3,8 @@ use alloy::sol_types::SolInterface; use revm::context::result::{ExecutionResult, Output, SuccessReason}; use revm::context::{BlockEnv, CfgEnv, Evm, TxEnv}; use revm::database::InMemoryDB; -use revm::handler::EthPrecompiles; use revm::handler::instructions::EthInstructions; +use revm::handler::EthPrecompiles; use revm::interpreter::interpreter::EthInterpreter; use revm::primitives::address; use revm::{Context, MainBuilder, MainContext, SystemCallEvm}; diff --git a/crates/float/src/lib.rs b/crates/float/src/lib.rs index e94d5ac9..92a07e98 100644 --- a/crates/float/src/lib.rs +++ b/crates/float/src/lib.rs @@ -1,7 +1,7 @@ use alloy::hex::FromHex; -use alloy::primitives::{B256, Bytes}; +use alloy::primitives::{Bytes, B256}; use alloy::{sol, sol_types::SolCall}; -use revm::primitives::{U256, fixed_bytes}; +use revm::primitives::{fixed_bytes, U256}; use serde::{Deserialize, Serialize}; use std::ops::{Add, Div, Mul, Neg, Sub}; use wasm_bindgen_utils::prelude::*; From d9308a0675e8fc81f2a275bc65571e869e04a365 Mon Sep 17 00:00:00 2001 From: Arda Nakisci Date: Wed, 4 Feb 2026 10:30:35 +0300 Subject: [PATCH 3/3] fix: remove all workspace inheritance from dependencies --- crates/float/Cargo.toml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/crates/float/Cargo.toml b/crates/float/Cargo.toml index 43f89e9e..8294076b 100644 --- a/crates/float/Cargo.toml +++ b/crates/float/Cargo.toml @@ -9,13 +9,13 @@ homepage = "https://github.com/rainlanguage/rain.math.float" crate-type = ["rlib", "cdylib"] [dependencies] -alloy.workspace = true -thiserror.workspace = true -serde.workspace = true +alloy = { version = "1.0.9", features = ["sol-types", "json-rpc"] } +thiserror = "2.0.12" +serde = "1.0.219" wasm-bindgen-utils = { git = "https://github.com/rainlanguage/rain.wasm", rev = "06990d85a0b7c55378a1c8cca4dd9e2bc34a596a" } [target.'cfg(not(target_family = "wasm"))'.dependencies] -revm = { workspace = true, default-features = false, features = [ +revm = { version = "25.0.0", default-features = false, features = [ "c-kzg", "portable", "std", @@ -23,7 +23,7 @@ revm = { workspace = true, default-features = false, features = [ ] } [target.'cfg(target_family = "wasm")'.dependencies] -revm = { workspace = true, default-features = false, features = [ +revm = { version = "25.0.0", default-features = false, features = [ "kzg-rs", "portable", "std", @@ -32,7 +32,7 @@ revm = { workspace = true, default-features = false, features = [ getrandom = { version = "0.2.11", features = ["js", "js-sys"] } [dev-dependencies] -alloy = { workspace = true, features = ["sol-types", "json-rpc", "arbitrary"] } +alloy = { version = "1.0.9", features = ["sol-types", "json-rpc", "arbitrary"] } anyhow = "1.0.98" -proptest.workspace = true +proptest = "1.7.0" serde_json = "1.0.140"