Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ std = ["alloc"]
use-intrinsics = [] # Deprecated
alloc = []
rand_distr = ["dep:rand", "dep:rand_distr"]
arbitrary = ["dep:arbitrary"]

[dependencies]
cfg-if = "1.0.0"
Expand All @@ -35,6 +36,7 @@ zerocopy = { version = "0.6.0", default-features = false, optional = true }
rand = { version = "0.8.5", default-features = false, optional = true }
rand_distr = { version = "0.4.3", default-features = false, optional = true }
rkyv = { version = "0.7", optional = true }
arbitrary = { version = "1.3.2", features = ["derive"], optional = true }

[target.'cfg(target_arch = "spirv")'.dependencies]
crunchy = "0.2.2"
Expand Down
1 change: 1 addition & 0 deletions src/binary16.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ pub(crate) mod arch;
#[cfg_attr(feature = "bytemuck", derive(Zeroable, Pod))]
#[cfg_attr(feature = "zerocopy", derive(AsBytes, FromBytes))]
#[cfg_attr(kani, derive(kani::Arbitrary))]
#[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))]
pub struct f16(u16);

impl f16 {
Expand Down