[package]
edition = "2024"
rust-version = "1.85"
name = "oxicuda-quant"
version = "0.1.2"
authors = ["COOLJAPAN OU <contact@cooljapan.tech>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "GPU-accelerated quantization and model compression engine for OxiCUDA"
readme = "README.md"
keywords = [
"gpu",
"quantization",
"compression",
"cuda",
"deep-learning",
]
categories = [
"science",
"algorithms",
]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/oxicuda"
resolver = "2"
[lib]
name = "oxicuda_quant"
path = "src/lib.rs"
[[bench]]
name = "quant_ops"
path = "benches/quant_ops.rs"
harness = false
[dependencies.num-traits]
version = "0.2"
[dependencies.oxicuda-driver]
version = "0.1.2"
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.approx]
version = "0.5"
[dev-dependencies.criterion]
version = "0.8"
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
missing_transmute_annotations = "allow"
module_name_repetitions = "allow"
similar_names = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
wildcard_imports = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "deny"
priority = -1
[lints.rust]
dead_code = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_imports = "warn"
unused_variables = "warn"