tinyquant-io 0.0.0

Serialization, mmap, and file I/O for TinyQuant.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.81"
name = "tinyquant-io"
version = "0.0.0"
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Serialization, mmap, and file I/O for TinyQuant."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/better-with-models/TinyQuant"

[lib]
name = "tinyquant_io"
path = "src/lib.rs"

[[example]]
name = "gen_corpus_fixture"
path = "examples/gen_corpus_fixture.rs"

[[test]]
name = "bit_pack_exhaustive"
path = "tests/bit_pack_exhaustive.rs"

[[test]]
name = "codec_file_proptest"
path = "tests/codec_file_proptest.rs"

[[test]]
name = "header_size_audit"
path = "tests/header_size_audit.rs"

[[test]]
name = "mmap_corpus"
path = "tests/mmap_corpus.rs"

[[test]]
name = "python_parity"
path = "tests/python_parity.rs"

[[test]]
name = "rejection"
path = "tests/rejection.rs"

[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"

[[test]]
name = "smoke"
path = "tests/smoke.rs"

[[test]]
name = "zero_copy"
path = "tests/zero_copy.rs"

[dependencies.dhat]
version = "=0.3.2"
optional = true

[dependencies.memmap2]
version = "0.9"
optional = true

[dependencies.rayon]
version = "1"
optional = true

[dependencies.thiserror]
version = "2"
default-features = false

[dependencies.tinyquant-core]
version = "=0.0.0"

[dev-dependencies.rand_chacha]
version = "0.3"
default-features = false

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tempfile]
version = "=3.14.0"

[features]
default = ["simd"]
dhat-heap = ["dep:dhat"]
mmap = ["dep:memmap2"]
mmap-lock = []
rayon = ["dep:rayon"]
simd = ["tinyquant-core/simd"]