-
Notifications
You must be signed in to change notification settings - Fork 16
/
Cargo.toml
35 lines (30 loc) · 1001 Bytes
/
Cargo.toml
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
[package]
name = "fdg"
version = "1.0.0"
edition = "2021"
authors = [ "Grant Handy <[email protected]>" ]
license = "MIT"
description = "A flexible force-directed graph drawing library"
repository = "https://github.com/grantshandy/fdg/"
documentation = "https://docs.rs/fdg/"
keywords = [ "graph", "force", "directed", "viz" ]
categories = [ "visualization" ]
readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
nalgebra = { version = "0.32.3", features = ["rand"] }
petgraph = { version = "0.6.4", features = ["stable_graph"], default-features = false }
num-traits = "0.2.17"
rand = "0.8.5"
rustc-hash = "1.1.0"
rayon = { version = "1.8.0", optional = true }
[dev-dependencies]
macroquad = "0.4.4"
petgraph-gen = "0.1.3"
[features]
rayon = ["dep:rayon"]
serde = ["petgraph/serde", "nalgebra/serde-serialize"]
default = ["rayon"]