-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
132 lines (109 loc) · 2.84 KB
/
Cargo.toml
File metadata and controls
132 lines (109 loc) · 2.84 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
[workspace]
members = ["crates/*"]
resolver = "3"
[workspace.package]
version = "0.2.0"
authors = ["nekitdev <nekit@nekit.dev>"]
rust-version = "1.90"
edition = "2024"
repository = "https://github.com/nekitdev/graphs"
license = "MIT"
[workspace.dependencies.indexmap]
version = "2.11.0"
default-features = false
[workspace.dependencies.serde]
version = "1.0.219"
default-features = false
[workspace.dependencies.thiserror]
version = "2.0.16"
default-features = false
[workspace.dependencies.graphs-core]
path = "crates/graphs-core"
version = "0.2.0"
default-features = false
[workspace.dependencies.graphs-algorithms]
path = "crates/graphs-algorithms"
version = "0.2.0"
default-features = false
[workspace.dependencies.graphs-bits]
path = "crates/graphs-bits"
version = "0.2.0"
default-features = false
[workspace.dependencies.graphs-map]
path = "crates/graphs-map"
version = "0.2.0"
default-features = false
[workspace.dependencies.graphs-simple]
path = "crates/graphs-simple"
version = "0.2.0"
default-features = false
[workspace.dependencies.graphs-stable]
path = "crates/graphs-stable"
version = "0.2.0"
default-features = false
[workspace.dependencies.graphs-traversal]
path = "crates/graphs-traversal"
version = "0.2.0"
default-features = false
[workspace.dependencies.graphs-union-find]
path = "crates/graphs-union-find"
version = "0.2.0"
default-features = false
[package]
name = "graphs"
version.workspace = true
authors.workspace = true
rust-version.workspace = true
edition.workspace = true
description = "Graph data structures and algorithms."
documentation = "https://docs.rs/graphs"
readme = "README.md"
repository.workspace = true
license.workspace = true
keywords = ["graph", "algorithm", "data-structure"]
categories = ["algorithms", "data-structures"]
[dependencies.graphs-core]
workspace = true
[dependencies.graphs-algorithms]
workspace = true
optional = true
[dependencies.graphs-bits]
workspace = true
optional = true
[dependencies.graphs-simple]
workspace = true
optional = true
[dependencies.graphs-stable]
workspace = true
optional = true
[dependencies.graphs-map]
workspace = true
optional = true
[dependencies.graphs-traversal]
workspace = true
optional = true
[dependencies.graphs-union-find]
workspace = true
optional = true
[features]
# TODO: add "std" here
default = ["simple"]
std = [
"graphs-algorithms?/std",
"graphs-bits?/std",
"graphs-simple?/std",
"graphs-stable?/std",
"graphs-map?/std",
"graphs-traversal?/std",
"graphs-union-find?/std"
]
algorithms = ["dep:graphs-algorithms"]
bits = ["dep:graphs-bits"]
simple = ["dep:graphs-simple"]
stable = ["dep:graphs-stable"]
map = ["dep:graphs-map"]
traversal = ["dep:graphs-traversal"]
union-find = ["dep:graphs-union-find"]
[package.metadata.docs.rs]
features = ["algorithms", "bits", "simple", "stable", "map", "traversal", "union-find"]
rustdoc-args = ["--cfg", "docsrs"]