nanogbm 0.2.0

A small, pure-Rust gradient boosting library (GBDT, binary classification, CPU only).
# 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 = "2024"
rust-version = "1.85"
name = "nanogbm"
version = "0.2.0"
authors = ["Olivier Giniaux <oginiaux@equativ.com>"]
build = false
exclude = [
    "/.github",
    "/CLAUDE.md",
    "/.DS_Store",
    "**/.DS_Store",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A small, pure-Rust gradient boosting library (GBDT, binary classification, CPU only)."
homepage = "https://github.com/ogxd/nanogbm"
documentation = "https://docs.rs/nanogbm"
readme = "README.md"
keywords = [
    "gbdt",
    "boosting",
    "machine-learning",
    "classification",
    "gradient-boosting",
]
categories = [
    "science",
    "algorithms",
    "mathematics",
]
license = "MIT"
repository = "https://github.com/ogxd/nanogbm"

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

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "early_stopping"
path = "examples/early_stopping.rs"

[[example]]
name = "missing_and_importance"
path = "examples/missing_and_importance.rs"

[[example]]
name = "save_load"
path = "examples/save_load.rs"

[[test]]
name = "e2e"
path = "tests/e2e.rs"

[[bench]]
name = "hot_paths"
path = "benches/hot_paths.rs"
harness = false

[dependencies.bincode]
version = "2.0"
features = ["serde"]

[dependencies.gxhash]
version = "3.5"

[dependencies.rand]
version = "0.8"

[dependencies.rand_chacha]
version = "0.3"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.thiserror]
version = "1.0"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[profile.bench]
opt-level = 3
lto = false
codegen-units = 1
debug = 0

[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1