[package]
edition = "2021"
rust-version = "1.56"
name = "safegraph"
version = "0.1.0"
authors = ["yasuo-ozu <yasuo@ozu.email>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A type-safe, scope-aware graph library that leverages Rust's type system to prevent common graph-related bugs at compile time"
homepage = "https://github.com/yasuo-ozu/safegraph"
documentation = "https://docs.rs/safegraph"
readme = "README.md"
keywords = [
"graph",
"algorithm",
"data-structure",
"type-safe",
"scope",
]
categories = [
"data-structures",
"algorithms",
]
license = "MIT"
repository = "https://github.com/yasuo-ozu/safegraph"
[features]
default = ["matrix"]
matrix = ["sprs"]
[lib]
name = "safegraph"
path = "src/lib.rs"
[[example]]
name = "remove_edges_probe"
path = "examples/remove_edges_probe.rs"
[[example]]
name = "scoped_creation_remove_probe"
path = "examples/scoped_creation_remove_probe.rs"
[[example]]
name = "scoped_vs_checked_probe"
path = "examples/scoped_vs_checked_probe.rs"
[[test]]
name = "btree"
path = "tests/btree.rs"
[[test]]
name = "context"
path = "tests/context.rs"
[[test]]
name = "edge"
path = "tests/edge.rs"
[[test]]
name = "graph_macro"
path = "tests/graph_macro.rs"
[[test]]
name = "new_features"
path = "tests/new_features.rs"
[[test]]
name = "raw_graph"
path = "tests/raw_graph.rs"
[[test]]
name = "raw_graph_hyper"
path = "tests/raw_graph_hyper.rs"
[[test]]
name = "stabilized"
path = "tests/stabilized.rs"
[[test]]
name = "swap_no_patch"
path = "tests/swap_no_patch.rs"
[[test]]
name = "swap_remove_bug"
path = "tests/swap_remove_bug.rs"
[[test]]
name = "ui"
path = "tests/ui.rs"
harness = false
[[test]]
name = "vec"
path = "tests/vec.rs"
[[test]]
name = "zero_cost"
path = "tests/zero_cost.rs"
[[bench]]
name = "graph_benchmark"
path = "benchmark/main.rs"
harness = false
[dependencies.num-traits]
version = "0.2"
[dependencies.rustversion]
version = "1"
[dependencies.safegraph-macros]
version = "0.1.0"
[dependencies.sprs]
version = "0.11"
optional = true
default-features = false
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.ir-assert]
version = "0.1"
[dev-dependencies.petgraph]
version = "0.6"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.ui_test]
version = "0.30.7"