[package]
edition = "2024"
rust-version = "1.85"
name = "causasv"
version = "0.8.9"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Causal feature attribution via Asymmetric Shapley Values (ASV) over DAGs — Rust + Python"
homepage = "https://github.com/kent-tokyo/causasv"
documentation = "https://docs.rs/causasv"
readme = "README.md"
keywords = [
"shapley",
"causal",
"shap",
"feature-importance",
"explainability",
]
categories = [
"science",
"algorithms",
"artificial-intelligence",
"mathematics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/kent-tokyo/causasv"
[package.metadata.docs.rs]
features = []
rustdoc-args = [
"--cfg",
"docsrs",
]
[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 = "approx_accuracy_tests"
path = "tests/approx_accuracy_tests.rs"
[[test]]
name = "approx_batch_tests"
path = "tests/approx_batch_tests.rs"
[[test]]
name = "approx_stability_tests"
path = "tests/approx_stability_tests.rs"
[[test]]
name = "asv_bruteforce_tests"
path = "tests/asv_bruteforce_tests.rs"
[[test]]
name = "cpdag_property_tests"
path = "tests/cpdag_property_tests.rs"
[[test]]
name = "cpdag_tests"
path = "tests/cpdag_tests.rs"
[[test]]
name = "d_convex_property_tests"
path = "tests/d_convex_property_tests.rs"
[[test]]
name = "d_convex_tests"
path = "tests/d_convex_tests.rs"
[[test]]
name = "dag_dp_sparse_tests"
path = "tests/dag_dp_sparse_tests.rs"
[[test]]
name = "dag_dp_tests"
path = "tests/dag_dp_tests.rs"
[[test]]
name = "exact_tree_feasibility_tests"
path = "tests/exact_tree_feasibility_tests.rs"
[[test]]
name = "golden_tests"
path = "tests/golden_tests.rs"
[[test]]
name = "graph_tests"
path = "tests/graph_tests.rs"
[[test]]
name = "large_dag_approx_tests"
path = "tests/large_dag_approx_tests.rs"
[[test]]
name = "property_tests"
path = "tests/property_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"
[[test]]
name = "uniform_sampler_tests"
path = "tests/uniform_sampler_tests.rs"
[[bench]]
name = "asv_bench"
path = "benches/asv_bench.rs"
harness = false
[[bench]]
name = "d_convex_bench"
path = "benches/d_convex_bench.rs"
harness = false
[dependencies.indexmap]
version = "2"
[dependencies.pyo3]
version = "0.29"
features = ["extension-module"]
optional = true
[dependencies.rand]
version = "0.10"
[dependencies.rayon]
version = "1"
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1"