[package] name = "trustfall_rustdoc" version = "0.17.0" edition = "2021" authors = ["Predrag Gruevski "] 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] anyhow = "1.0.89" serde_json = "1.0.128" serde = { version = "1.0.210", features = ["derive"] } trustfall = "0.8.0" trustfall-rustdoc-adapter-v30 = { package = "trustfall-rustdoc-adapter", version = ">=30.2.0,<30.3.0", optional = true } trustfall-rustdoc-adapter-v32 = { package = "trustfall-rustdoc-adapter", version = ">=32.2.0,<32.3.0", optional = true } trustfall-rustdoc-adapter-v33 = { package = "trustfall-rustdoc-adapter", version = ">=33.2.0,<33.3.0", optional = true } trustfall-rustdoc-adapter-v34 = { package = "trustfall-rustdoc-adapter", version = ">=34.1.0,<34.2.0", optional = true } trustfall-rustdoc-adapter-v35 = { package = "trustfall-rustdoc-adapter", version = ">=35.1.0,<35.2.0", optional = true } trustfall-rustdoc-adapter-v36 = { package = "trustfall-rustdoc-adapter", version = ">=36.1.0,<36.2.0", optional = true } [features] default = ["v30", "v32", "v33", "v34", "v35", "v36"] rayon = [ "trustfall-rustdoc-adapter-v30?/rayon", "trustfall-rustdoc-adapter-v32?/rayon", "trustfall-rustdoc-adapter-v33?/rayon", "trustfall-rustdoc-adapter-v34?/rayon", "trustfall-rustdoc-adapter-v35?/rayon", "trustfall-rustdoc-adapter-v36?/rayon", ] rustc-hash = [ "trustfall-rustdoc-adapter-v30?/rustc-hash", "trustfall-rustdoc-adapter-v32?/rustc-hash", "trustfall-rustdoc-adapter-v33?/rustc-hash", "trustfall-rustdoc-adapter-v34?/rustc-hash", "trustfall-rustdoc-adapter-v35?/rustc-hash", "trustfall-rustdoc-adapter-v36?/rustc-hash", ] # Keep this list of rustdoc version-specific features at the bottom, # to ensure our version-updating automation works correctly. v30 = ["dep:trustfall-rustdoc-adapter-v30"] v32 = ["dep:trustfall-rustdoc-adapter-v32"] v33 = ["dep:trustfall-rustdoc-adapter-v33"] v34 = ["dep:trustfall-rustdoc-adapter-v34"] v35 = ["dep:trustfall-rustdoc-adapter-v35"] v36 = ["dep:trustfall-rustdoc-adapter-v36"]