libsvm-rs 0.6.0

Pure Rust reimplementation of LIBSVM — SVM training and prediction
Documentation
# 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"
rust-version = "1.75"
name = "libsvm-rs"
version = "0.6.0"
authors = ["Ricardo Frantz <rasfrantz@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust reimplementation of LIBSVM — SVM training and prediction"
homepage = "https://github.com/ricardofrantz/libsvm-rs"
documentation = "https://docs.rs/libsvm-rs"
readme = "README.md"
keywords = [
    "svm",
    "machine-learning",
    "classification",
    "regression",
    "libsvm",
]
categories = [
    "science",
    "algorithms",
]
license = "BSD-3-Clause"
repository = "https://github.com/ricardofrantz/libsvm-rs"

[features]
default = []
rayon = ["dep:rayon"]

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

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

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

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

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

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

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

[dependencies.rayon]
version = "1"
optional = true

[dependencies.thiserror]
version = "2"

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

[dev-dependencies.float-cmp]
version = "0.10"