[package]
edition = "2024"
rust-version = "1.97"
name = "renew-fixed"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fixed-point arithmetic for simulation code that must reproduce bit-for-bit"
homepage = "https://renew-engine.github.io/renew/"
readme = "README.md"
keywords = [
"fixed-point",
"deterministic",
"math",
"gamedev",
"no-std",
]
categories = [
"mathematics",
"game-development",
]
license = "Apache-2.0"
repository = "https://github.com/renew-engine/renew"
[package.metadata.renew]
purpose = "The fixed-point number type simulation is written in: Q47.16 in an i64, with no float in any signature and no dependencies."
maturity = "bootstrap"
core = false
extension_points = []
simulation = false
[lib]
name = "renew_fixed"
path = "src/lib.rs"
[[test]]
name = "angles"
path = "tests/angles.rs"
[[test]]
name = "bounds"
path = "tests/bounds.rs"
[[test]]
name = "properties"
path = "tests/properties.rs"
[[test]]
name = "vectors"
path = "tests/vectors.rs"
[dependencies]
[dev-dependencies.proptest]
version = "1.11"
[lints.clippy]
dbg_macro = "deny"
expect_used = "deny"
panic = "deny"
todo = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
unwrap_used = "deny"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "deny"