[package]
edition = "2021"
rust-version = "1.65"
name = "bosk"
version = "0.1.0"
build = false
exclude = ["CLAUDE.md"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust LightGBM inference: parses the text model format directly — no FFI, zero deps. Optional ONNX Runtime and CatBoost backends behind the same small Model trait."
readme = "README.md"
keywords = [
"lightgbm",
"catboost",
"gbdt",
"inference",
"onnx",
]
categories = [
"science",
"algorithms",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/stanwarp/bosk"
[package.metadata.docs.rs]
no-default-features = true
[features]
catboost = ["dep:catboost-rust"]
default = [
"onnx",
"catboost",
]
onnx = ["dep:ort"]
[lib]
name = "bosk"
path = "src/lib.rs"
[[bench]]
name = "predict"
path = "benches/predict.rs"
harness = false
[dependencies.catboost-rust]
version = "0.4"
optional = true
[dependencies.ort]
version = "2.0.0-rc.12"
features = [
"std",
"ndarray",
"tracing",
"download-binaries",
"tls-rustls",
"copy-dylibs",
"api-24",
]
optional = true
default-features = false
[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false