[package]
edition = "2021"
rust-version = "1.90"
name = "uqa-ml"
version = "0.1.9"
authors = ["Jaepil Jeong <jaepil@cognica.io>"]
build = "build.rs"
exclude = [
"/tests",
"/benches",
"/examples",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Machine-learning model specs, training, and inference backends for UQA"
homepage = "https://github.com/cognica-io/uqa-engine"
documentation = "https://docs.rs/uqa-ml"
readme = "README.md"
license = "AGPL-3.0-only"
repository = "https://github.com/cognica-io/uqa-engine"
[features]
cpu = []
default = ["cpu"]
mlx = []
[lib]
name = "uqa_ml"
path = "src/lib.rs"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
features = ["arbitrary_precision"]
[dependencies.thiserror]
version = "1.0"
[dependencies.uqa-core]
version = "0.1.9"
[dependencies.uqa-operators]
version = "0.1.9"
[dependencies.uqa-scoring]
version = "0.1.9"
[dependencies.uqa-storage]
version = "0.1.9"
[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
float_cmp = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
return_self_not_must_use = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "deny"
unused_must_use = "deny"