-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
51 lines (47 loc) · 2.18 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
[package]
name = "trustfall_rustdoc"
version = "0.20.0"
edition = "2021"
authors = ["Predrag Gruevski <obi1kenobi82@gmail.com>"]
license = "Apache-2.0 OR MIT"
description = "Run Trustfall queries across multiple rustdoc JSON format versions."
repository = "https://github.com/obi1kenobi/trustfall-rustdoc"
readme = "./README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
serde_json = "1.0.128"
# All of the packages below are in our public API,
# so bumping major versions for any of them is a major breaking change.
anyhow = "1.0.89"
cargo_metadata = "0.19.1"
serde = { version = "1.0.210", features = ["derive"] }
thiserror = "2.0.3"
trustfall = "0.8.0"
trustfall-rustdoc-adapter-v32 = { package = "trustfall-rustdoc-adapter", version = ">=32.5.0,<32.6.0", optional = true }
trustfall-rustdoc-adapter-v33 = { package = "trustfall-rustdoc-adapter", version = ">=33.5.0,<33.6.0", optional = true }
trustfall-rustdoc-adapter-v35 = { package = "trustfall-rustdoc-adapter", version = ">=35.4.0,<35.5.0", optional = true }
trustfall-rustdoc-adapter-v36 = { package = "trustfall-rustdoc-adapter", version = ">=36.4.0,<36.5.0", optional = true }
trustfall-rustdoc-adapter-v37 = { package = "trustfall-rustdoc-adapter", version = ">=37.2.0,<37.3.0", optional = true }
[features]
default = ["v32", "v33", "v35", "v36", "v37"]
rayon = [
"trustfall-rustdoc-adapter-v32?/rayon",
"trustfall-rustdoc-adapter-v33?/rayon",
"trustfall-rustdoc-adapter-v35?/rayon",
"trustfall-rustdoc-adapter-v36?/rayon",
"trustfall-rustdoc-adapter-v37?/rayon",
]
rustc-hash = [
"trustfall-rustdoc-adapter-v32?/rustc-hash",
"trustfall-rustdoc-adapter-v33?/rustc-hash",
"trustfall-rustdoc-adapter-v35?/rustc-hash",
"trustfall-rustdoc-adapter-v36?/rustc-hash",
"trustfall-rustdoc-adapter-v37?/rustc-hash",
]
# Keep this list of rustdoc version-specific features at the bottom,
# to ensure our version-updating automation works correctly.
v32 = ["dep:trustfall-rustdoc-adapter-v32"]
v33 = ["dep:trustfall-rustdoc-adapter-v33"]
v35 = ["dep:trustfall-rustdoc-adapter-v35"]
v36 = ["dep:trustfall-rustdoc-adapter-v36"]
v37 = ["dep:trustfall-rustdoc-adapter-v37"]