quantize 0.2.2

A simple quantization library.
Documentation
[package]
name = "quantize"
version = "0.2.2"
edition = "2021"
rust-version = "1.87"
description = "A simple quantization library."
license = "MIT"
repository = "https://github.com/aksheyd/quantize"
documentation = "https://docs.rs/quantize"
readme = "README.md"
keywords = ["quantization", "ml", "candle", "matmul", "i8"]
categories = ["science", "mathematics"]
authors = ["Akshey Deokule (aksheyd)"]
include = [
    "/src/**",
    "/LICENSE",
    "/README.md",
]

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[workspace]
members = ["python"]
default-members = ["."]
resolver = "2"

[workspace.dependencies]
half = "2"
pyo3 = "0.29"
numpy = "0.29"

[workspace.lints.clippy]
all = { level = "deny", priority = 10 }

[features]
default = ["std"]
std = []

[dependencies]
half = { workspace = true }

[dev-dependencies]
candle-core = "0.9"
rand = "0.8"

[lints]
workspace = true

[[example]]
name = "ch01_simple"
path = "chapters/ch01_simple.rs"

[[example]]
name = "ch02_naive"
path = "chapters/ch02_naive.rs"

[[example]]
name = "ch03_bits"
path = "chapters/ch03_bits.rs"

[[example]]
name = "ch04_block"
path = "chapters/ch04_block.rs"

[[example]]
name = "ch05_asymmetric"
path = "chapters/ch05_asymmetric.rs"

[[example]]
name = "ch06_adaptive"
path = "chapters/ch06_adaptive.rs"

[[example]]
name = "ch07_learned"
path = "chapters/ch07_learned.rs"

[[example]]
name = "compare"
path = "benchmarks/compare.rs"

[[example]]
name = "update_readme"
path = "benchmarks/update_readme.rs"

[[example]]
name = "throughput"
path = "benchmarks/throughput.rs"