[package]
edition = "2024"
rust-version = "1.85"
name = "f8"
version = "0.2.0"
authors = ["John Wells <john@attackgoat.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A no_std, one-byte UNORM with exact rounding, saturating arithmetic, and SIMD conversion"
homepage = "https://github.com/attackgoat/f8"
documentation = "https://docs.rs/f8"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/attackgoat/f8"
[features]
default = [
"serde",
"simd",
]
simd = []
[lib]
name = "f8"
path = "src/lib.rs"
[[test]]
name = "conversions"
path = "tests/conversions.rs"
[[test]]
name = "ops"
path = "tests/ops.rs"
[[bench]]
name = "convert"
path = "benches/convert.rs"
harness = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
default-features = false
[dev-dependencies.serde_test]
version = "1.0"