generated from EmbarkStudios/opensource-template
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Cargo.toml
48 lines (45 loc) 路 1.49 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
[package]
name = "krates"
version = "0.12.3"
description = "Create graphs of crates gathered from cargo metadata"
authors = [
"Embark <opensource@embark-studios.com>",
"Jake Shadle <jake.shadle@embark-studios.com>",
]
edition = "2021"
repository = "https://github.com/EmbarkStudios/krates"
license = "MIT OR Apache-2.0"
readme = "README.md"
documentation = "https://docs.rs/krates"
homepage = "https://github.com/EmbarkStudios/krates"
keywords = ["cargo", "metadata", "graph"]
categories = ["visualization"]
exclude = [".github", "tests"]
[features]
default = []
# Uses the index as the source of truth for what features are available for a crate
prefer-index = ["crates-index"]
# Adds support for filtering target specific dependencies
targets = ["cfg-expr/targets"]
#features = []
[dependencies]
# Used for acquiring and/or deserializing `cargo metadata` output
cargo_metadata = "0.15"
# Used to parse and evaluate cfg() expressions for dependencies
cfg-expr = "0.11"
# Allows inspection of the cargo registry index(ices)
crates-index = { version = "0.18", optional = true, default-features = false, features = [
"parallel",
] }
# Used to create and traverse graph structures
petgraph = "0.6"
# Used for checking version requirements
semver = "1.0"
[dev-dependencies]
# Example CLI
clap = { version = "4.0", features = ["derive"] }
insta = "1.21"
# Used to print colored diffs in case of test failures
similar-asserts = "1.1"
# Used to deserialize test files into metadata we can load
serde_json = "1.0"