[package]
edition = "2024"
rust-version = "1.88"
name = "softfpu"
version = "0.2.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "32-, 64- and 80-bit floating-point arithmetic in safe Rust, including Intel x87 transcendental functions"
documentation = "https://docs.rs/softfpu"
readme = "README.md"
keywords = [
"floating-point",
"x87",
"softfloat",
"ieee754",
"emulation",
]
categories = [
"emulators",
"mathematics",
"no-std::no-alloc",
]
license = "MIT"
repository = "https://github.com/robertothais/softfpu"
[lib]
name = "softfpu"
path = "src/lib.rs"
[[test]]
name = "math"
path = "tests/math.rs"
[[test]]
name = "policy"
path = "tests/policy.rs"
[[test]]
name = "testfloat"
path = "tests/testfloat.rs"
[[test]]
name = "transcendental"
path = "tests/transcendental.rs"
[[bench]]
name = "operations"
path = "benches/operations.rs"
harness = false
[dev-dependencies.proptest]
version = "1.7"
[lints.cargo]
unused_dependencies = "deny"
[lints.clippy]
cast_lossless = "warn"
mod_module_files = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
unnameable_types = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"