# 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"
name = "aprender-quant"
version = "0.40.1"
authors = ["Trueno Engineering"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "K-quantization formats (Q4_K, Q5_K, Q6_K) for GGUF/APR model weights"
readme = "README.md"
keywords = [
    "quantization",
    "gguf",
    "llm",
    "machine-learning",
    "neural-network",
]
categories = [
    "science",
    "algorithms",
    "compression",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/paiml/trueno"

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

[dependencies.half]
version = "2.4"

[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
expect_used = "warn"
needless_range_loop = "allow"
panic = "warn"
similar_names = "allow"
trivially_copy_pass_by_ref = "allow"
uninlined_format_args = "allow"
unnecessary_unwrap = "allow"
unreachable = "warn"
unwrap_used = "warn"
useless_vec = "allow"

[lints.clippy.complexity]
level = "warn"
priority = -1

[lints.clippy.correctness]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.clippy.perf]
level = "warn"
priority = -1

[lints.clippy.style]
level = "warn"
priority = -1

[lints.clippy.suspicious]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
rust_2018_idioms = "warn"
unsafe_op_in_unsafe_fn = "warn"
