-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathCargo.toml
57 lines (49 loc) · 1.77 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
49
50
51
52
53
54
55
56
57
[package]
name = "trustfall-rustdoc-adapter"
version = "37.3.0"
edition = "2021"
authors = ["Predrag Gruevski <obi1kenobi82@gmail.com>"]
license = "Apache-2.0 OR MIT"
description = "Trustfall query adapter for rustdoc JSON data."
repository = "https://github.com/obi1kenobi/trustfall-rustdoc-adapter"
readme = "./README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
rayon = { version = "1.10.0", optional = true }
rustc-hash = { version = "2.0.0", optional = true }
cargo_toml = { version = "0.21.0", features = ["features"] }
# Packages in our public API, where bumping a major version is a breaking change.
# Extra spacing included to minimize the chance of merge conflicts.
#
trustfall = "0.8.0"
cargo_metadata = "0.19.1"
#
# Keep this dependency last, its own block, since we change it often via automated means
# and we'd like to avoid merge conflicts.
#
rustdoc-types = "0.33.0"
#
# No dependencies after this point. Put all dependencies above this section.
#
[features]
default = []
# Enable rayon for speeding up building `IndexedCrate`, this massively improves
# performance on big crates, but may impact performance on small crates and
# definitely increases the memory usage
rayon = ["dep:rayon"]
# Use rustc-hash::{FxHashMap, FxHashSet} internally for improved performance
rustc-hash = ["dep:rustc-hash", "rustdoc-types/rustc-hash"]
[[bench]]
name = "indexed_crate"
harness = false
[profile.bench]
debug = 1 # We only need function name information (for flamegraphs)
[dev-dependencies]
anyhow = "1.0.89"
criterion = "0.5.1"
itertools = "0.13.0"
serde_json = "1.0.128"
serde = { version = "1.0.210", features = ["derive"] }
maplit = "1.0.2"
version_check = "0.9.5"
similar-asserts = { version = "1.6.0", features = ["serde"] }