[package]
name = "datarust"
version = "0.6.5"
edition = "2021"
rust-version = "1.70"
description = "Scikit-learn-style preprocessing and classical ML in Rust"
license = "MIT"
repository = "https://github.com/genc-murat/datarust"
homepage = "https://datarust.dev"
readme = "README.md"
keywords = ["machine-learning", "scikit-learn", "preprocessing", "regression", "linear-model"]
categories = ["science", "mathematics", "algorithms"]
include = [
"/src/**",
"/tests/**",
"/examples/**",
"/benches/**",
"/Cargo.toml",
"/Cargo.lock",
"/README.md",
"/CHANGELOG.md",
"/LICENSE",
"/ROADMAP.md",
"/ARCHITECTURE.md",
]
[lib]
name = "datarust"
path = "src/lib.rs"
[features]
default = []
serde = [
"dep:serde",
"dep:serde_json",
"dep:proc-macro2",
"dep:quote",
"dep:ryu",
"dep:syn",
"dep:unicode-ident",
]
rayon = ["dep:rayon", "dep:rayon-core"]
matrixmultiply = ["dep:matrixmultiply"]
datasets = []
[dependencies]
serde = { version = "=1.0.228", features = ["derive"], optional = true }
serde_json = { version = "=1.0.145", optional = true }
proc-macro2 = { version = "=1.0.106", optional = true }
quote = { version = "=1.0.44", optional = true }
ryu = { version = "=1.0.22", optional = true }
syn = { version = "=2.0.114", optional = true }
unicode-ident = { version = "=1.0.22", optional = true }
rayon = { version = "=1.10.0", optional = true }
rayon-core = { version = "=1.12.1", optional = true }
matrixmultiply = { version = "=0.3.10", optional = true }
[dev-dependencies]
criterion = "=0.5.1"
proptest = "=1.5.0"
clap = "=4.4.18"
tempfile = "=3.15.0"
half = "=2.4.1"
[[bench]]
name = "benchmarks"
harness = false
[[example]]
name = "basic_preprocessing"
path = "examples/basic_preprocessing.rs"
[[example]]
name = "pipeline_workflow"
path = "examples/pipeline_workflow.rs"
[[example]]
name = "target_encoding"
path = "examples/target_encoding.rs"
[[example]]
name = "regression_workflow"
path = "examples/regression_workflow.rs"
[[example]]
name = "classification_workflow"
path = "examples/classification_workflow.rs"
[[example]]
name = "regularization_comparison"
path = "examples/regularization_comparison.rs"
[[example]]
name = "model_persistence"
path = "examples/model_persistence.rs"
required-features = ["serde"]
[[example]]
name = "kmeans_clustering"
path = "examples/kmeans_clustering.rs"
[package.metadata.docs.rs]
features = ["serde", "rayon", "matrixmultiply", "datasets"]
rustdoc-args = ["--cfg", "docsrs"]