graphina 0.4.0-alpha.2

A graph data science library for Rust
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 = "2024"
rust-version = "1.85.0"
name = "graphina"
version = "0.4.0-alpha.2"
authors = ["Hassan Abedi <hassan.abedi.t@gmail.com>"]
build = false
include = [
    "docs/**/*",
    "src/**/*",
    "Cargo.toml",
    "README.md",
    "LICENSE-MIT",
    "LICENSE-APACHE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A graph data science library for Rust"
homepage = "https://github.com/habedi/graphina"
documentation = "https://docs.rs/graphina"
readme = "README.md"
keywords = [
    "graph-theory",
    "data-science",
    "graph-algorithms",
    "graph-analytics",
]
categories = [
    "data-structures",
    "algorithms",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/habedi/graphina"
resolver = "2"

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

[package.metadata.rustfmt]
hard_tabs = false
max_width = 100
tab_spaces = 4

[features]
all = [
    "centrality",
    "community",
    "links",
    "approximation",
    "parallel",
    "metrics",
    "mst",
    "traversal",
    "subgraphs",
]
approximation = []
centrality = []
community = []
default = []
links = []
logging = []
metrics = []
mst = []
parallel = []
subgraphs = []
traversal = []

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

[dependencies.bincode]
version = "=2.0.1"
features = ["serde"]

[dependencies.ctor]
version = "=0.6.0"

[dependencies.nalgebra]
version = "=0.33.2"

[dependencies.ordered-float]
version = "5.0.0"

[dependencies.petgraph]
version = "0.8.3"
features = [
    "graphmap",
    "stable_graph",
    "matrix_graph",
    "serde-1",
    "rayon",
]

[dependencies.rand]
version = "=0.9.3"

[dependencies.rayon]
version = "1.10.0"

[dependencies.rustc-hash]
version = "2.1.1"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.sprs]
version = "0.11.3"

[dependencies.thiserror]
version = "2.0"

[dependencies.tracing]
version = "0.1.41"

[dependencies.tracing-subscriber]
version = "0.3.19"

[dev-dependencies.criterion]
version = "=0.7.0"
features = ["html_reports"]

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

[profile.bench]
inherits = "release"

[profile.example]
inherits = "release"

[profile.release]
lto = true
codegen-units = 1
panic = "unwind"
strip = "debuginfo"

[profile.test]
debug = 2