xgraph 3.0.0

Graph algorithms for Rust: shortest paths, centrality, connectivity, spanning trees and community detection, over directed, undirected and heterogeneous multigraphs
Documentation
# 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 = "2021"
rust-version = "1.75"
name = "xgraph"
version = "3.0.0"
authors = ["xvi-xv-xii-ix-xxii-ix-xiv <xvi.xv.xii.ix.xxii.ix.xiv@gmail.com>"]
build = false
exclude = [
    "/.github",
    "/.gitignore",
    "/.idea",
    "/fuzz",
    "/target",
    "/RELEASE.md",
    "*.csv",
    "*.dot",
    "*.iml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Graph algorithms for Rust: shortest paths, centrality, connectivity, spanning trees and community detection, over directed, undirected and heterogeneous multigraphs"
homepage = "https://github.com/xvi-xv-xii-ix-xxii-ix-xiv/xgraph"
documentation = "https://docs.rs/xgraph"
readme = "README.md"
keywords = [
    "heterogeneous",
    "multigraph",
    "graph",
    "dijkstra",
    "network",
]
categories = [
    "data-structures",
    "algorithms",
    "science",
]
license = "MIT"
repository = "https://github.com/xvi-xv-xii-ix-xxii-ix-xiv/xgraph"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[package.metadata.release]
pre-release-commit-message = "chore(release): v{{version}}"
tag-message = "v{{version}}"
sign-tag = true
sign-commit = true

[badges.github-actions]
repository = "xvi-xv-xii-ix-xxii-ix-xiv/xgraph"
workflow = "CI"

[badges.maintenance]
status = "actively-developed"

[features]
community = ["dep:rand"]
default = [
    "graph",
    "hgraph",
    "community",
]
graph = []
hgraph = []
parallel = ["dep:rayon"]
serde = [
    "dep:serde",
    "slab/serde",
]

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

[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"
required-features = [
    "graph",
    "community",
]

[[example]]
name = "h_basic_usage"
path = "examples/h_basic_usage.rs"
required-features = [
    "hgraph",
    "community",
]

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

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

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

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

[[bench]]
name = "adjacency_matrix"
path = "benches/benchmark_adjacency_matrix.rs"
harness = false
required-features = ["graph"]

[[bench]]
name = "csr_projection"
path = "benches/benchmark_csr.rs"
harness = false
required-features = ["graph"]

[[bench]]
name = "dijkstra"
path = "benches/benchmark_dijkstra.rs"
harness = false
required-features = ["graph"]

[[bench]]
name = "graph_operations"
path = "benches/benchmark_graph.rs"
harness = false
required-features = ["graph"]

[[bench]]
name = "large_graph"
path = "benches/benchmark_large_graph.rs"
harness = false
required-features = ["graph"]

[dependencies.rand]
version = "0.9"
optional = true

[dependencies.rayon]
version = "1"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.slab]
version = "0.4.9"

[dependencies.thiserror]
version = "2"

[dev-dependencies.criterion]
version = "0.5.1"

[dev-dependencies.float-cmp]
version = "0.10"

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

[dev-dependencies.rand]
version = "0.9"

[dev-dependencies.serde_json]
version = "1"

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

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
strip = true