rill-ml 0.7.2

Lightweight, serializable online machine learning for Rust applications and streaming data.
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 = "2024"
rust-version = "1.94"
name = "rill-ml"
version = "0.7.2"
build = false
exclude = [".github/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight, serializable online machine learning for Rust applications and streaming data."
documentation = "https://docs.rs/rill-ml"
readme = "README.md"
keywords = [
    "machine-learning",
    "online-learning",
    "streaming",
    "incremental",
    "edge",
]
categories = [
    "algorithms",
    "science",
]
license = "MIT"
repository = "https://github.com/hello-yunshu/rill-ml"

[features]
bandit = ["dep:rand"]
default = ["bandit"]
serde = ["dep:serde"]

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

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

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

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

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

[[example]]
name = "online_regression"
path = "examples/online_regression.rs"
required-features = ["serde"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.rand]
version = "0.8"
optional = true

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

[dependencies.thiserror]
version = "1.0"

[dev-dependencies.approx]
version = "0.5"

[dev-dependencies.criterion]
version = "0.5"
features = [
    "plotters",
    "cargo_bench_support",
]
default-features = false

[dev-dependencies.proptest]
version = "1.0"

[dev-dependencies.rand_chacha]
version = "0.3"

[dev-dependencies.serde_json]
version = "1.0"

[profile.bench]
lto = true
codegen-units = 1