forked from TijlJappens/petgraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
100 lines (79 loc) · 2.59 KB
/
Cargo.toml
File metadata and controls
100 lines (79 loc) · 2.59 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
[package]
name = "petgraph"
version = "0.8.2"
readme = "README.md"
license = "MIT OR Apache-2.0"
authors = { workspace = true }
description = "Graph data structure library. Provides graph types and graph algorithms."
documentation = "https://docs.rs/petgraph/"
repository = "https://github.com/petgraph/petgraph"
keywords = ["data-structure", "graph", "unionfind", "graph-algorithms"]
categories = ["data-structures"]
rust-version = { workspace = true }
edition = { workspace = true }
[package.metadata.docs.rs]
features = ["rayon", "serde-1", "quickcheck"]
[package.metadata.release]
no-dev-version = true
[workspace.package]
rust-version = "1.64"
edition = "2021"
authors = ["bluss", "mitchmindtree"]
[workspace]
members = [".", "serialization-tests"]
[lib]
bench = false
name = "petgraph"
[profile.release]
[profile.bench]
debug = true
[dependencies]
fixedbitset = { version = "0.5.7", default-features = false }
indexmap = { version = "2.5.0", default-features = false }
hashbrown = { version = "^0.15.0", default-features = false, features = ["default-hasher", "inline-more"] }
quickcheck = { optional = true, version = "0.8", default-features = false }
serde = { version = "1.0", default-features = false, optional = true }
serde_derive = { version = "1.0", default-features = false, optional = true }
rayon = { version = "1.5.3", optional = true }
dot-parser = { version = "0.5.1", optional = true }
dot-parser-macros = { version = "0.5.1", optional = true }
[dev-dependencies]
bincode = "1.3.3"
defmac = "0.2.1"
itertools = { version = "0.12.1", default-features = false }
odds = { version = "0.4.0" }
rand = "0.5.5"
ahash = "0.7.2"
fxhash = "0.2.1"
[features]
rayon = ["std", "dep:rayon", "indexmap/rayon", "hashbrown/rayon"]
dot_parser = ["std", "dep:dot-parser", "dep:dot-parser-macros"]
# feature flags for testing use only
all = [
"unstable",
"quickcheck",
"matrix_graph",
"stable_graph",
"graphmap",
"rayon",
"dot_parser",
]
default = ["std", "graphmap", "stable_graph", "matrix_graph"]
generate = [] # For unstable features
graphmap = []
matrix_graph = []
quickcheck = ["std", "dep:quickcheck", "graphmap", "stable_graph"]
serde-1 = ["serde", "serde_derive"]
stable_graph = ["serde?/alloc"]
unstable = ["generate"]
std = ["indexmap/std"]
[lints.clippy]
alloc_instead_of_core = "warn"
std_instead_of_alloc = "warn"
std_instead_of_core = "warn"
[package.metadata.cargo-semver-checks.lints]
# Lint temporarily disabled, as this bug is causing false positives:
# https://github.com/obi1kenobi/cargo-semver-checks/issues/1200
#
# TODO: re-enable once the bug is fixed
trait_newly_sealed = "allow"