[package]
edition = "2024"
rust-version = "1.95"
name = "hypergraph"
version = "3.0.0"
authors = ["Davy Duperron <yamafaktory@gmail.com>"]
build = false
exclude = [
".github",
"hypergraph.svg",
"rustfmt.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hypergraph is data structure library to create a directed hypergraph in which an hyperedge can join any number of vertices."
readme = "README.md"
keywords = [
"data-structure",
"graph",
"hypergraph",
]
categories = [
"data-structures",
"mathematics",
"science",
]
license = "MIT"
repository = "https://github.com/yamafaktory/hypergraph"
[features]
serde = [
"dep:serde",
"indexmap/serde",
]
[lib]
name = "hypergraph"
path = "src/lib.rs"
[[test]]
name = "integration_contraction"
path = "tests/integration_contraction.rs"
[[test]]
name = "integration_dijkstra"
path = "tests/integration_dijkstra.rs"
[[test]]
name = "integration_iterator"
path = "tests/integration_iterator.rs"
[[test]]
name = "integration_join"
path = "tests/integration_join.rs"
[[test]]
name = "integration_main"
path = "tests/integration_main.rs"
[[test]]
name = "integration_new_features"
path = "tests/integration_new_features.rs"
[[test]]
name = "integration_serde"
path = "tests/integration_serde.rs"
[[bench]]
name = "performance"
path = "benches/performance.rs"
harness = false
[dependencies.ahash]
version = "0.8.12"
[dependencies.indexmap]
version = "2.14.0"
features = ["rayon"]
[dependencies.itertools]
version = "0.14.0"
[dependencies.rayon]
version = "1.12.0"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true
[dependencies.thiserror]
version = "2.0.18"
[dev-dependencies.criterion]
version = "0.8.2"
[dev-dependencies.serde_json]
version = "1.0.149"
[lints.clippy]
all = "deny"
pedantic = "deny"
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"
[lints.rust.nonstandard_style]
level = "deny"
priority = -1
[lints.rust.rust_2024_compatibility]
level = "forbid"
priority = -1