# 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 = "ragdrift-core"
version = "0.1.4"
authors = ["Mukunda Katta"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust core for ragdrift: 5-dimensional drift detection for RAG systems."
homepage = "https://github.com/MukundaKatta/ragdrift"
documentation = "https://docs.rs/ragdrift-core"
readme = "README.md"
keywords = [
    "rag",
    "drift",
    "monitoring",
    "embeddings",
    "ml",
]
categories = [
    "science",
    "mathematics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/MukundaKatta/ragdrift"

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

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

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

[dependencies.ndarray]
version = "0.16"
features = [
    "serde",
    "rayon",
]

[dependencies.rand]
version = "0.9"
features = ["std_rng"]

[dependencies.rand_distr]
version = "0.5"

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

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

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

[dev-dependencies.ndarray-rand]
version = "0.15"

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