# 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"
name = "bones-triage"
version = "0.22.7"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Prioritization and scoring engine for bones (PageRank, urgency, dependency-aware)"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/bobisme/bones"
resolver = "2"

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.blake3]
version = "1.5"

[dependencies.bones-core]
version = "0.22.7"

[dependencies.bumpalo]
version = "3.20.2"

[dependencies.chrono]
version = "0.4"

[dependencies.nalgebra]
version = "0.32"

[dependencies.petgraph]
version = "0.6"

[dependencies.rand]
version = "0.8"

[dependencies.rand_distr]
version = "0.4"

[dependencies.rusqlite]
version = "0.30"
features = ["bundled"]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.terseid]
version = "0.1.2"

[dependencies.tracing]
version = "0.1"

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

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

[lints.clippy]
unnecessary_wraps = "allow"
unwrap_used = "deny"

[lints.clippy.nursery]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1
