diff --git a/crates/float/Cargo.toml b/crates/float/Cargo.toml index 9f3fcca..8294076 100644 --- a/crates/float/Cargo.toml +++ b/crates/float/Cargo.toml @@ -1,21 +1,21 @@ [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"] [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" diff --git a/crates/float/src/evm.rs b/crates/float/src/evm.rs index 2867fec..7c00af3 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 5d54ed6..cb53307 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::*;