forked from habedi/graphina
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
108 lines (92 loc) · 2.19 KB
/
Cargo.toml
File metadata and controls
108 lines (92 loc) · 2.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[package]
name = "graphina"
version = "0.3.0-alpha.5"
description = "A graph data science library for Rust"
repository = "https://github.com/habedi/graphina"
license = "MIT OR Apache-2.0"
readme = "README.md"
keywords = ["graph-theory", "data-science", "graph-algorithms", "graph-analytics"]
authors = ["Hassan Abedi <hassan.abedi.t@gmail.com>"]
homepage = "https://github.com/habedi/graphina"
documentation = "https://docs.rs/graphina"
categories = ["data-structures", "algorithms"]
edition = "2024"
rust-version = "1.86.0"
resolver = "2"
include = [
"docs/**/*",
"src/**/*",
"Cargo.toml",
"README.md",
"LICENSE-MIT",
"LICENSE-APACHE"
]
[lib]
name = "graphina"
path = "src/lib.rs"
[features]
default = []
binaries = []
logging = []
centrality = []
community = []
links = []
approximation = []
parallel = []
visualization = ["plotters"]
metrics = []
mst = []
traversal = []
subgraphs = []
pool = []
all = ["centrality", "community", "links", "approximation", "parallel", "visualization", "metrics", "mst", "traversal", "subgraphs"]
[dependencies]
ctor = "0.6.0"
tracing = "0.1.41"
tracing-subscriber = "0.3.19"
rand = "0.9.0"
sprs = "0.11.3"
ordered-float = "5.0.0"
rayon = "1.10.0"
nalgebra = "0.33.2" # Latest version that is compatible with Rust 1.86
petgraph = { version = "0.8.3", features = ["graphmap", "stable_graph", "matrix_graph", "serde-1", "rayon"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
bincode = { version = "2.0.1", features = ["serde"] }
plotters = { version = "0.3", optional = true }
thiserror = "2.0"
[dev-dependencies]
criterion = { version = "0.7.0", features = ["html_reports"] }
proptest = "1.5.0"
[[bench]]
name = "graph_benchmarks"
harness = false
[[bench]]
name = "algorithm_benchmarks"
harness = false
[[bench]]
name = "project_benchmarks"
harness = false
[profile.release]
strip = "debuginfo"
panic = "abort"
codegen-units = 1
lto = true
[profile.test]
debug = true
[profile.bench]
inherits = "release"
[profile.example]
inherits = "release"
[package.metadata.rustfmt]
max_width = 100
hard_tabs = false
tab_spaces = 4
[workspace]
members = [
".",
"pygraphina"
]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]