[package]
edition = "2024"
rust-version = "1.95"
name = "hypergraph"
version = "4.2.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]
persistence = [
"serde",
"dep:fjall",
"dep:quick_cache",
"dep:postcard",
]
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_disk"
path = "tests/integration_disk.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_query_trait"
path = "tests/integration_query_trait.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.fjall]
version = "3.1.4"
optional = true
[dependencies.indexmap]
version = "2.14.0"
features = ["rayon"]
[dependencies.itertools]
version = "0.14.0"
[dependencies.postcard]
version = "1.1.3"
features = ["alloc"]
optional = true
[dependencies.quick_cache]
version = "0.6.22"
optional = true
[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.150"
[dev-dependencies.tempfile]
version = "3.27.0"
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"
unused_imports = "deny"
[lints.rust.nonstandard_style]
level = "deny"
priority = -1
[lints.rust.rust_2024_compatibility]
level = "forbid"
priority = -1