NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #278 most downloaded on crates.io
Half-precision floating point f16 and bf16 types for Rust implementing the IEEE 754-2008 standard binary16 and bfloat16 types.
Last release 11 months ago
14 Oct 2025
Release timing varies
gaps range from 8 days to 11 months
Some releases are documented
notes for 8 of 29 stable releases
4 versions withdrawn
withdrawn after publishing
11 years old
33 releases · first in 2016
loongarch64 lsx hardware intrinsics for f16 conversions now enabled only under nightly cargo feature, fixing compile errors on stable Rust.
loongarch64 lsx hardware intrinsics for f16 conversions now enabled only under nightly cargo feature, fixing compile errors on stable Rust.zerocopy is now a required dependency. The optional zerocopy crate feature is deprecated. This change is to ensure better code safety and prevent pote…
zerocopy is now a required dependency. The optional zerocopy crate feature is deprecated. This change is to ensure better code safety and prevent potential unsound behavior.num-traits implementations: Signed for f16 and bf16. By @djsell.loongarch64 lsx hardware intrinsic support for f16 conversions. By @heiher.Weight trait from rand crate for f16 and bf16 with rand optional cargo feature. By @majian4work.min and max incorrectly propagate NaN values when self is NaN. Fixes #126, by @mgottscho.unnecessary_transmutes lint.doc_auto_cfg feature has been removed from docs.rs documentation due to removal of rust feature.One column per quarter.
Fixed some incorrect minimum supported versions of dependencies that weren't caught due to improper Cargo.lock :
Cargo.lock:
num-traits 0.2.14 -> 0.2.16zerocopy 0.8.0 -> 0.8.23arbitrary 1.3.2 -> 1.4.1f16 and bf16 now implement Immutable and KnownLayout for zerocopy crate. By [@usamoi].Updated optional dependencies to latest major versions:
zercopy 0.6 -> 0.8rand 0.8 -> 0.9rand_distr 0.4 -> 0.5rkyv 0.7 -> 0.8criterion 0.4 -> 0.5arbitrary crate. Fixes #110. By @FL33TW00D.num-traits implementations: FromBytes and ToBytes for f16 and bf16. By @kpreid.f16 primitive in compiler.Missing macro import causing build failure on no_std + alloc feature set. Fixes #107 .
no_std + alloc feature set. Fixes #107.Optional rkyv support. Fixes #100 , by @comath .
rkyv support. Fixes #100, by @comath.num-traits implementations: AsPrimitive<f16> for bf16 and AsPrimitive<bf16> forf16, allowing lossy conversions between the two types. By @charles-r-earp.Cargo.lock added to vcs as is now recommended for library crates.Compile error on x86 (not x86_64) targets. Fixes #93 .
Breaking Change Minimum supported Rust version is now 1.70.
rand_distr::Distribution implementations behind rand_distr optional cargo feature. By @coreylowman.Display and Debug implementations. By @eiz.std only), including:
use-intrinsics cargo feature no longer used. Hardware support will now always be used whenever possible. A future version may output deprecation warnings if this feature is enabled.leading_zeros functions by inlining. By @encounter.Sum implementation of bf16 incorrectly performed product instead of sum. By @wx-csy.serde cargo feature enabled but std not enabled.Reduced unnecessary bounds checks for SIMD operations on slices. By @Shnatsel .
Nothing published for this version
Nothing published for this version
Nothing published for this version
Potential soundness issues resolved.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →