[package]
edition = "2021"
name = "causasv"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast causal Asymmetric Shapley Values for Rust and Python"
homepage = "https://github.com/kent-tokyo/causasv"
readme = "README.md"
keywords = [
"shapley",
"causal",
"xai",
"dag",
"explainability",
]
categories = [
"science",
"mathematics",
"algorithms",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/kent-tokyo/causasv"
[features]
default = []
python = ["dep:pyo3"]
[lib]
name = "causasv"
path = "src/lib.rs"
[[example]]
name = "approximate_dag"
path = "examples/approximate_dag.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "rooted_tree"
path = "examples/rooted_tree.rs"
[[test]]
name = "asv_bruteforce_tests"
path = "tests/asv_bruteforce_tests.rs"
[[test]]
name = "graph_tests"
path = "tests/graph_tests.rs"
[[test]]
name = "sampler_tests"
path = "tests/sampler_tests.rs"
[[test]]
name = "topo_tests"
path = "tests/topo_tests.rs"
[[test]]
name = "tree_exact_tests"
path = "tests/tree_exact_tests.rs"
[[bench]]
name = "asv_bench"
path = "benches/asv_bench.rs"
harness = false
[dependencies.indexmap]
version = "2"
[dependencies.pyo3]
version = "0.23"
features = ["extension-module"]
optional = true
[dependencies.rand]
version = "0.8"
[dependencies.rand_chacha]
version = "0.3"
[dependencies.thiserror]
version = "1"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]