Skip to content

Commit

Permalink
add rkyv to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
starkat99 committed Feb 25, 2024
1 parent ab90c4c commit 024572e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ See the [crate documentation](https://docs.rs/half/) for more details.
- **`rand_distr`** — Enable sampling from distributions like `Uniform` and `Normal` from the
[`rand_distr`](https://crates.io/crates/rand_distr) crate.

- **`rkyv`** -- Enable zero-copy deserializtion with [`rkyv`](https://crates.io/crates/rkyv) crate.

### Hardware support

The following list details hardware support for floating point types in this crate. When using `std`
Expand Down
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@
//! - **`rand_distr`** — Adds support for the [`rand_distr`] crate by implementing [`Distribution`]
//! and other traits for both [`f16`] and [`bf16`].
//!
//! - **`rkyv`** -- Enable zero-copy deserializtion with [`rkyv`] crate.
//!
//! [`alloc`]: https://doc.rust-lang.org/alloc/
//! [`std`]: https://doc.rust-lang.org/std/
//! [`binary16`]: https://en.wikipedia.org/wiki/Half-precision_floating-point_format
Expand All @@ -109,6 +111,7 @@
//! [`num-traits`]: https://crates.io/crates/num-traits
//! [`zerocopy`]: https://crates.io/crates/zerocopy
//! [`rand_distr`]: https://crates.io/crates/rand_distr
//! [`rkyv`]: (https://crates.io/crates/rkyv)
#![cfg_attr(
feature = "alloc",
doc = "
Expand Down

0 comments on commit 024572e

Please sign in to comment.