safetensors 0.3.3

Provides functions to read and write safetensors which aim to be safer than their PyTorch counterpart. The format is 8 bytes which is an unsized int, being the size of a JSON header, the JSON header refers the `dtype` the `shape` and `data_offsets` which are the offsets for the values in the rest of the file.
Documentation
[[bench]]
harness = false
name = "benchmark"
[dependencies.serde]
features = ["derive"]
version = "1.0"

[dependencies.serde_json]
version = "1.0"
[dev-dependencies.criterion]
version = "0.4"

[dev-dependencies.memmap2]
version = "0.5"

[dev-dependencies.proptest]
version = "1.1"

[package]
description = "Provides functions to read and write safetensors which aim to be safer than\ntheir PyTorch counterpart.\nThe format is 8 bytes which is an unsized int, being the size of a JSON header,\nthe JSON header refers the `dtype` the `shape` and `data_offsets` which are the offsets\nfor the values in the rest of the file.\n"
documentation = "https://docs.rs/safetensors/"
edition = "2021"
exclude = ["rust-toolchain", "target/*", "Cargo.lock"]
homepage = "https://github.com/huggingface/safetensors"
keywords = ["safetensors", "huggingface", "Tensors", "Pytorch", "Tensorflow"]
license = "Apache-2.0"
name = "safetensors"
readme = "./README.md"
repository = "https://github.com/huggingface/safetensors"
version = "0.3.3"