rain-math-float 0.1.4

Decimal floating-point arithmetic for Rainlang / DeFi smart contracts. Packs a 224-bit signed coefficient and 32-bit signed exponent into a single bytes32, with exact decimal semantics (no NaN, Infinity, or negative zero — operations error on nonsense). Rust bindings delegate to the Solidity reference via an in-memory EVM so on-chain and off-chain results match exactly.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "rain-math-float"
version = "0.1.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Decimal floating-point arithmetic for Rainlang / DeFi smart contracts. Packs a 224-bit signed coefficient and 32-bit signed exponent into a single bytes32, with exact decimal semantics (no NaN, Infinity, or negative zero — operations error on nonsense). Rust bindings delegate to the Solidity reference via an in-memory EVM so on-chain and off-chain results match exactly."
homepage = "https://github.com/rainlanguage/rain.math.float"
readme = false
license = "LicenseRef-DCL-1.0"
repository = "https://github.com/rainlanguage/rain.math.float"

[lib]
name = "rain_math_float"
crate-type = ["rlib"]
path = "src/lib.rs"

[dependencies.alloy]
version = "1.0.9"
features = [
    "sol-types",
    "json-rpc",
]

[dependencies.serde]
version = "1.0.219"

[dependencies.thiserror]
version = "2.0.12"

[dependencies.wasm-bindgen-utils]
version = "0.0.11"

[dev-dependencies.alloy]
version = "1.0.9"
features = [
    "sol-types",
    "json-rpc",
    "arbitrary",
]

[dev-dependencies.anyhow]
version = "1.0.98"

[dev-dependencies.proptest]
version = "1.7.0"

[dev-dependencies.serde_json]
version = "1.0.140"

[target.'cfg(not(target_family = "wasm"))'.dependencies.revm]
version = "25.0.0"
features = [
    "c-kzg",
    "portable",
    "std",
    "tracer",
]
default-features = false

[target.'cfg(target_family = "wasm")'.dependencies.getrandom]
version = "0.2.11"
features = [
    "js",
    "js-sys",
]

[target.'cfg(target_family = "wasm")'.dependencies.revm]
version = "25.0.0"
features = [
    "kzg-rs",
    "portable",
    "std",
    "tracer",
]
default-features = false