# 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.89"
name = "sklears-utils"
version = "0.1.1"
authors = ["COOLJAPAN OU (Team KitaSan)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared utilities for sklears: validation, data generation, helpers"
homepage = "https://github.com/cool-japan/sklears"
readme = "README.md"
keywords = [
    "machine-learning",
    "utilities",
    "helpers",
]
categories = ["science"]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/sklears"

[features]
compression = ["oxiarc-deflate"]
default = [
    "std",
    "simd",
]
formats = [
    "yaml",
    "toml_support",
    "xml",
]
simd = []
std = ["sklears-core/std"]
sysinfo = ["dep:sysinfo"]
toml_support = [
    "toml",
    "serde_with",
]
xml = ["quick-xml"]
yaml = ["serde_yaml"]

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

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

[[bench]]
name = "simd_metrics_bench"
path = "benches/simd_metrics_bench.rs"

[[bench]]
name = "utils_benchmarks"
path = "benches/utils_benchmarks.rs"

[dependencies.chrono]
version = "0.4"

[dependencies.lazy_static]
version = "1.5"

[dependencies.num_cpus]
version = "1.17"

[dependencies.once_cell]
version = "1.21"

[dependencies.oxiarc-deflate]
version = "0.2.6"
optional = true

[dependencies.quick-xml]
version = "0.39"
features = ["serialize"]
optional = true

[dependencies.regex]
version = "1.12"

[dependencies.rustc_version_runtime]
version = "0.3"

[dependencies.scirs2-core]
version = "0.4.2"
features = [
    "random",
    "linalg",
    "serialization",
]
default-features = false

[dependencies.scirs2-stats]
version = "0.4.2"
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_with]
version = "3.18"
optional = true

[dependencies.serde_yaml]
version = "0.9"
optional = true

[dependencies.sklears-core]
version = "0.1.1"

[dependencies.sysinfo]
version = "0.38"
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.toml]
version = "1.1"
optional = true

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

[dev-dependencies.criterion]
version = "0.8"

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

[dev-dependencies.tempfile]
version = "3.27"

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(windows)".dependencies.winapi]
version = "0.3"
features = [
    "handleapi",
    "memoryapi",
    "winnt",
    "handleapi",
    "memoryapi",
    "winnt",
]
