diff --git a/.gitignore b/.gitignore index e6ce8aa..c82fb4d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ **/*.rs.bk Cargo.lock *.snap.new +*.svg +*.dot diff --git a/CHANGELOG.md b/CHANGELOG.md index dbfc37c..e179315 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] - ReleaseDate +### Fixed +- [PR#110](https://github.com/EmbarkStudios/krates/pull/110) resolved [#109](https://github.com/EmbarkStudios/krates/issues/109) by properly enabling features of a weak dependency directly referenced by another weak feature. + ## [0.21.0] - 2026-04-01 ### Changed - [PR#107](https://github.com/EmbarkStudios/krates/pull/107) updated crates. diff --git a/Cargo.lock b/Cargo.lock index 08cfc17..364433e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9,75 +9,32 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" [[package]] -name = "anstream" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d" -dependencies = [ - "anstyle", - "anstyle-parse", - "anstyle-query", - "anstyle-wincon", - "colorchoice", - "is_terminal_polyfill", - "utf8parse", -] - -[[package]] -name = "anstyle" -version = "1.0.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000" - -[[package]] -name = "anstyle-parse" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e" -dependencies = [ - "utf8parse", -] - -[[package]] -name = "anstyle-query" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c" -dependencies = [ - "windows-sys 0.59.0", -] - -[[package]] -name = "anstyle-wincon" -version = "3.0.8" +name = "anyhow" +version = "1.0.102" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6680de5231bd6ee4c6191b8a1325daa282b415391ec9d3a37bd34f2060dc73fa" -dependencies = [ - "anstyle", - "once_cell_polyfill", - "windows-sys 0.59.0", -] +checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c" [[package]] name = "bitflags" -version = "2.9.1" +version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967" +checksum = "843867be96c8daad0d758b57df9392b6d8d271134fce549de6ce169ff98a92af" [[package]] name = "borsh" -version = "1.5.7" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad8646f98db542e39fc66e68a20b2144f6a732636df7c2354e74645faaa433ce" +checksum = "cfd1e3f8955a5d7de9fab72fc8373fade9fb8a703968cb200ae3dc6cf08e185a" dependencies = [ + "bytes", "cfg_aliases", ] [[package]] name = "bstr" -version = "1.12.0" +version = "1.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "234113d19d0d7d613b40e86fb654acf958910802bcceab913a4f9e7cda03b1a4" +checksum = "63044e1ae8e69f3b5a92c736ca6269b8d12fa7efe39bf34ddb06d102cf0e2cab" dependencies = [ "memchr", "regex-automata", @@ -111,9 +68,9 @@ dependencies = [ [[package]] name = "cfg-if" -version = "1.0.0" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" +checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" [[package]] name = "cfg_aliases" @@ -121,52 +78,6 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" -[[package]] -name = "clap" -version = "4.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b193af5b67834b676abd72466a96c1024e6a6ad978a1f484bd90b85c94041351" -dependencies = [ - "clap_builder", - "clap_derive", -] - -[[package]] -name = "clap_builder" -version = "4.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "714a53001bf66416adb0e2ef5ac857140e7dc3a0c48fb28b2f10762fc4b5069f" -dependencies = [ - "anstream", - "anstyle", - "clap_lex", - "strsim", -] - -[[package]] -name = "clap_derive" -version = "4.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1110bd8a634a1ab8cb04345d8d878267d57c3cf1b38d91b71af6686408bbca6a" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "clap_lex" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9" - -[[package]] -name = "colorchoice" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990" - [[package]] name = "console" version = "0.15.11" @@ -209,14 +120,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] name = "fastrand" -version = "2.3.0" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" +checksum = "9f1f227452a390804cdb637b74a86990f2a7d7ba4b7d5693aac9b4dd6defd8d6" [[package]] name = "fixedbitset" @@ -224,12 +135,6 @@ version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d674e81391d1e1ab681a28d99df07927c6d4aa5b027d7da16ba32d1d21ecd99" -[[package]] -name = "fnv" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" - [[package]] name = "foldhash" version = "0.1.5" @@ -238,14 +143,15 @@ checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" [[package]] name = "getrandom" -version = "0.3.3" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4" +checksum = "0de51e6874e94e7bf76d726fc5d13ba782deca734ff60d5bb2fb2607c7406555" dependencies = [ "cfg-if", "libc", "r-efi", - "wasi", + "wasip2", + "wasip3", ] [[package]] @@ -276,15 +182,20 @@ dependencies = [ [[package]] name = "http" -version = "1.3.1" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565" +checksum = "e3ba2a386d7f85a81f119ad7498ebe444d2e22c2af0b86b069416ace48b3311a" dependencies = [ "bytes", - "fnv", "itoa", ] +[[package]] +name = "id-arena" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d3067d79b975e8844ca9eb072e16b31c3c1c36928edf9c6789548c524d0d954" + [[package]] name = "indexmap" version = "2.9.0" @@ -293,6 +204,7 @@ checksum = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e" dependencies = [ "equivalent", "hashbrown", + "serde", ] [[package]] @@ -308,12 +220,6 @@ dependencies = [ "tempfile", ] -[[package]] -name = "is_terminal_polyfill" -version = "1.70.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" - [[package]] name = "itoa" version = "1.0.15" @@ -326,21 +232,35 @@ version = "0.21.0" dependencies = [ "camino", "cfg-expr", - "clap", - "insta", + "ktest", "petgraph", "semver", "serde", "serde_json", +] + +[[package]] +name = "ktest" +version = "0.1.0" +dependencies = [ + "insta", + "krates", + "serde_json", "similar-asserts", "tame-index", ] +[[package]] +name = "leb128fmt" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2" + [[package]] name = "libc" -version = "0.2.183" +version = "0.2.184" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5b646652bf6661599e1da8901b3b9522896f01e736bad5f723fe7a3a27f899d" +checksum = "48f5d2a454e16a5ea0f4ced81bd44e4cfc7bd3a507b61887c99fd3538b28e4af" [[package]] name = "linux-raw-sys" @@ -348,6 +268,12 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53" +[[package]] +name = "log" +version = "0.4.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" + [[package]] name = "memchr" version = "2.7.4" @@ -356,18 +282,9 @@ checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" [[package]] name = "once_cell" -version = "1.21.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" - -[[package]] -name = "once_cell_polyfill" -version = "1.70.0" +version = "1.21.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2611b99ab098a31bdc8be48b4f1a285ca0ced28bd5b4f23e45efa8c63b09efa5" -dependencies = [ - "once_cell", -] +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" [[package]] name = "petgraph" @@ -380,6 +297,16 @@ dependencies = [ "indexmap", ] +[[package]] +name = "prettyplease" +version = "0.2.37" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b" +dependencies = [ + "proc-macro2", + "syn", +] + [[package]] name = "proc-macro2" version = "1.0.106" @@ -400,15 +327,15 @@ dependencies = [ [[package]] name = "r-efi" -version = "5.2.0" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" [[package]] name = "regex-automata" -version = "0.4.9" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" +checksum = "6e1dd4122fc1595e8162618945476892eefca7b88c52820e74af6262213cae8f" [[package]] name = "rustc-stable-hash" @@ -426,7 +353,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -518,12 +445,6 @@ dependencies = [ "serde", ] -[[package]] -name = "strsim" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" - [[package]] name = "syn" version = "2.0.117" @@ -572,23 +493,23 @@ dependencies = [ "getrandom", "once_cell", "rustix", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] name = "thiserror" -version = "2.0.12" +version = "2.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708" +checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "2.0.12" +version = "2.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" +checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5" dependencies = [ "proc-macro2", "quote", @@ -606,9 +527,9 @@ dependencies = [ [[package]] name = "twox-hash" -version = "2.1.0" +version = "2.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7b17f197b3050ba473acf9181f7b1d3b66d1cf7356c6cc57886662276e65908" +checksum = "9ea3136b675547379c4bd395ca6b938e5ad3c3d20fad76e7fe85f9e0d011419c" [[package]] name = "unicode-ident" @@ -618,23 +539,66 @@ checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" [[package]] name = "unicode-segmentation" -version = "1.12.0" +version = "1.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9629274872b2bfaf8d66f5f15725007f635594914870f65218920345aa11aa8c" + +[[package]] +name = "unicode-xid" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" + +[[package]] +name = "wasip2" +version = "1.0.1+wasi-0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7" +dependencies = [ + "wit-bindgen 0.46.0", +] + +[[package]] +name = "wasip3" +version = "0.4.0+wasi-0.3.0-rc-2026-01-06" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" +checksum = "5428f8bf88ea5ddc08faddef2ac4a67e390b88186c703ce6dbd955e1c145aca5" +dependencies = [ + "wit-bindgen 0.51.0", +] [[package]] -name = "utf8parse" -version = "0.2.2" +name = "wasm-encoder" +version = "0.244.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" +checksum = "990065f2fe63003fe337b932cfb5e3b80e0b4d0f5ff650e6985b1048f62c8319" +dependencies = [ + "leb128fmt", + "wasmparser", +] [[package]] -name = "wasi" -version = "0.14.2+wasi-0.2.4" +name = "wasm-metadata" +version = "0.244.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3" +checksum = "bb0e353e6a2fbdc176932bbaab493762eb1255a7900fe0fea1a2f96c296cc909" dependencies = [ - "wit-bindgen-rt", + "anyhow", + "indexmap", + "wasm-encoder", + "wasmparser", +] + +[[package]] +name = "wasmparser" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47b807c72e1bac69382b3a6fb3dbe8ea4c0ed87ff5629b8685ae6b9a611028fe" +dependencies = [ + "bitflags", + "hashbrown", + "indexmap", + "semver", ] [[package]] @@ -726,12 +690,97 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] -name = "wit-bindgen-rt" -version = "0.39.0" +name = "wit-bindgen" +version = "0.46.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59" + +[[package]] +name = "wit-bindgen" +version = "0.51.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1" +checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5" dependencies = [ + "wit-bindgen-rust-macro", +] + +[[package]] +name = "wit-bindgen-core" +version = "0.51.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea61de684c3ea68cb082b7a88508a8b27fcc8b797d738bfc99a82facf1d752dc" +dependencies = [ + "anyhow", + "heck", + "wit-parser", +] + +[[package]] +name = "wit-bindgen-rust" +version = "0.51.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7c566e0f4b284dd6561c786d9cb0142da491f46a9fbed79ea69cdad5db17f21" +dependencies = [ + "anyhow", + "heck", + "indexmap", + "prettyplease", + "syn", + "wasm-metadata", + "wit-bindgen-core", + "wit-component", +] + +[[package]] +name = "wit-bindgen-rust-macro" +version = "0.51.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c0f9bfd77e6a48eccf51359e3ae77140a7f50b1e2ebfe62422d8afdaffab17a" +dependencies = [ + "anyhow", + "prettyplease", + "proc-macro2", + "quote", + "syn", + "wit-bindgen-core", + "wit-bindgen-rust", +] + +[[package]] +name = "wit-component" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d66ea20e9553b30172b5e831994e35fbde2d165325bec84fc43dbf6f4eb9cb2" +dependencies = [ + "anyhow", "bitflags", + "indexmap", + "log", + "serde", + "serde_derive", + "serde_json", + "wasm-encoder", + "wasm-metadata", + "wasmparser", + "wit-parser", +] + +[[package]] +name = "wit-parser" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ecc8ac4bc1dc3381b7f59c34f00b67e18f910c2c0f50015669dde7def656a736" +dependencies = [ + "anyhow", + "id-arena", + "indexmap", + "log", + "semver", + "serde", + "serde_derive", + "serde_json", + "unicode-xid", + "wasmparser", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index ed6846f..fa5a580 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,15 +36,7 @@ serde = "1.0" serde_json = "1.0" [dev-dependencies] -# Example CLI -clap = { version = "4.6", features = ["derive"] } -insta = { version = "1.47", features = ["json"] } -# Used to print colored diffs in case of test failures -similar-asserts = "1.6" -# Used to deserialize test files into metadata we can load -serde_json = "1.0" -# index metadata retrieval -tame-index = "0.26" +ktest = { path = "./ktest" } [profile.dev.package.insta] opt-level = 3 diff --git a/examples/graph.rs b/examples/graph.rs deleted file mode 100644 index 0ea8e0f..0000000 --- a/examples/graph.rs +++ /dev/null @@ -1,87 +0,0 @@ -use clap::Parser; -use std::fmt; - -/// Simple program to greet a person -#[derive(Parser, Debug)] -struct Args { - #[arg(short, long)] - manifest_path: Option, - #[arg(long)] - features: Vec, - #[arg(long)] - all_features: bool, - #[arg(long)] - no_default_features: bool, - #[arg(long)] - no_dev: bool, - #[arg(long, conflicts_with = "manifest_path")] - json: Option, -} - -pub struct Simple { - id: krates::Kid, - //features: HashMap>, -} - -pub type Graph = krates::Krates; - -impl From for Simple { - fn from(pkg: krates::cm::Package) -> Self { - Self { - id: pkg.id.into(), - //features: pkg.fee - } - } -} - -impl fmt::Display for Simple { - fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - f.write_str(&self.id.repr) - } -} - -fn main() { - let args = Args::parse(); - - let graph: Graph = if let Some(manifest_path) = args.manifest_path { - let cmd = { - let mut cmd = krates::Cmd::new(); - if args.all_features { - cmd.all_features(); - } - if args.no_default_features { - cmd.no_default_features(); - } - if !args.features.is_empty() { - cmd.features(args.features); - } - cmd.manifest_path(manifest_path); - cmd - }; - - let mut builder = krates::Builder::new(); - if args.no_dev { - builder.ignore_kind(krates::DepKind::Dev, krates::Scope::All); - } - - builder.build(cmd, krates::NoneFilter).unwrap() - } else if let Some(json) = args.json { - let mut builder = krates::Builder::new(); - if args.no_dev { - builder.ignore_kind(krates::DepKind::Dev, krates::Scope::All); - } - - let json = std::fs::read(json).expect("failed to read json"); - let md: krates::cm::Metadata = - serde_json::from_slice(&json).expect("failed to deserialize metadata from json"); - - builder.build_with_metadata(md, krates::NoneFilter).unwrap() - } else { - panic!("must specify either --manifest-path or --json"); - }; - - let dot = krates::petgraph::dot::Dot::new(graph.graph()).to_string(); - - use std::io::Write; - std::io::stdout().write_all(dot.as_bytes()).unwrap(); -} diff --git a/ktest/Cargo.toml b/ktest/Cargo.toml new file mode 100644 index 0000000..9a8b205 --- /dev/null +++ b/ktest/Cargo.toml @@ -0,0 +1,14 @@ +[package] +name = "ktest" +version = "0.1.0" +edition = "2024" + +[dependencies] +krates = { path = "../" } +insta = { version = "1.47", features = ["json"] } +# Used to print colored diffs in case of test failures +similar-asserts = "1.7" +# Used to deserialize test files into metadata we can load +serde_json = "1.0" +# index metadata retrieval +tame-index = "0.26" \ No newline at end of file diff --git a/ktest/src/lib.rs b/ktest/src/lib.rs new file mode 100644 index 0000000..f8312bb --- /dev/null +++ b/ktest/src/lib.rs @@ -0,0 +1,73 @@ +pub use insta::{self, assert_snapshot}; +pub use similar_asserts; +pub mod util; + +pub use util::JustId; + +#[macro_export] +macro_rules! assert_dotgraph { + ($cmd:expr) => { + let kb = krates::Builder::new(); + $crate::assert_dotgraph!(kb, $cmd); + }; + + ($path:literal, $builder:expr) => {{ + let grafs = $crate::util::build($path, $builder).unwrap(); + $crate::do_assert!(&grafs.dotgraph()); + }}; + + (default $path:literal) => { + $crate::assert_dotgraph!($path, krates::Builder::new()); + }; + + ($builder:expr, $cmd:expr) => { + let md: krates::Krates<$crate::JustId> = $builder.build($cmd, krates::NoneFilter).unwrap(); + $crate::do_assert!(&krates::petgraph::dot::Dot::new(md.graph()).to_string()); + }; +} + +#[macro_export] +macro_rules! do_assert { + ($val:expr) => { + let res = std::panic::catch_unwind(|| $crate::assert_snapshot!($val)); + + if let Err(err) = res { + let fname = $crate::insta::_function_name!(); + let mname = $crate::insta::_macro_support::module_path!(); + + let (_, fname) = fname.rsplit_once("::").unwrap(); + let mut name = String::with_capacity(64); + for comp in mname.split("::") { + if !name.is_empty() { + name.push_str("__"); + } + + name.push_str(comp); + } + + name.push_str("__"); + name.push_str(fname); + + let mut root = + std::fs::canonicalize(std::path::Path::new("./tests/snapshots")).unwrap(); + root.push(name); + + // AFAICT dot can't take stdin + root.set_extension("dot"); + std::fs::write(&root, $val.as_bytes()).unwrap(); + + let out = std::process::Command::new("dot") + .arg("-Tsvg") + .arg(&root) + .output() + .unwrap(); + + root.set_extension("svg"); + std::fs::write(&root, out.stdout).unwrap(); + + eprintln!("file://{}", root.to_str().unwrap()); + + std::panic::resume_unwind(err); + } + }; +} diff --git a/tests/util.rs b/ktest/src/util.rs similarity index 100% rename from tests/util.rs rename to ktest/src/util.rs diff --git a/src/builder.rs b/src/builder.rs index 868929e..e950e6d 100644 --- a/src/builder.rs +++ b/src/builder.rs @@ -919,16 +919,39 @@ impl Builder { // entirely, and thus have to basically re-resolve the crates + features // to avoid adding nodes/edges that shouldn't exist based on the caller's // configuration (eg. https://github.com/EmbarkStudios/krates/issues/60) - let mut visit_stack = Vec::with_capacity(roots.len()); + struct VisitStack<'s> { + v: Vec<(&'s Kid, Option)>, + } + + impl<'s> VisitStack<'s> { + #[inline] + fn push(&mut self, kid: &'s Kid) { + self.v.push((kid, None)); + } + + #[inline] + fn push_with_feature(&mut self, kid: &'s Kid, feat: usize) { + self.v.push((kid, Some(feat))); + } + + #[inline] + fn pop(&mut self) -> Option<(&'s Kid, Option)> { + self.v.pop() + } + } + + let mut visit_stack = VisitStack { + v: Vec::with_capacity(roots.len()), + }; for root in &roots { let krate_index = nodes.binary_search_by(|n| n.id.cmp(root)).unwrap(); let rnode = &nodes[krate_index]; - visit_stack.push((*root, None)); + visit_stack.push(root); for feat in 0..rnode.features.len() { - visit_stack.push((*root, Some(feat))); + visit_stack.push_with_feature(root, feat); } } @@ -1120,6 +1143,10 @@ impl Builder { } else { None } + // } => Some(FeatureEdge { + // kid: get_dep_id(krate_name)?, + // name: FeatureEdgeName::Feature(feature.to_owned()), + // }), } } }) @@ -1150,7 +1177,7 @@ impl Builder { } if !krate_features.filled_non_optional { - visit_stack.push((pid, None)); + visit_stack.push(pid); } // This _should_ never fail in normal cases, however if an @@ -1168,7 +1195,7 @@ impl Builder { let (krate_name, feature) = match pf.feat() { Feature::Simple(feat) => { - visit_stack.push((pid, Some(rnode.feature_index(feat)))); + visit_stack.push_with_feature(pid, rnode.feature_index(feat)); continue; } Feature::Krate(krate) => (krate, None), @@ -1184,7 +1211,7 @@ impl Builder { // ...except we do have to care! While the above is the **overwhelming** majority of cases, packages // can also rename their `lib` target, which will mean that the resolved nodes use that name, // unless they are _also_ renamed in the dependent, but the package name is used in the crate's - // dependencies. FUCK + // dependencies. let Some(ndep) = renames.resolve_feature(krate_name, rnode) else { continue; }; @@ -1200,8 +1227,9 @@ impl Builder { .or_default() .insert(feature); continue; - } else if let Some(mut pending) = krate_features.pending_weak.remove(&ndep.pkg) - { + } + + if let Some(mut pending) = krate_features.pending_weak.remove(&ndep.pkg) { deps.entry(&ndep.pkg) .or_insert_with(|| (ndep, Some(BTreeSet::new()))) .1 @@ -1284,7 +1312,7 @@ impl Builder { // Crates can rename the dependency package themselves let dname = dep.rename.as_deref().unwrap_or(&dep.name); if maybe_real_name != dname && !dep_names_match(dname, rdep) { - return false; + return false; } // Handle case where a dependency may not have a version requirement, which @@ -1424,13 +1452,22 @@ impl Builder { features: BTreeSet::new(), }); - let mut visit_dep = Some((pkg, None)); + let mut visit_dep = Some(pkg); for edge in edges { if let Some(features) = features.take() { - visit_stack.extend(visit_dep.take()); + if let Some(vd) = visit_dep.take() { + visit_stack.push(vd); + if let Some(kf) = krate_features.pending_weak.remove(vd) { + for feat in kf { + visit_stack.push_with_feature(vd, feat); + dep.features.insert(feat); + } + } + } + for feat in features { - visit_stack.push((pkg, Some(feat))); + visit_stack.push_with_feature(pkg, feat); dep.features.insert(feat); } } @@ -1443,7 +1480,15 @@ impl Builder { continue; } - visit_stack.extend(visit_dep.take()); + if let Some(vd) = visit_dep.take() { + visit_stack.push(vd); + if let Some(kf) = krate_features.pending_weak.remove(vd) { + for feat in kf { + visit_stack.push_with_feature(vd, feat); + dep.features.insert(feat); + } + } + } let mut features = Vec::new(); for feat in edge @@ -1453,7 +1498,7 @@ impl Builder { .chain(edge.uses_default_features.then_some("default")) { let feat_index = rdep_node.feature_index(feat); - visit_stack.push((pkg, Some(feat_index))); + visit_stack.push_with_feature(pkg, feat_index); features.push(feat_index); } diff --git a/src/builder/features.rs b/src/builder/features.rs index 46d99ec..2ea7f88 100644 --- a/src/builder/features.rs +++ b/src/builder/features.rs @@ -42,6 +42,12 @@ impl<'feat> ParsedFeature<'feat> { } } +impl std::fmt::Debug for ParsedFeature<'_> { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + f.write_str(self.inner) + } +} + impl<'feat> From<&'feat str> for ParsedFeature<'feat> { #[inline] fn from(f: &'feat str) -> Self { @@ -58,38 +64,3 @@ impl<'feat> From<&'feat str> for ParsedFeature<'feat> { Self { inner: f, kind } } } - -#[cfg(test)] -mod test { - use super::{Feature, ParsedFeature}; - use similar_asserts::assert_eq; - - #[test] - fn parses_features() { - assert_eq!( - ParsedFeature::from("simple").feat(), - Feature::Simple("simple"), - ); - - assert_eq!( - ParsedFeature::from("dep:krate-name-here").feat(), - Feature::Krate("krate-name-here"), - ); - - assert_eq!( - ParsedFeature::from("krate-name-here?/feature-name-here").feat(), - Feature::Weak { - krate: "krate-name-here", - feature: "feature-name-here" - }, - ); - - assert_eq!( - ParsedFeature::from("name/feat").feat(), - Feature::Strong { - krate: "name", - feature: "feat" - }, - ); - } -} diff --git a/tests/cfg.rs b/tests/cfg.rs index 07228f2..e038f77 100644 --- a/tests/cfg.rs +++ b/tests/cfg.rs @@ -1,7 +1,4 @@ -mod util; - use krates::cfg_expr::targets; -use util::build; #[test] fn ignores_non_linux() { @@ -14,9 +11,7 @@ fn ignores_non_linux() { } })); - let grafs = build("all-features.json", kb).unwrap(); - - insta::assert_snapshot!(grafs.dotgraph()); + ktest::assert_dotgraph!("all-features.json", kb); } #[test] @@ -24,33 +19,41 @@ fn ignores_non_tier1() { let mut kb = krates::Builder::new(); let targets = [ - targets::get_builtin_target_by_triple("i686-pc-windows-gnu").unwrap(), - targets::get_builtin_target_by_triple("i686-pc-windows-msvc").unwrap(), - targets::get_builtin_target_by_triple("i686-unknown-linux-gnu").unwrap(), - targets::get_builtin_target_by_triple("x86_64-apple-darwin").unwrap(), - targets::get_builtin_target_by_triple("x86_64-pc-windows-gnu").unwrap(), - targets::get_builtin_target_by_triple("x86_64-pc-windows-msvc").unwrap(), - targets::get_builtin_target_by_triple("x86_64-unknown-linux-gnu").unwrap(), + "i686-pc-windows-gnu", + "i686-pc-windows-msvc", + "i686-unknown-linux-gnu", + "x86_64-apple-darwin", + "x86_64-pc-windows-gnu", + "x86_64-pc-windows-msvc", + "x86_64-unknown-linux-gnu", ]; - kb.include_targets(targets.iter().map(|ti| (ti.triple.clone(), vec![]))); - - let grafs = build("all-features.json", kb).unwrap(); + kb.include_targets(targets.iter().map(|ti| { + ( + targets::get_builtin_target_by_triple(ti) + .unwrap() + .triple + .clone(), + vec![], + ) + })); - insta::assert_snapshot!(grafs.dotgraph()); + ktest::assert_dotgraph!("all-features.json", kb); } #[test] fn ignores_non_wasm() { let mut kb = krates::Builder::new(); - let targets = [targets::get_builtin_target_by_triple("wasm32-unknown-unknown").unwrap()]; - - kb.include_targets(targets.iter().map(|ti| (ti.triple.clone(), vec![]))); - - let grafs = build("all-features.json", kb).unwrap(); + kb.include_targets(std::iter::once(( + targets::get_builtin_target_by_triple("wasm32-unknown-unknown") + .unwrap() + .triple + .clone(), + vec![], + ))); - insta::assert_snapshot!(grafs.dotgraph()); + ktest::assert_dotgraph!("all-features.json", kb); } #[cfg(feature = "targets")] @@ -60,6 +63,5 @@ fn handles_non_builtin() { kb.include_targets(std::iter::once(("x86_64-xboxone-windows-msvc", vec![]))); - let grafs = build("all-features.json", kb).unwrap(); - insta::assert_snapshot!(grafs.dotgraph()); + ktest::assert_dotgraph!("all-features.json", kb); } diff --git a/tests/chained-weak/app/Cargo.toml b/tests/chained-weak/app/Cargo.toml new file mode 100644 index 0000000..a8abd68 --- /dev/null +++ b/tests/chained-weak/app/Cargo.toml @@ -0,0 +1,7 @@ +[package] +name = "app" +version = "0.1.0" +edition = "2024" + +[dependencies] +liba = { path = "../liba", features = ["optionb"] } diff --git a/tests/chained-weak/app/src/main.rs b/tests/chained-weak/app/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/tests/chained-weak/app/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} diff --git a/tests/chained-weak/liba/Cargo.toml b/tests/chained-weak/liba/Cargo.toml new file mode 100644 index 0000000..f4c4f13 --- /dev/null +++ b/tests/chained-weak/liba/Cargo.toml @@ -0,0 +1,10 @@ +[package] +name = "liba" +version = "0.1.0" +edition = "2024" + +[features] +optionb = ["dep:libb", "libb?/optionc"] + +[dependencies] +libb = { path = "../libb", optional = true } diff --git a/tests/chained-weak/liba/src/lib.rs b/tests/chained-weak/liba/src/lib.rs new file mode 100644 index 0000000..b93cf3f --- /dev/null +++ b/tests/chained-weak/liba/src/lib.rs @@ -0,0 +1,14 @@ +pub fn add(left: u64, right: u64) -> u64 { + left + right +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn it_works() { + let result = add(2, 2); + assert_eq!(result, 4); + } +} diff --git a/tests/chained-weak/libb/Cargo.toml b/tests/chained-weak/libb/Cargo.toml new file mode 100644 index 0000000..267a5bd --- /dev/null +++ b/tests/chained-weak/libb/Cargo.toml @@ -0,0 +1,10 @@ +[package] +name = "libb" +version = "0.1.0" +edition = "2024" + +[features] +optionc = ["dep:libc"] + +[dependencies] +libc = { path = "../libc", optional = true } \ No newline at end of file diff --git a/tests/chained-weak/libb/src/lib.rs b/tests/chained-weak/libb/src/lib.rs new file mode 100644 index 0000000..b93cf3f --- /dev/null +++ b/tests/chained-weak/libb/src/lib.rs @@ -0,0 +1,14 @@ +pub fn add(left: u64, right: u64) -> u64 { + left + right +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn it_works() { + let result = add(2, 2); + assert_eq!(result, 4); + } +} diff --git a/tests/chained-weak/libc/Cargo.toml b/tests/chained-weak/libc/Cargo.toml new file mode 100644 index 0000000..51978c7 --- /dev/null +++ b/tests/chained-weak/libc/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "libc" +version = "0.1.0" +edition = "2024" + +[dependencies] diff --git a/tests/chained-weak/libc/src/lib.rs b/tests/chained-weak/libc/src/lib.rs new file mode 100644 index 0000000..b93cf3f --- /dev/null +++ b/tests/chained-weak/libc/src/lib.rs @@ -0,0 +1,14 @@ +pub fn add(left: u64, right: u64) -> u64 { + left + right +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn it_works() { + let result = add(2, 2); + assert_eq!(result, 4); + } +} diff --git a/tests/exclude.rs b/tests/exclude.rs index 296aea1..45841ca 100644 --- a/tests/exclude.rs +++ b/tests/exclude.rs @@ -1,16 +1,11 @@ -mod util; - use krates::PkgSpec; -use util::build; #[test] fn excludes_workspace_member() { let mut kb = krates::Builder::new(); kb.exclude(std::iter::once("a".parse::().unwrap())); - let grafs = build("all-features.json", kb).unwrap(); - - insta::assert_snapshot!(grafs.dotgraph()); + ktest::assert_dotgraph!("all-features.json", kb); } #[test] @@ -18,9 +13,7 @@ fn includes_by_path() { let mut kb = krates::Builder::new(); kb.include_workspace_crates(["/home/jake/code/krates/tests/ws/c"]); - let grafs = build("all-features.json", kb).unwrap(); - - insta::assert_snapshot!(grafs.dotgraph()); + ktest::assert_dotgraph!("all-features.json", kb); } #[test] @@ -37,8 +30,7 @@ fn excludes_dependencies() { kb.exclude(pkg_ids.iter().map(|id| id.parse::().unwrap())); - let grafs = build("all-features.json", kb).unwrap(); - insta::assert_snapshot!(grafs.dotgraph()); + ktest::assert_dotgraph!("all-features.json", kb); } #[test] @@ -59,7 +51,7 @@ fn no_roots() { .map_err(|e| format!("failed to deserialize metadata: {}", e)) .unwrap(); - match kb.build_with_metadata::(md, |_f: krates::cm::Package| { + match kb.build_with_metadata::(md, |_f: krates::cm::Package| { panic!("shouldn't get here") }) { Err(krates::Error::NoRootKrates) => {} diff --git a/tests/feature-bug-2/Cargo.lock b/tests/feature-bug-2/Cargo.lock index d76e34c..d3a1f71 100644 --- a/tests/feature-bug-2/Cargo.lock +++ b/tests/feature-bug-2/Cargo.lock @@ -2,157 +2,19 @@ # It is not intended for manual editing. version = 4 -[[package]] -name = "ahash" -version = "0.8.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75" -dependencies = [ - "cfg-if", - "once_cell", - "version_check", - "zerocopy", -] - -[[package]] -name = "allocator-api2" -version = "0.2.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" - -[[package]] -name = "arraydeque" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d902e3d592a523def97af8f317b08ce16b7ab854c1985a0c671e6f15cebc236" - -[[package]] -name = "async-trait" -version = "0.1.89" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.87", -] - -[[package]] -name = "base64" -version = "0.21.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" - [[package]] name = "bitflags" version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" -[[package]] -name = "bitflags" -version = "2.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "843867be96c8daad0d758b57df9392b6d8d271134fce549de6ce169ff98a92af" -dependencies = [ - "serde_core", -] - -[[package]] -name = "block-buffer" -version = "0.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" -dependencies = [ - "generic-array", -] - -[[package]] -name = "cfg-if" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" - -[[package]] -name = "config" -version = "0.14.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68578f196d2a33ff61b27fae256c3164f65e36382648e30666dde05b8cc9dfdf" -dependencies = [ - "async-trait", - "convert_case", - "json5", - "nom", - "pathdiff", - "ron", - "rust-ini 0.20.0", - "serde", - "serde_json", - "toml", - "yaml-rust2", -] - -[[package]] -name = "const-random" -version = "0.1.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87e00182fe74b066627d63b85fd550ac2998d4b0bd86bfed477a0ae4c7c71359" -dependencies = [ - "const-random-macro", -] - -[[package]] -name = "const-random-macro" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" -dependencies = [ - "getrandom", - "once_cell", - "tiny-keccak", -] - -[[package]] -name = "convert_case" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec182b0ca2f35d8fc196cf3404988fd8b8c739a4d270ff118a398feb0cbec1ca" -dependencies = [ - "unicode-segmentation", -] - -[[package]] -name = "cpufeatures" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" -dependencies = [ - "libc", -] - -[[package]] -name = "crunchy" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" - -[[package]] -name = "crypto-common" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" -dependencies = [ - "generic-array", - "typenum", -] - [[package]] name = "defmt" version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a99dd22262668b887121d4672af5a64b238f026099f1a2a1b322066c9ecfe9e0" dependencies = [ - "bitflags 1.3.2", + "bitflags", "defmt-macros", ] @@ -178,25 +40,6 @@ dependencies = [ "thiserror", ] -[[package]] -name = "digest" -version = "0.10.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" -dependencies = [ - "block-buffer", - "crypto-common", -] - -[[package]] -name = "dlv-list" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "442039f5147480ba31067cb00ada1adae6892028e40e45fc5de7b7df6dcc1b5f" -dependencies = [ - "const-random", -] - [[package]] name = "embedded-hal" version = "0.2.7" @@ -216,130 +59,15 @@ dependencies = [ "defmt", ] -[[package]] -name = "encoding_rs" -version = "0.8.35" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "equivalent" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" - [[package]] name = "feature-bug-2" version = "0.1.0" dependencies = [ - "config", "defmt", "embedded-hal 0.2.7", "embedded-hal 1.0.0", - "rust-ini 0.19.0", - "rust-ini 0.21.3", -] - -[[package]] -name = "generic-array" -version = "0.14.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" -dependencies = [ - "typenum", - "version_check", -] - -[[package]] -name = "getrandom" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" -dependencies = [ - "cfg-if", - "libc", - "wasi", ] -[[package]] -name = "hashbrown" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" - -[[package]] -name = "hashbrown" -version = "0.14.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" -dependencies = [ - "ahash", - "allocator-api2", -] - -[[package]] -name = "hashbrown" -version = "0.16.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" - -[[package]] -name = "hashlink" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8094feaf31ff591f651a2664fb9cfd92bba7a60ce3197265e9482ebe753c8f7" -dependencies = [ - "hashbrown 0.14.5", -] - -[[package]] -name = "indexmap" -version = "2.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7714e70437a7dc3ac8eb7e6f8df75fd8eb422675fc7678aff7364301092b1017" -dependencies = [ - "equivalent", - "hashbrown 0.16.1", -] - -[[package]] -name = "itoa" -version = "1.0.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" - -[[package]] -name = "json5" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96b0db21af676c1ce64250b5f40f3ce2cf27e4e47cb91ed91eb6fe9350b430c1" -dependencies = [ - "pest", - "pest_derive", - "serde", -] - -[[package]] -name = "libc" -version = "0.2.183" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5b646652bf6661599e1da8901b3b9522896f01e736bad5f723fe7a3a27f899d" - -[[package]] -name = "memchr" -version = "2.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79" - -[[package]] -name = "minimal-lexical" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" - [[package]] name = "nb" version = "0.1.3" @@ -355,91 +83,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8d5439c4ad607c3c23abf66de8c8bf57ba8adcd1f129e699851a6e43935d339d" -[[package]] -name = "nom" -version = "7.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" -dependencies = [ - "memchr", - "minimal-lexical", -] - -[[package]] -name = "once_cell" -version = "1.21.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" - -[[package]] -name = "ordered-multimap" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ed8acf08e98e744e5384c8bc63ceb0364e68a6854187221c18df61c4797690e" -dependencies = [ - "dlv-list", - "hashbrown 0.13.2", -] - -[[package]] -name = "ordered-multimap" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49203cdcae0030493bad186b28da2fa25645fa276a51b6fec8010d281e02ef79" -dependencies = [ - "dlv-list", - "hashbrown 0.14.5", -] - -[[package]] -name = "pathdiff" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3" - -[[package]] -name = "pest" -version = "2.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0848c601009d37dfa3430c4666e147e49cdcf1b92ecd3e63657d8a5f19da662" -dependencies = [ - "memchr", - "ucd-trie", -] - -[[package]] -name = "pest_derive" -version = "2.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11f486f1ea21e6c10ed15d5a7c77165d0ee443402f0780849d1768e7d9d6fe77" -dependencies = [ - "pest", - "pest_generator", -] - -[[package]] -name = "pest_generator" -version = "2.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8040c4647b13b210a963c1ed407c1ff4fdfa01c31d6d2a098218702e6664f94f" -dependencies = [ - "pest", - "pest_meta", - "proc-macro2", - "quote", - "syn 2.0.87", -] - -[[package]] -name = "pest_meta" -version = "2.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89815c69d36021a140146f26659a81d6c2afa33d216d736dd4be5381a7362220" -dependencies = [ - "pest", - "sha2", -] - [[package]] name = "proc-macro-error" version = "1.0.4" @@ -482,113 +125,6 @@ dependencies = [ "proc-macro2", ] -[[package]] -name = "ron" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b91f7eff05f748767f183df4320a63d6936e9c6107d97c9e6bdd9784f4289c94" -dependencies = [ - "base64", - "bitflags 2.11.0", - "serde", - "serde_derive", -] - -[[package]] -name = "rust-ini" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e2a3bcec1f113553ef1c88aae6c020a369d03d55b58de9869a0908930385091" -dependencies = [ - "cfg-if", - "ordered-multimap 0.6.0", - "unicase", -] - -[[package]] -name = "rust-ini" -version = "0.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e0698206bcb8882bf2a9ecb4c1e7785db57ff052297085a6efd4fe42302068a" -dependencies = [ - "cfg-if", - "ordered-multimap 0.7.3", -] - -[[package]] -name = "rust-ini" -version = "0.21.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "796e8d2b6696392a43bea58116b667fb4c29727dc5abd27d6acf338bb4f688c7" -dependencies = [ - "cfg-if", - "ordered-multimap 0.7.3", - "unicase", -] - -[[package]] -name = "serde" -version = "1.0.228" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" -dependencies = [ - "serde_core", - "serde_derive", -] - -[[package]] -name = "serde_core" -version = "1.0.228" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_derive" -version = "1.0.228" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.87", -] - -[[package]] -name = "serde_json" -version = "1.0.149" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86" -dependencies = [ - "itoa", - "memchr", - "serde", - "serde_core", - "zmij", -] - -[[package]] -name = "serde_spanned" -version = "0.6.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf41e0cfaf7226dca15e8197172c295a782857fcb97fad1808a166870dee75a3" -dependencies = [ - "serde", -] - -[[package]] -name = "sha2" -version = "0.10.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest", -] - [[package]] name = "syn" version = "1.0.109" @@ -630,86 +166,12 @@ dependencies = [ "syn 2.0.87", ] -[[package]] -name = "tiny-keccak" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" -dependencies = [ - "crunchy", -] - -[[package]] -name = "toml" -version = "0.8.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc1beb996b9d83529a9e75c17a1686767d148d70663143c7854d8b4a09ced362" -dependencies = [ - "serde", - "serde_spanned", - "toml_datetime", - "toml_edit", -] - -[[package]] -name = "toml_datetime" -version = "0.6.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22cddaf88f4fbc13c51aebbf5f8eceb5c7c5a9da2ac40a13519eb5b0a0e8f11c" -dependencies = [ - "serde", -] - -[[package]] -name = "toml_edit" -version = "0.22.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41fe8c660ae4257887cf66394862d21dbca4a6ddd26f04a3560410406a2f819a" -dependencies = [ - "indexmap", - "serde", - "serde_spanned", - "toml_datetime", - "toml_write", - "winnow", -] - -[[package]] -name = "toml_write" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d99f8c9a7727884afe522e9bd5edbfc91a3312b36a77b5fb8926e4c31a41801" - -[[package]] -name = "typenum" -version = "1.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb" - -[[package]] -name = "ucd-trie" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971" - -[[package]] -name = "unicase" -version = "2.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbc4bc3a9f746d862c45cb89d705aa10f187bb96c76001afab07a0d35ce60142" - [[package]] name = "unicode-ident" version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe" -[[package]] -name = "unicode-segmentation" -version = "1.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9629274872b2bfaf8d66f5f15725007f635594914870f65218920345aa11aa8c" - [[package]] name = "version_check" version = "0.9.5" @@ -721,55 +183,3 @@ name = "void" version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" - -[[package]] -name = "wasi" -version = "0.11.1+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" - -[[package]] -name = "winnow" -version = "0.7.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df79d97927682d2fd8adb29682d1140b343be4ac0f08fd68b7765d9c059d3945" -dependencies = [ - "memchr", -] - -[[package]] -name = "yaml-rust2" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8902160c4e6f2fb145dbe9d6760a75e3c9522d8bf796ed7047c85919ac7115f8" -dependencies = [ - "arraydeque", - "encoding_rs", - "hashlink", -] - -[[package]] -name = "zerocopy" -version = "0.8.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0894878a5fa3edfd6da3f88c4805f4c8558e2b996227a3d864f47fe11e38282c" -dependencies = [ - "zerocopy-derive", -] - -[[package]] -name = "zerocopy-derive" -version = "0.8.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88d2b8d9c68ad2b9e4340d7832716a4d21a22a1154777ad56ea55c51a9cf3831" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.87", -] - -[[package]] -name = "zmij" -version = "1.0.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa" diff --git a/tests/feature-bug-2/Cargo.toml b/tests/feature-bug-2/Cargo.toml index 7c98b21..edaccf0 100644 --- a/tests/feature-bug-2/Cargo.toml +++ b/tests/feature-bug-2/Cargo.toml @@ -7,9 +7,6 @@ edition = "2021" defmt = { version = "0.3.8", optional = true } embedded-hal-02 = { version = "0.2.7", features = ["unproven"], package = "embedded-hal" } embedded-hal = "1.0.0" -config = "=0.14.1" -inii = { package = "rust-ini", version = "=0.21.3" } -rust-ini = "=0.19.0" [features] default = [] @@ -17,7 +14,3 @@ defmt = [ "dep:defmt", "embedded-hal/defmt-03", ] -unicase = [ - "rust-ini/unicase", - "inii/case-insensitive", -] \ No newline at end of file diff --git a/tests/features.rs b/tests/features.rs index 2d07a73..13ff8c8 100644 --- a/tests/features.rs +++ b/tests/features.rs @@ -1,5 +1,3 @@ -mod util; - macro_rules! feats { ($feats:expr) => { $feats.into_iter().map(|f| f.to_owned()) @@ -246,9 +244,7 @@ fn handles_dev_only_features() { builder.include_targets([("x86_64-pc-windows-msvc", vec![])]); builder.ignore_kind(krates::DepKind::Dev, krates::Scope::All); - let md: krates::Krates = builder.build(cmd, krates::NoneFilter).unwrap(); - - insta::assert_snapshot!(krates::petgraph::dot::Dot::new(md.graph()).to_string()); + ktest::assert_dotgraph!(builder, cmd); } /// Ensures that features only brought in by eg dev-dependencies are not used if @@ -262,10 +258,8 @@ fn ignores_features_for_ignored_kinds() { let mut builder = krates::Builder::new(); builder.ignore_kind(krates::DepKind::Dev, krates::Scope::All); - let md: krates::Krates = builder.build(cmd, krates::NoneFilter).unwrap(); - let dotgraph = krates::petgraph::dot::Dot::new(md.graph()).to_string(); - insta::assert_snapshot!(dotgraph); + ktest::assert_dotgraph!(builder, cmd); } /// Ensures dependencies only brought in by specific features for specific targets @@ -278,14 +272,13 @@ fn includes_target_specific_feature_dependencies() { let mut builder = krates::Builder::new(); builder.ignore_kind(krates::DepKind::Dev, krates::Scope::All); - let md: krates::Krates = builder.build(cmd, krates::NoneFilter).unwrap(); - let dotgraph = krates::petgraph::dot::Dot::new(md.graph()).to_string(); - insta::assert_snapshot!(dotgraph); + ktest::assert_dotgraph!(builder, cmd); } /// Ensures that dependencies on the same crate but on different version with /// different features, correctly resolves them when doing feature resolution +/// /// See #[test] fn duplicate_versions() { @@ -293,9 +286,59 @@ fn duplicate_versions() { cmd.manifest_path("tests/feature-bug-2/Cargo.toml") .all_features(); - let builder = krates::Builder::new(); - let md: krates::Krates = builder.build(cmd, krates::NoneFilter).unwrap(); + ktest::assert_dotgraph!(cmd); +} + +/// Ensures that features are properly enabled (and bring in) crates that have +/// their lib target renamed +/// +/// See +#[test] +fn handles_lib_rename() { + let mut cmd = krates::Cmd::new(); + cmd.manifest_path("tests/lib-rename/Cargo.toml"); + + ktest::assert_dotgraph!(cmd); +} + +/// Ensures that weak features enabled for a crate which is itself optional properly +/// enable the feature in the optional dependency +#[test] +fn chained_optional_weak_features() { + let mut cmd = krates::Cmd::new(); + cmd.manifest_path("tests/chained-weak/app/Cargo.toml"); + + ktest::assert_dotgraph!(cmd); +} + +use krates::{Feature, ParsedFeature}; +use ktest::similar_asserts::assert_eq; + +#[test] +fn parses_features() { + assert_eq!( + ParsedFeature::from("simple").feat(), + Feature::Simple("simple"), + ); - let dotgraph = krates::petgraph::dot::Dot::new(md.graph()).to_string(); - insta::assert_snapshot!(dotgraph); + assert_eq!( + ParsedFeature::from("dep:krate-name-here").feat(), + Feature::Krate("krate-name-here"), + ); + + assert_eq!( + ParsedFeature::from("krate-name-here?/feature-name-here").feat(), + Feature::Weak { + krate: "krate-name-here", + feature: "feature-name-here" + }, + ); + + assert_eq!( + ParsedFeature::from("name/feat").feat(), + Feature::Strong { + krate: "name", + feature: "feat" + }, + ); } diff --git a/tests/kind.rs b/tests/kind.rs index a5068b6..2e9239e 100644 --- a/tests/kind.rs +++ b/tests/kind.rs @@ -1,140 +1,118 @@ -mod util; - -use util::build; - #[test] fn all_the_things() { - let grafs = build("all-features.json", krates::Builder::new()).unwrap(); - - assert!(grafs.filtered.is_empty()); - insta::assert_snapshot!(grafs.dotgraph()); + ktest::assert_dotgraph!(default "all-features.json"); } -#[test] -fn filters_dev() { - // Just non-workspace crates - { +mod filters_dev { + #[test] + fn all() { + let mut kb = krates::Builder::new(); + kb.ignore_kind(krates::DepKind::Dev, krates::Scope::All); + + // This will be equivalent to filtering workspace dev crates + ktest::assert_dotgraph!("all-features.json", kb); + } + + #[test] + fn non_workspace() { let mut kb = krates::Builder::new(); kb.ignore_kind(krates::DepKind::Dev, krates::Scope::NonWorkspace); - let grafs = build("all-features.json", kb).unwrap(); + let grafs = ktest::util::build("all-features.json", kb).unwrap(); // This shouldn't actually affect anything, as dev dependencies // for non-workspace crates are already not resolved assert!(grafs.filtered.is_empty()); - insta::assert_snapshot!(grafs.dotgraph()); + ktest::assert_snapshot!(grafs.dotgraph()); } - // Just workspace crates - { + #[test] + fn workspace() { let mut kb = krates::Builder::new(); kb.ignore_kind(krates::DepKind::Dev, krates::Scope::Workspace); - - let grafs = build("all-features.json", kb).unwrap(); - insta::assert_snapshot!(grafs.dotgraph()); + ktest::assert_dotgraph!("all-features.json", kb); } +} - // Both - { +mod filters_build { + #[test] + fn all() { let mut kb = krates::Builder::new(); - kb.ignore_kind(krates::DepKind::Dev, krates::Scope::All); + kb.ignore_kind(krates::DepKind::Build, krates::Scope::All); - // This will be equivalent to to filtering workspace dev crates - let grafs = build("all-features.json", kb).unwrap(); - insta::assert_snapshot!(grafs.dotgraph()); + // This will be equivalent to filtering workspace dev crates + ktest::assert_dotgraph!("all-features.json", kb); } -} -#[test] -fn filters_build() { - // Just non-workspace crates - { + #[test] + fn non_workspace() { let mut kb = krates::Builder::new(); kb.ignore_kind(krates::DepKind::Build, krates::Scope::NonWorkspace); - let grafs = build("all-features.json", kb).unwrap(); - insta::assert_snapshot!(grafs.dotgraph()); + ktest::assert_dotgraph!("all-features.json", kb); } - // Just workspace crates - { + #[test] + fn workspace() { let mut kb = krates::Builder::new(); kb.ignore_kind(krates::DepKind::Build, krates::Scope::Workspace); - - let grafs = build("all-features.json", kb).unwrap(); - insta::assert_snapshot!(grafs.dotgraph()); + ktest::assert_dotgraph!("all-features.json", kb); } +} - // Both - { +mod filters_normal { + #[test] + fn all() { let mut kb = krates::Builder::new(); - kb.ignore_kind(krates::DepKind::Build, krates::Scope::All); + kb.ignore_kind(krates::DepKind::Normal, krates::Scope::All); - let grafs = build("all-features.json", kb).unwrap(); - insta::assert_snapshot!(grafs.dotgraph()); + // This will be equivalent to filtering workspace dev crates + ktest::assert_dotgraph!("all-features.json", kb); } -} -#[test] -fn filters_normal() { - // Just non-workspace crates - { + #[test] + fn non_workspace() { let mut kb = krates::Builder::new(); kb.ignore_kind(krates::DepKind::Normal, krates::Scope::NonWorkspace); - let grafs = build("all-features.json", kb).unwrap(); - insta::assert_snapshot!(grafs.dotgraph()); + ktest::assert_dotgraph!("all-features.json", kb); } - // Just workspace crates - { + #[test] + fn workspace() { let mut kb = krates::Builder::new(); kb.ignore_kind(krates::DepKind::Normal, krates::Scope::Workspace); - - let grafs = build("all-features.json", kb).unwrap(); - insta::assert_snapshot!(grafs.dotgraph()); + ktest::assert_dotgraph!("all-features.json", kb); } +} - // Both - { +mod filters_build_and_dev { + #[test] + fn all() { let mut kb = krates::Builder::new(); - kb.ignore_kind(krates::DepKind::Normal, krates::Scope::All); + kb.ignore_kind(krates::DepKind::Build, krates::Scope::All); + kb.ignore_kind(krates::DepKind::Dev, krates::Scope::All); - let grafs = build("all-features.json", kb).unwrap(); - insta::assert_snapshot!(grafs.dotgraph()); + // This will be equivalent to filtering workspace dev crates + ktest::assert_dotgraph!("all-features.json", kb); } -} -#[test] -fn filters_build_and_dev() { - // Just non-workspace crates - { + #[test] + fn non_workspace() { let mut kb = krates::Builder::new(); - kb.ignore_kind(krates::DepKind::Dev, krates::Scope::NonWorkspace); kb.ignore_kind(krates::DepKind::Build, krates::Scope::NonWorkspace); + kb.ignore_kind(krates::DepKind::Dev, krates::Scope::NonWorkspace); - let grafs = build("all-features.json", kb).unwrap(); - insta::assert_snapshot!(grafs.dotgraph()); + ktest::assert_dotgraph!("all-features.json", kb); } - // Just workspace crates - { + #[test] + fn workspace() { let mut kb = krates::Builder::new(); - kb.ignore_kind(krates::DepKind::Dev, krates::Scope::Workspace); kb.ignore_kind(krates::DepKind::Build, krates::Scope::Workspace); + kb.ignore_kind(krates::DepKind::Dev, krates::Scope::Workspace); - let grafs = build("all-features.json", kb).unwrap(); - insta::assert_snapshot!(grafs.dotgraph()); - } - - // Both - { - let mut kb = krates::Builder::new(); - kb.ignore_kind(krates::DepKind::Dev, krates::Scope::All); - kb.ignore_kind(krates::DepKind::Build, krates::Scope::All); - - let grafs = build("all-features.json", kb).unwrap(); - insta::assert_snapshot!(grafs.dotgraph()); + ktest::assert_dotgraph!("all-features.json", kb); } } @@ -143,12 +121,13 @@ fn only_b() { let mut kb = krates::Builder::new(); kb.include_workspace_crates(["/home/jake/code/krates/tests/ws/b/Cargo.toml"]); - let grafs = build("all-features.json", kb).unwrap(); - insta::assert_snapshot!(grafs.dotgraph()); + ktest::assert_dotgraph!("all-features.json", kb); } #[test] fn filters_after_build() { + use ktest::util::build; + { let mut kb = krates::Builder::new(); kb.ignore_kind(krates::DepKind::Dev, krates::Scope::NonWorkspace); @@ -165,7 +144,7 @@ fn filters_after_build() { let expected = format!("{:#?}", grafs.actual.krates().collect::>()); let actual = format!("{filtered:#?}"); - similar_asserts::assert_eq!(expected, actual); + ktest::similar_asserts::assert_eq!(expected, actual); } { @@ -184,6 +163,6 @@ fn filters_after_build() { let expected = format!("{:#?}", grafs.actual.krates().collect::>()); let actual = format!("{filtered:#?}"); - similar_asserts::assert_eq!(expected, actual); + ktest::similar_asserts::assert_eq!(expected, actual); } } diff --git a/tests/lib-rename/Cargo.lock b/tests/lib-rename/Cargo.lock new file mode 100644 index 0000000..9e19d33 --- /dev/null +++ b/tests/lib-rename/Cargo.lock @@ -0,0 +1,640 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "ahash" +version = "0.8.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75" +dependencies = [ + "cfg-if", + "once_cell", + "version_check", + "zerocopy", +] + +[[package]] +name = "allocator-api2" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" + +[[package]] +name = "arraydeque" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d902e3d592a523def97af8f317b08ce16b7ab854c1985a0c671e6f15cebc236" + +[[package]] +name = "async-trait" +version = "0.1.89" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "base64" +version = "0.21.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" + +[[package]] +name = "bitflags" +version = "2.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "843867be96c8daad0d758b57df9392b6d8d271134fce549de6ce169ff98a92af" +dependencies = [ + "serde_core", +] + +[[package]] +name = "block-buffer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array", +] + +[[package]] +name = "cfg-if" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" + +[[package]] +name = "config" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68578f196d2a33ff61b27fae256c3164f65e36382648e30666dde05b8cc9dfdf" +dependencies = [ + "async-trait", + "convert_case", + "json5", + "nom", + "pathdiff", + "ron", + "rust-ini 0.20.0", + "serde", + "serde_json", + "toml", + "yaml-rust2", +] + +[[package]] +name = "const-random" +version = "0.1.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87e00182fe74b066627d63b85fd550ac2998d4b0bd86bfed477a0ae4c7c71359" +dependencies = [ + "const-random-macro", +] + +[[package]] +name = "const-random-macro" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" +dependencies = [ + "getrandom", + "once_cell", + "tiny-keccak", +] + +[[package]] +name = "convert_case" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec182b0ca2f35d8fc196cf3404988fd8b8c739a4d270ff118a398feb0cbec1ca" +dependencies = [ + "unicode-segmentation", +] + +[[package]] +name = "cpufeatures" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +dependencies = [ + "libc", +] + +[[package]] +name = "crunchy" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" + +[[package]] +name = "crypto-common" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" +dependencies = [ + "generic-array", + "typenum", +] + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer", + "crypto-common", +] + +[[package]] +name = "dlv-list" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "442039f5147480ba31067cb00ada1adae6892028e40e45fc5de7b7df6dcc1b5f" +dependencies = [ + "const-random", +] + +[[package]] +name = "encoding_rs" +version = "0.8.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "equivalent" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", +] + +[[package]] +name = "getrandom" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" +dependencies = [ + "cfg-if", + "libc", + "wasi", +] + +[[package]] +name = "hashbrown" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" + +[[package]] +name = "hashbrown" +version = "0.14.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" +dependencies = [ + "ahash", + "allocator-api2", +] + +[[package]] +name = "hashbrown" +version = "0.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" + +[[package]] +name = "hashlink" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8094feaf31ff591f651a2664fb9cfd92bba7a60ce3197265e9482ebe753c8f7" +dependencies = [ + "hashbrown 0.14.5", +] + +[[package]] +name = "indexmap" +version = "2.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45a8a2b9cb3e0b0c1803dbb0758ffac5de2f425b23c28f518faabd9d805342ff" +dependencies = [ + "equivalent", + "hashbrown 0.16.1", +] + +[[package]] +name = "itoa" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" + +[[package]] +name = "json5" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96b0db21af676c1ce64250b5f40f3ce2cf27e4e47cb91ed91eb6fe9350b430c1" +dependencies = [ + "pest", + "pest_derive", + "serde", +] + +[[package]] +name = "lib-rename" +version = "0.1.0" +dependencies = [ + "config", + "rust-ini 0.19.0", + "rust-ini 0.21.3", +] + +[[package]] +name = "libc" +version = "0.2.184" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48f5d2a454e16a5ea0f4ced81bd44e4cfc7bd3a507b61887c99fd3538b28e4af" + +[[package]] +name = "memchr" +version = "2.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79" + +[[package]] +name = "minimal-lexical" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" + +[[package]] +name = "nom" +version = "7.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" +dependencies = [ + "memchr", + "minimal-lexical", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[package]] +name = "ordered-multimap" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ed8acf08e98e744e5384c8bc63ceb0364e68a6854187221c18df61c4797690e" +dependencies = [ + "dlv-list", + "hashbrown 0.13.2", +] + +[[package]] +name = "ordered-multimap" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49203cdcae0030493bad186b28da2fa25645fa276a51b6fec8010d281e02ef79" +dependencies = [ + "dlv-list", + "hashbrown 0.14.5", +] + +[[package]] +name = "pathdiff" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3" + +[[package]] +name = "pest" +version = "2.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0848c601009d37dfa3430c4666e147e49cdcf1b92ecd3e63657d8a5f19da662" +dependencies = [ + "memchr", + "ucd-trie", +] + +[[package]] +name = "pest_derive" +version = "2.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11f486f1ea21e6c10ed15d5a7c77165d0ee443402f0780849d1768e7d9d6fe77" +dependencies = [ + "pest", + "pest_generator", +] + +[[package]] +name = "pest_generator" +version = "2.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8040c4647b13b210a963c1ed407c1ff4fdfa01c31d6d2a098218702e6664f94f" +dependencies = [ + "pest", + "pest_meta", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "pest_meta" +version = "2.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89815c69d36021a140146f26659a81d6c2afa33d216d736dd4be5381a7362220" +dependencies = [ + "pest", + "sha2", +] + +[[package]] +name = "proc-macro2" +version = "1.0.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quote" +version = "1.0.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "ron" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b91f7eff05f748767f183df4320a63d6936e9c6107d97c9e6bdd9784f4289c94" +dependencies = [ + "base64", + "bitflags", + "serde", + "serde_derive", +] + +[[package]] +name = "rust-ini" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e2a3bcec1f113553ef1c88aae6c020a369d03d55b58de9869a0908930385091" +dependencies = [ + "cfg-if", + "ordered-multimap 0.6.0", + "unicase", +] + +[[package]] +name = "rust-ini" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e0698206bcb8882bf2a9ecb4c1e7785db57ff052297085a6efd4fe42302068a" +dependencies = [ + "cfg-if", + "ordered-multimap 0.7.3", +] + +[[package]] +name = "rust-ini" +version = "0.21.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "796e8d2b6696392a43bea58116b667fb4c29727dc5abd27d6acf338bb4f688c7" +dependencies = [ + "cfg-if", + "ordered-multimap 0.7.3", + "unicase", +] + +[[package]] +name = "serde" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_core" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "serde_json" +version = "1.0.149" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86" +dependencies = [ + "itoa", + "memchr", + "serde", + "serde_core", + "zmij", +] + +[[package]] +name = "serde_spanned" +version = "0.6.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf41e0cfaf7226dca15e8197172c295a782857fcb97fad1808a166870dee75a3" +dependencies = [ + "serde", +] + +[[package]] +name = "sha2" +version = "0.10.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest", +] + +[[package]] +name = "syn" +version = "2.0.117" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "tiny-keccak" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" +dependencies = [ + "crunchy", +] + +[[package]] +name = "toml" +version = "0.8.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc1beb996b9d83529a9e75c17a1686767d148d70663143c7854d8b4a09ced362" +dependencies = [ + "serde", + "serde_spanned", + "toml_datetime", + "toml_edit", +] + +[[package]] +name = "toml_datetime" +version = "0.6.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22cddaf88f4fbc13c51aebbf5f8eceb5c7c5a9da2ac40a13519eb5b0a0e8f11c" +dependencies = [ + "serde", +] + +[[package]] +name = "toml_edit" +version = "0.22.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41fe8c660ae4257887cf66394862d21dbca4a6ddd26f04a3560410406a2f819a" +dependencies = [ + "indexmap", + "serde", + "serde_spanned", + "toml_datetime", + "toml_write", + "winnow", +] + +[[package]] +name = "toml_write" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d99f8c9a7727884afe522e9bd5edbfc91a3312b36a77b5fb8926e4c31a41801" + +[[package]] +name = "typenum" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb" + +[[package]] +name = "ucd-trie" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971" + +[[package]] +name = "unicase" +version = "2.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dbc4bc3a9f746d862c45cb89d705aa10f187bb96c76001afab07a0d35ce60142" + +[[package]] +name = "unicode-ident" +version = "1.0.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" + +[[package]] +name = "unicode-segmentation" +version = "1.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9629274872b2bfaf8d66f5f15725007f635594914870f65218920345aa11aa8c" + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "wasi" +version = "0.11.1+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" + +[[package]] +name = "winnow" +version = "0.7.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df79d97927682d2fd8adb29682d1140b343be4ac0f08fd68b7765d9c059d3945" +dependencies = [ + "memchr", +] + +[[package]] +name = "yaml-rust2" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8902160c4e6f2fb145dbe9d6760a75e3c9522d8bf796ed7047c85919ac7115f8" +dependencies = [ + "arraydeque", + "encoding_rs", + "hashlink", +] + +[[package]] +name = "zerocopy" +version = "0.8.48" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eed437bf9d6692032087e337407a86f04cd8d6a16a37199ed57949d415bd68e9" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.8.48" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70e3cd084b1788766f53af483dd21f93881ff30d7320490ec3ef7526d203bad4" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "zmij" +version = "1.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa" diff --git a/tests/lib-rename/Cargo.toml b/tests/lib-rename/Cargo.toml new file mode 100644 index 0000000..e4a7e99 --- /dev/null +++ b/tests/lib-rename/Cargo.toml @@ -0,0 +1,16 @@ +[package] +name = "lib-rename" +version = "0.1.0" +edition = "2024" + +[dependencies] +config = "=0.14.1" +inii = { package = "rust-ini", version = "=0.21.3" } +rust-ini = "=0.19.0" + +[features] +default = [] +unicase = [ + "rust-ini/unicase", + "inii/case-insensitive", +] \ No newline at end of file diff --git a/tests/lib-rename/src/lib.rs b/tests/lib-rename/src/lib.rs new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tests/lib-rename/src/lib.rs @@ -0,0 +1 @@ + diff --git a/tests/misc.rs b/tests/misc.rs index ab87af8..0ee03d9 100644 --- a/tests/misc.rs +++ b/tests/misc.rs @@ -1,4 +1,4 @@ -mod util; +use ktest::util::build; #[test] fn iter_names() { @@ -137,7 +137,7 @@ fn direct_dependents() { vec![], ))); - let grafs = util::build("direct.json", kb).unwrap(); + let grafs = build("direct.json", kb).unwrap(); let id = grafs .actual @@ -155,7 +155,7 @@ fn direct_dependents() { ids.sort(); let dd = ids.join("\n"); - insta::assert_snapshot!(dd); + ktest::assert_snapshot!(dd); } #[test] @@ -169,7 +169,7 @@ fn direct_dependencies() { vec![], ))); - let grafs = util::build("direct.json", kb).unwrap(); + let grafs = build("direct.json", kb).unwrap(); let id = grafs .actual @@ -187,17 +187,17 @@ fn direct_dependencies() { ids.sort(); let dd = ids.join("\n"); - insta::assert_snapshot!(dd); + ktest::assert_snapshot!(dd); } /// Validates that there is no difference between the OG "opaque" package id /// format and the newly stabilized one #[test] fn opaque_matches_stable() { - let opaque = util::build("all-features.json", krates::Builder::new()).unwrap(); - let stable = util::build("all-features-stable.json", krates::Builder::new()).unwrap(); + let opaque = build("all-features.json", krates::Builder::new()).unwrap(); + let stable = build("all-features-stable.json", krates::Builder::new()).unwrap(); - similar_asserts::assert_eq!(opaque.dotgraph(), stable.dotgraph()); + ktest::similar_asserts::assert_eq!(opaque.dotgraph(), stable.dotgraph()); } /// Validates we can correctly find package ids for duplicated packages in both @@ -207,22 +207,22 @@ fn opaque_matches_stable() { /// #[test] fn finds_duplicates() { - let opaque = util::build("pid-opaque.json", krates::Builder::new()).unwrap(); - let stable = util::build("pid-stable.json", krates::Builder::new()).unwrap(); + let opaque = build("pid-opaque.json", krates::Builder::new()).unwrap(); + let stable = build("pid-stable.json", krates::Builder::new()).unwrap(); let opaque = opaque.dotgraph(); - similar_asserts::assert_eq!(opaque, stable.dotgraph()); + ktest::similar_asserts::assert_eq!(opaque, stable.dotgraph()); - insta::assert_snapshot!(opaque); + ktest::assert_snapshot!(opaque); } -#[test] -#[cfg(feature = "serialize")] -fn roundtrip() { - let contents = std::fs::read_to_string("tests/all-features.json").unwrap(); - let md: krates::cm::Metadata = serde_json::from_str(&contents).unwrap(); - insta::assert_json_snapshot!(md); -} +// #[test] +// #[cfg(feature = "serialize")] +// fn roundtrip() { +// let contents = std::fs::read_to_string("tests/all-features.json").unwrap(); +// let md: krates::cm::Metadata = serde_json::from_str(&contents).unwrap(); +// ktest::insta::assert_json_snapshot!(md); +// } /// Tests that manifest deserialization ignores unknown fields from eg. unstable features #[test] diff --git a/tests/snapshots/cfg__handles_non_builtin.snap b/tests/snapshots/cfg__handles_non_builtin.snap index c0bbc35..ad2a16c 100644 --- a/tests/snapshots/cfg__handles_non_builtin.snap +++ b/tests/snapshots/cfg__handles_non_builtin.snap @@ -1,6 +1,6 @@ --- source: tests/cfg.rs -expression: grafs.dotgraph() +expression: "& grafs.dotgraph()" --- digraph { 0 [ label = "crate a 0.1.0 path+file:///krates/tests/ws/a" ] @@ -171,4 +171,3 @@ digraph { 35 -> 27 [ label = "" ] 34 -> 27 [ label = "" ] } - diff --git a/tests/snapshots/cfg__ignores_non_linux.snap b/tests/snapshots/cfg__ignores_non_linux.snap index 77a3d2d..03c4680 100644 --- a/tests/snapshots/cfg__ignores_non_linux.snap +++ b/tests/snapshots/cfg__ignores_non_linux.snap @@ -86,4 +86,3 @@ digraph { 23 -> 16 [ label = "" ] 23 -> 31 [ label = "" ] } - diff --git a/tests/snapshots/cfg__ignores_non_tier1.snap b/tests/snapshots/cfg__ignores_non_tier1.snap index dcc004b..b2f9777 100644 --- a/tests/snapshots/cfg__ignores_non_tier1.snap +++ b/tests/snapshots/cfg__ignores_non_tier1.snap @@ -345,4 +345,3 @@ digraph { 60 -> 39 [ label = "" ] 59 -> 39 [ label = "" ] } - diff --git a/tests/snapshots/cfg__ignores_non_wasm.snap b/tests/snapshots/cfg__ignores_non_wasm.snap index cdf4711..2bda179 100644 --- a/tests/snapshots/cfg__ignores_non_wasm.snap +++ b/tests/snapshots/cfg__ignores_non_wasm.snap @@ -187,4 +187,3 @@ digraph { 34 -> 29 [ label = "" ] 33 -> 29 [ label = "" ] } - diff --git a/tests/snapshots/exclude__excludes_dependencies.snap b/tests/snapshots/exclude__excludes_dependencies.snap index 4c3ad65..f3b53a7 100644 --- a/tests/snapshots/exclude__excludes_dependencies.snap +++ b/tests/snapshots/exclude__excludes_dependencies.snap @@ -470,4 +470,3 @@ digraph { 75 -> 52 [ label = "" ] 74 -> 52 [ label = "" ] } - diff --git a/tests/snapshots/exclude__excludes_workspace_member.snap b/tests/snapshots/exclude__excludes_workspace_member.snap index b715064..4092722 100644 --- a/tests/snapshots/exclude__excludes_workspace_member.snap +++ b/tests/snapshots/exclude__excludes_workspace_member.snap @@ -485,4 +485,3 @@ digraph { 79 -> 55 [ label = "" ] 78 -> 55 [ label = "" ] } - diff --git a/tests/snapshots/exclude__includes_by_path.snap b/tests/snapshots/exclude__includes_by_path.snap index e65e6b8..edf72fb 100644 --- a/tests/snapshots/exclude__includes_by_path.snap +++ b/tests/snapshots/exclude__includes_by_path.snap @@ -1,7 +1,6 @@ --- source: tests/exclude.rs expression: grafs.dotgraph() -snapshot_kind: text --- digraph { 0 [ label = "crate aho-corasick 0.7.6" ] diff --git a/tests/snapshots/features__chained_optional_weak_features.snap b/tests/snapshots/features__chained_optional_weak_features.snap new file mode 100644 index 0000000..b457d6b --- /dev/null +++ b/tests/snapshots/features__chained_optional_weak_features.snap @@ -0,0 +1,20 @@ +--- +source: tests/features.rs +expression: "& krates :: petgraph :: dot :: Dot :: new(md.graph()).to_string()" +--- +digraph { + 0 [ label = "crate app 0.1.0 path+file:///krates/tests/chained-weak/app" ] + 1 [ label = "crate liba 0.1.0 path+file:///krates/tests/chained-weak/liba" ] + 2 [ label = "crate libb 0.1.0 path+file:///krates/tests/chained-weak/libb" ] + 3 [ label = "crate libc 0.1.0 path+file:///krates/tests/chained-weak/libc" ] + 4 [ label = "feature optionb" ] + 5 [ label = "feature optionc" ] + 0 -> 4 [ label = "" ] + 1 -> 2 [ label = "" ] + 1 -> 5 [ label = "" ] + 2 -> 3 [ label = "" ] + 4 -> 1 [ label = "" ] + 4 -> 2 [ label = "" ] + 5 -> 2 [ label = "" ] + 5 -> 3 [ label = "" ] +} diff --git a/tests/snapshots/features__duplicate_versions.snap b/tests/snapshots/features__duplicate_versions.snap index 1b023cf..5623ac1 100644 --- a/tests/snapshots/features__duplicate_versions.snap +++ b/tests/snapshots/features__duplicate_versions.snap @@ -1,611 +1,130 @@ --- source: tests/features.rs -expression: dotgraph +expression: "krates :: petgraph :: dot :: Dot :: new(md.graph()).to_string()" --- digraph { - 0 [ label = "crate ahash 0.8.12" ] - 1 [ label = "crate allocator-api2 0.2.21" ] - 2 [ label = "crate arraydeque 0.5.1" ] - 3 [ label = "crate async-trait 0.1.89" ] - 4 [ label = "crate base64 0.21.7" ] - 5 [ label = "crate bitflags 1.3.2" ] - 6 [ label = "crate bitflags 2.11.0" ] - 7 [ label = "crate block-buffer 0.10.4" ] - 8 [ label = "crate cfg-if 1.0.4" ] - 9 [ label = "crate config 0.14.1" ] - 10 [ label = "crate const-random 0.1.18" ] - 11 [ label = "crate const-random-macro 0.1.16" ] - 12 [ label = "crate convert_case 0.6.0" ] - 13 [ label = "crate cpufeatures 0.2.17" ] - 14 [ label = "crate crunchy 0.2.4" ] - 15 [ label = "crate crypto-common 0.1.7" ] - 16 [ label = "crate defmt 0.3.8" ] - 17 [ label = "crate defmt-macros 0.3.9" ] - 18 [ label = "crate defmt-parser 0.3.4" ] - 19 [ label = "crate digest 0.10.7" ] - 20 [ label = "crate dlv-list 0.5.2" ] - 21 [ label = "crate embedded-hal 0.2.7" ] - 22 [ label = "crate embedded-hal 1.0.0" ] - 23 [ label = "crate encoding_rs 0.8.35" ] - 24 [ label = "crate equivalent 1.0.2" ] - 25 [ label = "crate feature-bug-2 0.1.0 path+file:///krates/tests/feature-bug-2" ] - 26 [ label = "crate generic-array 0.14.7" ] - 27 [ label = "crate getrandom 0.2.17" ] - 28 [ label = "crate hashbrown 0.13.2" ] - 29 [ label = "crate hashbrown 0.14.5" ] - 30 [ label = "crate hashbrown 0.16.1" ] - 31 [ label = "crate hashlink 0.8.4" ] - 32 [ label = "crate indexmap 2.13.0" ] - 33 [ label = "crate itoa 1.0.18" ] - 34 [ label = "crate json5 0.4.1" ] - 35 [ label = "crate libc 0.2.183" ] - 36 [ label = "crate memchr 2.8.0" ] - 37 [ label = "crate minimal-lexical 0.2.1" ] - 38 [ label = "crate nb 0.1.3" ] - 39 [ label = "crate nb 1.1.0" ] - 40 [ label = "crate nom 7.1.3" ] - 41 [ label = "crate once_cell 1.21.4" ] - 42 [ label = "crate ordered-multimap 0.6.0" ] - 43 [ label = "crate ordered-multimap 0.7.3" ] - 44 [ label = "crate pathdiff 0.2.3" ] - 45 [ label = "crate pest 2.8.6" ] - 46 [ label = "crate pest_derive 2.8.6" ] - 47 [ label = "crate pest_generator 2.8.6" ] - 48 [ label = "crate pest_meta 2.8.6" ] - 49 [ label = "crate proc-macro-error 1.0.4" ] - 50 [ label = "crate proc-macro-error-attr 1.0.4" ] - 51 [ label = "crate proc-macro2 1.0.89" ] - 52 [ label = "crate quote 1.0.37" ] - 53 [ label = "crate ron 0.8.1" ] - 54 [ label = "crate rust-ini 0.19.0" ] - 55 [ label = "crate rust-ini 0.20.0" ] - 56 [ label = "crate rust-ini 0.21.3" ] - 57 [ label = "crate serde 1.0.228" ] - 58 [ label = "crate serde_core 1.0.228" ] - 59 [ label = "crate serde_derive 1.0.228" ] - 60 [ label = "crate serde_json 1.0.149" ] - 61 [ label = "crate serde_spanned 0.6.9" ] - 62 [ label = "crate sha2 0.10.9" ] - 63 [ label = "crate syn 1.0.109" ] - 64 [ label = "crate syn 2.0.87" ] - 65 [ label = "crate thiserror 1.0.69" ] - 66 [ label = "crate thiserror-impl 1.0.69" ] - 67 [ label = "crate tiny-keccak 2.0.2" ] - 68 [ label = "crate toml 0.8.23" ] - 69 [ label = "crate toml_datetime 0.6.11" ] - 70 [ label = "crate toml_edit 0.22.27" ] - 71 [ label = "crate toml_write 0.1.2" ] - 72 [ label = "crate typenum 1.19.0" ] - 73 [ label = "crate ucd-trie 0.1.7" ] - 74 [ label = "crate unicase 2.9.0" ] - 75 [ label = "crate unicode-ident 1.0.13" ] - 76 [ label = "crate unicode-segmentation 1.13.2" ] - 77 [ label = "crate version_check 0.9.5" ] - 78 [ label = "crate void 1.0.2" ] - 79 [ label = "crate wasi 0.11.1+wasi-snapshot-preview1" ] - 80 [ label = "crate winnow 0.7.15" ] - 81 [ label = "crate yaml-rust2 0.8.1" ] - 82 [ label = "crate zerocopy 0.8.27" ] - 83 [ label = "crate zmij 1.0.21" ] - 84 [ label = "feature alloc" ] - 85 [ label = "feature simd" ] - 86 [ label = "feature default" ] - 87 [ label = "feature default" ] - 88 [ label = "feature clone-impls" ] - 89 [ label = "feature full" ] - 90 [ label = "feature parsing" ] - 91 [ label = "feature printing" ] - 92 [ label = "feature proc-macro" ] - 93 [ label = "feature visit-mut" ] - 94 [ label = "feature default" ] - 95 [ label = "feature default" ] - 96 [ label = "feature default" ] - 97 [ label = "feature default" ] - 98 [ label = "feature derive" ] - 99 [ label = "feature default" ] - 100 [ label = "feature default" ] - 101 [ label = "feature default" ] - 102 [ label = "feature race" ] - 103 [ label = "feature shake" ] - 104 [ label = "feature default" ] - 105 [ label = "feature more_lengths" ] - 106 [ label = "feature default" ] - 107 [ label = "feature unstable" ] - 108 [ label = "feature default" ] - 109 [ label = "feature extra-traits" ] - 110 [ label = "feature default" ] - 111 [ label = "feature unstable" ] - 112 [ label = "feature default" ] - 113 [ label = "feature unproven" ] - 114 [ label = "feature defmt-03" ] - 115 [ label = "feature default" ] - 116 [ label = "feature unicase" ] - 117 [ label = "feature default" ] - 118 [ label = "feature case-insensitive" ] - 119 [ label = "feature alloc" ] - 120 [ label = "feature default" ] - 121 [ label = "feature default" ] - 122 [ label = "feature default" ] - 123 [ label = "feature std" ] - 124 [ label = "feature std" ] - 125 [ label = "feature std" ] - 126 [ label = "feature default" ] - 127 [ label = "feature std" ] - 128 [ label = "feature std" ] - 129 [ label = "feature std" ] - 130 [ label = "feature default" ] - 131 [ label = "feature proc-macro" ] - 132 [ label = "feature default" ] - 133 [ label = "feature serde" ] - 134 [ label = "feature default" ] - 135 [ label = "feature default" ] - 136 [ label = "feature default" ] - 137 [ label = "feature result" ] - 138 [ label = "feature std" ] - 139 [ label = "feature proc-macro" ] - 140 [ label = "feature derive" ] - 141 [ label = "feature default" ] - 142 [ label = "feature default" ] - 143 [ label = "feature serde" ] - 144 [ label = "feature serde" ] - 145 [ label = "feature serde" ] - 146 [ label = "feature display" ] - 147 [ label = "feature parse" ] - 148 [ label = "feature std" ] - 149 [ label = "feature default" ] - 150 [ label = "feature default" ] - 151 [ label = "feature default" ] - 152 [ label = "feature default" ] - 153 [ label = "feature default" ] - 154 [ label = "feature std" ] - 155 [ label = "feature std" ] - 156 [ label = "feature alloc" ] - 157 [ label = "feature serde_core" ] - 158 [ label = "feature yaml-rust2" ] - 159 [ label = "feature yaml" ] - 160 [ label = "feature toml" ] - 161 [ label = "feature serde_json" ] - 162 [ label = "feature rust-ini" ] - 163 [ label = "feature ron" ] - 164 [ label = "feature json5_rs" ] - 165 [ label = "feature json5_rs" ] - 166 [ label = "feature json5" ] - 167 [ label = "feature json" ] - 168 [ label = "feature ini" ] - 169 [ label = "feature convert-case" ] - 170 [ label = "feature async" ] - 171 [ label = "feature convert_case" ] - 172 [ label = "feature async-trait" ] - 173 [ label = "feature limit_128" ] - 174 [ label = "feature core-api" ] - 175 [ label = "feature block-buffer" ] - 176 [ label = "feature defmt-03" ] - 177 [ label = "feature alloc" ] - 178 [ label = "feature unicase" ] - 179 [ label = "feature defmt" ] - 180 [ label = "feature defmt-03" ] - 181 [ label = "feature default" ] - 182 [ label = "feature inline-more" ] - 183 [ label = "feature ahash" ] - 184 [ label = "feature allocator-api2" ] - 185 [ label = "feature alloc" ] - 186 [ label = "feature std" ] - 187 [ label = "feature alloc" ] - 188 [ label = "feature std" ] - 189 [ label = "feature std" ] - 190 [ label = "feature memchr" ] - 191 [ label = "feature std" ] - 192 [ label = "feature syn-error" ] - 193 [ label = "feature syn" ] - 194 [ label = "feature unicase" ] - 195 [ label = "feature std" ] - 196 [ label = "feature serde_derive" ] - 197 [ label = "feature std" ] - 198 [ label = "feature parse" ] - 199 [ label = "feature display" ] - 200 [ label = "feature std" ] - 201 [ label = "feature alloc" ] - 202 [ label = "feature std" ] - 203 [ label = "feature alloc" ] - 204 [ label = "feature encoding" ] - 0 -> 8 [ label = "" ] - 0 -> 84 [ label = " 'cfg(not(all(target_arch = \"arm\", target_os = \"none\")))'" ] - 0 -> 77 [ label = "(build)" ] - 0 -> 85 [ label = "" ] - 3 -> 86 [ label = "" ] - 3 -> 87 [ label = "" ] - 3 -> 88 [ label = "" ] - 3 -> 89 [ label = "" ] - 3 -> 90 [ label = "" ] - 3 -> 91 [ label = "" ] - 3 -> 92 [ label = "" ] - 3 -> 93 [ label = "" ] - 6 -> 58 [ label = "" ] - 7 -> 26 [ label = "" ] - 9 -> 3 [ label = "" ] - 9 -> 12 [ label = "" ] - 9 -> 34 [ label = "" ] - 9 -> 94 [ label = "" ] - 9 -> 44 [ label = "" ] - 9 -> 95 [ label = "" ] - 9 -> 96 [ label = "" ] - 9 -> 97 [ label = "" ] - 9 -> 98 [ label = "" ] - 9 -> 99 [ label = "" ] - 9 -> 100 [ label = "" ] - 9 -> 101 [ label = "" ] - 10 -> 11 [ label = "" ] - 11 -> 27 [ label = "" ] - 11 -> 102 [ label = "" ] - 11 -> 84 [ label = "" ] - 11 -> 103 [ label = "" ] - 11 -> 104 [ label = "" ] - 12 -> 76 [ label = "" ] - 13 -> 35 [ label = " 'aarch64-linux-android'" ] - 13 -> 35 [ label = " 'cfg(all(target_arch = \"aarch64\", target_os = \"linux\"))'" ] - 13 -> 35 [ label = " 'cfg(all(target_arch = \"aarch64\", target_vendor = \"apple\"))'" ] - 13 -> 35 [ label = " 'cfg(all(target_arch = \"loongarch64\", target_os = \"linux\"))'" ] - 15 -> 105 [ label = "" ] - 15 -> 72 [ label = "" ] - 16 -> 106 [ label = "" ] - 16 -> 17 [ label = "" ] - 17 -> 107 [ label = "" ] - 17 -> 108 [ label = "" ] - 17 -> 86 [ label = "" ] - 17 -> 87 [ label = "" ] - 17 -> 89 [ label = "" ] - 17 -> 109 [ label = "" ] - 17 -> 110 [ label = "" ] - 18 -> 65 [ label = "" ] - 19 -> 7 [ label = "" ] - 19 -> 15 [ label = "" ] - 20 -> 10 [ label = "" ] - 21 -> 38 [ label = "" ] - 21 -> 111 [ label = "" ] - 21 -> 78 [ label = "" ] - 22 -> 16 [ label = "" ] - 23 -> 8 [ label = "" ] - 25 -> 112 [ label = "" ] - 25 -> 16 [ label = "" ] - 25 -> 113 [ label = "" ] - 25 -> 22 [ label = "" ] - 25 -> 114 [ label = "" ] - 25 -> 115 [ label = "" ] - 25 -> 116 [ label = "" ] - 25 -> 117 [ label = "" ] - 25 -> 118 [ label = "" ] - 26 -> 72 [ label = "" ] - 26 -> 77 [ label = "(build)" ] - 27 -> 8 [ label = "" ] - 27 -> 35 [ label = " 'cfg(unix)'" ] - 27 -> 79 [ label = " 'cfg(target_os = \"wasi\")'" ] - 29 -> 0 [ label = "" ] - 29 -> 119 [ label = "" ] - 31 -> 120 [ label = "" ] - 32 -> 24 [ label = "" ] - 32 -> 30 [ label = "" ] - 34 -> 121 [ label = "" ] - 34 -> 122 [ label = "" ] - 34 -> 97 [ label = "" ] - 38 -> 39 [ label = "" ] - 40 -> 36 [ label = "" ] - 40 -> 123 [ label = "" ] - 40 -> 37 [ label = "" ] - 40 -> 124 [ label = "" ] - 42 -> 20 [ label = "" ] - 42 -> 125 [ label = "" ] - 42 -> 28 [ label = "" ] - 43 -> 20 [ label = "" ] - 43 -> 125 [ label = "" ] - 43 -> 29 [ label = "" ] - 45 -> 126 [ label = "" ] - 45 -> 73 [ label = "" ] - 45 -> 127 [ label = "" ] - 46 -> 45 [ label = "" ] - 46 -> 128 [ label = "" ] - 46 -> 47 [ label = "" ] - 46 -> 129 [ label = "" ] - 47 -> 45 [ label = "" ] - 47 -> 128 [ label = "" ] - 47 -> 130 [ label = "" ] - 47 -> 86 [ label = "" ] - 47 -> 87 [ label = "" ] - 47 -> 110 [ label = "" ] - 48 -> 121 [ label = "" ] - 48 -> 62 [ label = "(build)" ] - 49 -> 50 [ label = "" ] - 49 -> 86 [ label = "" ] - 49 -> 87 [ label = "" ] - 49 -> 63 [ label = "" ] - 49 -> 77 [ label = "(build)" ] - 50 -> 86 [ label = "" ] - 50 -> 87 [ label = "" ] - 50 -> 77 [ label = "(build)" ] - 51 -> 75 [ label = "" ] - 52 -> 51 [ label = "" ] - 52 -> 131 [ label = "" ] - 53 -> 132 [ label = "" ] - 53 -> 133 [ label = "" ] - 53 -> 97 [ label = "" ] - 53 -> 134 [ label = "" ] - 54 -> 8 [ label = "" ] - 54 -> 135 [ label = "" ] - 54 -> 74 [ label = "" ] - 55 -> 8 [ label = "" ] - 55 -> 136 [ label = "" ] - 56 -> 8 [ label = "" ] - 56 -> 136 [ label = "" ] - 56 -> 74 [ label = "" ] - 57 -> 137 [ label = "" ] - 57 -> 138 [ label = "" ] - 57 -> 134 [ label = "" ] - 59 -> 131 [ label = "" ] - 59 -> 139 [ label = "" ] - 59 -> 88 [ label = "" ] - 59 -> 140 [ label = "" ] - 59 -> 90 [ label = "" ] - 59 -> 91 [ label = "" ] - 59 -> 92 [ label = "" ] - 60 -> 33 [ label = "" ] - 60 -> 36 [ label = "" ] - 60 -> 123 [ label = "" ] - 60 -> 58 [ label = "" ] - 60 -> 138 [ label = "" ] - 60 -> 83 [ label = "" ] - 61 -> 97 [ label = "" ] - 62 -> 8 [ label = "" ] - 62 -> 13 [ label = " 'cfg(any(target_arch = \"aarch64\", target_arch = \"x86_64\", target_arch = \"x86\"))'" ] - 62 -> 141 [ label = "" ] - 63 -> 51 [ label = "" ] - 63 -> 75 [ label = "" ] - 64 -> 51 [ label = "" ] - 64 -> 131 [ label = "" ] - 64 -> 52 [ label = "" ] - 64 -> 139 [ label = "" ] - 64 -> 75 [ label = "" ] - 65 -> 66 [ label = "" ] - 66 -> 86 [ label = "" ] - 66 -> 87 [ label = "" ] - 66 -> 110 [ label = "" ] - 67 -> 142 [ label = "" ] - 68 -> 97 [ label = "" ] - 68 -> 143 [ label = "" ] - 68 -> 144 [ label = "" ] - 68 -> 145 [ label = "" ] - 68 -> 146 [ label = "" ] - 68 -> 147 [ label = "" ] - 69 -> 97 [ label = "" ] - 70 -> 148 [ label = "" ] - 70 -> 149 [ label = "" ] - 70 -> 97 [ label = "" ] - 70 -> 143 [ label = "" ] - 70 -> 69 [ label = "" ] - 70 -> 144 [ label = "" ] - 70 -> 150 [ label = "" ] - 70 -> 151 [ label = "" ] - 81 -> 152 [ label = "" ] - 81 -> 153 [ label = "" ] - 81 -> 31 [ label = "" ] - 119 -> 1 [ label = "" ] - 154 -> 2 [ label = "" ] - 152 -> 2 [ label = "" ] - 152 -> 154 [ label = "" ] - 155 -> 4 [ label = "" ] - 155 -> 156 [ label = "" ] - 132 -> 4 [ label = "" ] - 132 -> 155 [ label = "" ] - 156 -> 4 [ label = "" ] - 106 -> 5 [ label = "" ] - 157 -> 6 [ label = "" ] - 157 -> 58 [ label = "" ] - 133 -> 6 [ label = "" ] - 133 -> 157 [ label = "" ] - 158 -> 9 [ label = "" ] - 158 -> 81 [ label = "" ] - 159 -> 9 [ label = "" ] - 159 -> 158 [ label = "" ] - 160 -> 9 [ label = "" ] - 160 -> 68 [ label = "" ] - 161 -> 9 [ label = "" ] - 161 -> 60 [ label = "" ] - 162 -> 9 [ label = "" ] - 162 -> 55 [ label = "" ] - 163 -> 9 [ label = "" ] - 163 -> 53 [ label = "" ] - 164 -> 9 [ label = "" ] - 164 -> 165 [ label = "" ] - 166 -> 9 [ label = "" ] - 166 -> 164 [ label = "" ] - 166 -> 98 [ label = "" ] - 167 -> 9 [ label = "" ] - 167 -> 161 [ label = "" ] - 168 -> 9 [ label = "" ] - 168 -> 162 [ label = "" ] - 112 -> 9 [ label = "" ] - 112 -> 160 [ label = "" ] - 112 -> 167 [ label = "" ] - 112 -> 159 [ label = "" ] - 112 -> 168 [ label = "" ] - 112 -> 163 [ label = "" ] - 112 -> 166 [ label = "" ] - 112 -> 169 [ label = "" ] - 112 -> 170 [ label = "" ] - 171 -> 9 [ label = "" ] - 171 -> 12 [ label = "" ] - 169 -> 9 [ label = "" ] - 169 -> 171 [ label = "" ] - 172 -> 9 [ label = "" ] - 172 -> 3 [ label = "" ] - 170 -> 9 [ label = "" ] - 170 -> 172 [ label = "" ] - 173 -> 14 [ label = "" ] - 142 -> 14 [ label = "" ] - 142 -> 173 [ label = "" ] - 107 -> 18 [ label = "" ] - 141 -> 19 [ label = "" ] - 141 -> 174 [ label = "" ] - 174 -> 19 [ label = "" ] - 174 -> 175 [ label = "" ] - 175 -> 19 [ label = "" ] - 175 -> 7 [ label = "" ] - 125 -> 20 [ label = "" ] - 113 -> 21 [ label = "" ] - 113 -> 111 [ label = "" ] - 114 -> 22 [ label = "" ] - 114 -> 176 [ label = "" ] - 153 -> 23 [ label = "" ] - 153 -> 177 [ label = "" ] - 177 -> 23 [ label = "" ] - 178 -> 25 [ label = "" ] - 178 -> 116 [ label = "" ] - 178 -> 118 [ label = "" ] - 179 -> 25 [ label = "" ] - 179 -> 16 [ label = "" ] - 179 -> 180 [ label = "" ] - 181 -> 25 [ label = "" ] - 105 -> 26 [ label = "" ] - 182 -> 29 [ label = "" ] - 120 -> 29 [ label = "" ] - 120 -> 183 [ label = "" ] - 120 -> 182 [ label = "" ] - 120 -> 184 [ label = "" ] - 184 -> 29 [ label = "" ] - 184 -> 1 [ label = "" ] - 183 -> 29 [ label = "" ] - 183 -> 0 [ label = "" ] - 148 -> 32 [ label = "" ] - 149 -> 32 [ label = "" ] - 149 -> 148 [ label = "" ] - 123 -> 36 [ label = "" ] - 123 -> 185 [ label = "" ] - 126 -> 36 [ label = "" ] - 126 -> 123 [ label = "" ] - 185 -> 36 [ label = "" ] - 124 -> 37 [ label = "" ] - 111 -> 38 [ label = "" ] - 186 -> 40 [ label = "" ] - 186 -> 187 [ label = "" ] - 186 -> 123 [ label = "" ] - 186 -> 124 [ label = "" ] - 94 -> 40 [ label = "" ] - 94 -> 186 [ label = "" ] - 187 -> 40 [ label = "" ] - 102 -> 41 [ label = "" ] - 84 -> 41 [ label = "" ] - 84 -> 102 [ label = "" ] - 188 -> 42 [ label = "" ] - 188 -> 125 [ label = "" ] - 135 -> 42 [ label = "" ] - 135 -> 188 [ label = "" ] - 189 -> 43 [ label = "" ] - 189 -> 125 [ label = "" ] - 136 -> 43 [ label = "" ] - 136 -> 189 [ label = "" ] - 128 -> 45 [ label = "" ] - 128 -> 127 [ label = "" ] - 190 -> 45 [ label = "" ] - 190 -> 36 [ label = "" ] - 121 -> 45 [ label = "" ] - 121 -> 128 [ label = "" ] - 121 -> 190 [ label = "" ] - 191 -> 46 [ label = "" ] - 191 -> 128 [ label = "" ] - 191 -> 129 [ label = "" ] - 122 -> 46 [ label = "" ] - 122 -> 191 [ label = "" ] - 129 -> 47 [ label = "" ] - 129 -> 128 [ label = "" ] - 130 -> 48 [ label = "" ] - 192 -> 49 [ label = "" ] - 192 -> 193 [ label = "" ] - 193 -> 49 [ label = "" ] - 193 -> 63 [ label = "" ] - 108 -> 49 [ label = "" ] - 108 -> 192 [ label = "" ] - 131 -> 51 [ label = "" ] - 86 -> 51 [ label = "" ] - 86 -> 131 [ label = "" ] - 139 -> 52 [ label = "" ] - 139 -> 131 [ label = "" ] - 87 -> 52 [ label = "" ] - 87 -> 139 [ label = "" ] - 95 -> 53 [ label = "" ] - 116 -> 54 [ label = "" ] - 116 -> 74 [ label = "" ] - 115 -> 54 [ label = "" ] - 96 -> 55 [ label = "" ] - 194 -> 56 [ label = "" ] - 194 -> 74 [ label = "" ] - 117 -> 56 [ label = "" ] - 118 -> 56 [ label = "" ] - 118 -> 194 [ label = "" ] - 195 -> 57 [ label = "" ] - 195 -> 138 [ label = "" ] - 196 -> 57 [ label = "" ] - 196 -> 59 [ label = "" ] - 98 -> 57 [ label = "" ] - 98 -> 196 [ label = "" ] - 97 -> 57 [ label = "" ] - 97 -> 195 [ label = "" ] - 138 -> 58 [ label = "" ] - 137 -> 58 [ label = "" ] - 134 -> 59 [ label = "" ] - 197 -> 60 [ label = "" ] - 197 -> 123 [ label = "" ] - 197 -> 138 [ label = "" ] - 99 -> 60 [ label = "" ] - 99 -> 197 [ label = "" ] - 143 -> 61 [ label = "" ] - 143 -> 57 [ label = "" ] - 93 -> 64 [ label = "" ] - 92 -> 64 [ label = "" ] - 92 -> 131 [ label = "" ] - 91 -> 64 [ label = "" ] - 91 -> 52 [ label = "" ] - 90 -> 64 [ label = "" ] - 89 -> 64 [ label = "" ] - 109 -> 64 [ label = "" ] - 140 -> 64 [ label = "" ] - 110 -> 64 [ label = "" ] - 110 -> 140 [ label = "" ] - 110 -> 90 [ label = "" ] - 110 -> 91 [ label = "" ] - 110 -> 88 [ label = "" ] - 110 -> 92 [ label = "" ] - 88 -> 64 [ label = "" ] - 103 -> 67 [ label = "" ] - 104 -> 67 [ label = "" ] - 198 -> 68 [ label = "" ] - 198 -> 70 [ label = "" ] - 199 -> 68 [ label = "" ] - 199 -> 70 [ label = "" ] - 100 -> 68 [ label = "" ] - 100 -> 198 [ label = "" ] - 100 -> 199 [ label = "" ] - 144 -> 69 [ label = "" ] - 144 -> 57 [ label = "" ] - 145 -> 70 [ label = "" ] - 145 -> 57 [ label = "" ] - 145 -> 144 [ label = "" ] - 145 -> 61 [ label = "" ] - 147 -> 70 [ label = "" ] - 147 -> 80 [ label = "" ] - 146 -> 70 [ label = "" ] - 146 -> 71 [ label = "" ] - 200 -> 71 [ label = "" ] - 200 -> 201 [ label = "" ] - 150 -> 71 [ label = "" ] - 150 -> 200 [ label = "" ] - 201 -> 71 [ label = "" ] - 127 -> 73 [ label = "" ] - 202 -> 80 [ label = "" ] - 202 -> 203 [ label = "" ] - 151 -> 80 [ label = "" ] - 151 -> 202 [ label = "" ] - 203 -> 80 [ label = "" ] - 204 -> 81 [ label = "" ] - 204 -> 23 [ label = "" ] - 101 -> 81 [ label = "" ] - 101 -> 204 [ label = "" ] - 85 -> 82 [ label = "" ] + 0 [ label = "crate bitflags 1.3.2" ] + 1 [ label = "crate defmt 0.3.8" ] + 2 [ label = "crate defmt-macros 0.3.9" ] + 3 [ label = "crate defmt-parser 0.3.4" ] + 4 [ label = "crate embedded-hal 0.2.7" ] + 5 [ label = "crate embedded-hal 1.0.0" ] + 6 [ label = "crate feature-bug-2 0.1.0 path+file:///krates/tests/feature-bug-2" ] + 7 [ label = "crate nb 0.1.3" ] + 8 [ label = "crate nb 1.1.0" ] + 9 [ label = "crate proc-macro-error 1.0.4" ] + 10 [ label = "crate proc-macro-error-attr 1.0.4" ] + 11 [ label = "crate proc-macro2 1.0.89" ] + 12 [ label = "crate quote 1.0.37" ] + 13 [ label = "crate syn 1.0.109" ] + 14 [ label = "crate syn 2.0.87" ] + 15 [ label = "crate thiserror 1.0.69" ] + 16 [ label = "crate thiserror-impl 1.0.69" ] + 17 [ label = "crate unicode-ident 1.0.13" ] + 18 [ label = "crate version_check 0.9.5" ] + 19 [ label = "crate void 1.0.2" ] + 20 [ label = "feature default" ] + 21 [ label = "feature unstable" ] + 22 [ label = "feature default" ] + 23 [ label = "feature default" ] + 24 [ label = "feature default" ] + 25 [ label = "feature full" ] + 26 [ label = "feature extra-traits" ] + 27 [ label = "feature default" ] + 28 [ label = "feature unstable" ] + 29 [ label = "feature unproven" ] + 30 [ label = "feature defmt-03" ] + 31 [ label = "feature proc-macro" ] + 32 [ label = "feature proc-macro" ] + 33 [ label = "feature defmt-03" ] + 34 [ label = "feature defmt" ] + 35 [ label = "feature defmt-03" ] + 36 [ label = "feature default" ] + 37 [ label = "feature syn-error" ] + 38 [ label = "feature syn" ] + 39 [ label = "feature proc-macro" ] + 40 [ label = "feature printing" ] + 41 [ label = "feature parsing" ] + 42 [ label = "feature derive" ] + 43 [ label = "feature clone-impls" ] + 1 -> 20 [ label = "" ] + 1 -> 2 [ label = "" ] + 2 -> 21 [ label = "" ] + 2 -> 22 [ label = "" ] + 2 -> 23 [ label = "" ] + 2 -> 24 [ label = "" ] + 2 -> 25 [ label = "" ] + 2 -> 26 [ label = "" ] + 2 -> 27 [ label = "" ] + 3 -> 15 [ label = "" ] + 4 -> 7 [ label = "" ] + 4 -> 28 [ label = "" ] + 4 -> 19 [ label = "" ] + 5 -> 1 [ label = "" ] + 6 -> 1 [ label = "" ] + 6 -> 29 [ label = "" ] + 6 -> 5 [ label = "" ] + 6 -> 30 [ label = "" ] + 7 -> 8 [ label = "" ] + 9 -> 10 [ label = "" ] + 9 -> 23 [ label = "" ] + 9 -> 24 [ label = "" ] + 9 -> 13 [ label = "" ] + 9 -> 18 [ label = "(build)" ] + 10 -> 23 [ label = "" ] + 10 -> 24 [ label = "" ] + 10 -> 18 [ label = "(build)" ] + 11 -> 17 [ label = "" ] + 12 -> 11 [ label = "" ] + 12 -> 31 [ label = "" ] + 13 -> 11 [ label = "" ] + 13 -> 17 [ label = "" ] + 14 -> 11 [ label = "" ] + 14 -> 31 [ label = "" ] + 14 -> 12 [ label = "" ] + 14 -> 32 [ label = "" ] + 14 -> 17 [ label = "" ] + 15 -> 16 [ label = "" ] + 16 -> 23 [ label = "" ] + 16 -> 24 [ label = "" ] + 16 -> 27 [ label = "" ] + 20 -> 0 [ label = "" ] + 21 -> 3 [ label = "" ] + 29 -> 4 [ label = "" ] + 29 -> 28 [ label = "" ] + 30 -> 5 [ label = "" ] + 30 -> 33 [ label = "" ] + 34 -> 6 [ label = "" ] + 34 -> 1 [ label = "" ] + 34 -> 35 [ label = "" ] + 36 -> 6 [ label = "" ] + 28 -> 7 [ label = "" ] + 37 -> 9 [ label = "" ] + 37 -> 38 [ label = "" ] + 38 -> 9 [ label = "" ] + 38 -> 13 [ label = "" ] + 22 -> 9 [ label = "" ] + 22 -> 37 [ label = "" ] + 31 -> 11 [ label = "" ] + 23 -> 11 [ label = "" ] + 23 -> 31 [ label = "" ] + 32 -> 12 [ label = "" ] + 32 -> 31 [ label = "" ] + 24 -> 12 [ label = "" ] + 24 -> 32 [ label = "" ] + 39 -> 14 [ label = "" ] + 39 -> 31 [ label = "" ] + 40 -> 14 [ label = "" ] + 40 -> 12 [ label = "" ] + 41 -> 14 [ label = "" ] + 25 -> 14 [ label = "" ] + 26 -> 14 [ label = "" ] + 42 -> 14 [ label = "" ] + 27 -> 14 [ label = "" ] + 27 -> 42 [ label = "" ] + 27 -> 41 [ label = "" ] + 27 -> 40 [ label = "" ] + 27 -> 43 [ label = "" ] + 27 -> 39 [ label = "" ] + 43 -> 14 [ label = "" ] } diff --git a/tests/snapshots/features__handles_dev_only_features.snap b/tests/snapshots/features__handles_dev_only_features.snap index 69db67b..d9b6ec6 100644 --- a/tests/snapshots/features__handles_dev_only_features.snap +++ b/tests/snapshots/features__handles_dev_only_features.snap @@ -1,6 +1,6 @@ --- source: tests/features.rs -expression: "krates::petgraph::dot::Dot::new(md.graph()).to_string()" +expression: "krates :: petgraph :: dot :: Dot :: new(md.graph()).to_string()" --- digraph { 0 [ label = "crate base-x 0.2.11" ] @@ -319,4 +319,3 @@ digraph { 71 -> 30 [ label = "" ] 41 -> 31 [ label = "" ] } - diff --git a/tests/snapshots/features__handles_lib_rename.snap b/tests/snapshots/features__handles_lib_rename.snap new file mode 100644 index 0000000..ee9f96c --- /dev/null +++ b/tests/snapshots/features__handles_lib_rename.snap @@ -0,0 +1,517 @@ +--- +source: tests/features.rs +expression: "krates :: petgraph :: dot :: Dot :: new(md.graph()).to_string()" +--- +digraph { + 0 [ label = "crate ahash 0.8.12" ] + 1 [ label = "crate allocator-api2 0.2.21" ] + 2 [ label = "crate arraydeque 0.5.1" ] + 3 [ label = "crate async-trait 0.1.89" ] + 4 [ label = "crate base64 0.21.7" ] + 5 [ label = "crate bitflags 2.11.0" ] + 6 [ label = "crate block-buffer 0.10.4" ] + 7 [ label = "crate cfg-if 1.0.4" ] + 8 [ label = "crate config 0.14.1" ] + 9 [ label = "crate const-random 0.1.18" ] + 10 [ label = "crate const-random-macro 0.1.16" ] + 11 [ label = "crate convert_case 0.6.0" ] + 12 [ label = "crate cpufeatures 0.2.17" ] + 13 [ label = "crate crunchy 0.2.4" ] + 14 [ label = "crate crypto-common 0.1.7" ] + 15 [ label = "crate digest 0.10.7" ] + 16 [ label = "crate dlv-list 0.5.2" ] + 17 [ label = "crate encoding_rs 0.8.35" ] + 18 [ label = "crate equivalent 1.0.2" ] + 19 [ label = "crate generic-array 0.14.7" ] + 20 [ label = "crate getrandom 0.2.17" ] + 21 [ label = "crate hashbrown 0.13.2" ] + 22 [ label = "crate hashbrown 0.14.5" ] + 23 [ label = "crate hashbrown 0.16.1" ] + 24 [ label = "crate hashlink 0.8.4" ] + 25 [ label = "crate indexmap 2.13.1" ] + 26 [ label = "crate itoa 1.0.18" ] + 27 [ label = "crate json5 0.4.1" ] + 28 [ label = "crate lib-rename 0.1.0 path+file:///krates/tests/lib-rename" ] + 29 [ label = "crate libc 0.2.184" ] + 30 [ label = "crate memchr 2.8.0" ] + 31 [ label = "crate minimal-lexical 0.2.1" ] + 32 [ label = "crate nom 7.1.3" ] + 33 [ label = "crate once_cell 1.21.4" ] + 34 [ label = "crate ordered-multimap 0.6.0" ] + 35 [ label = "crate ordered-multimap 0.7.3" ] + 36 [ label = "crate pathdiff 0.2.3" ] + 37 [ label = "crate pest 2.8.6" ] + 38 [ label = "crate pest_derive 2.8.6" ] + 39 [ label = "crate pest_generator 2.8.6" ] + 40 [ label = "crate pest_meta 2.8.6" ] + 41 [ label = "crate proc-macro2 1.0.106" ] + 42 [ label = "crate quote 1.0.45" ] + 43 [ label = "crate ron 0.8.1" ] + 44 [ label = "crate rust-ini 0.19.0" ] + 45 [ label = "crate rust-ini 0.20.0" ] + 46 [ label = "crate rust-ini 0.21.3" ] + 47 [ label = "crate serde 1.0.228" ] + 48 [ label = "crate serde_core 1.0.228" ] + 49 [ label = "crate serde_derive 1.0.228" ] + 50 [ label = "crate serde_json 1.0.149" ] + 51 [ label = "crate serde_spanned 0.6.9" ] + 52 [ label = "crate sha2 0.10.9" ] + 53 [ label = "crate syn 2.0.117" ] + 54 [ label = "crate tiny-keccak 2.0.2" ] + 55 [ label = "crate toml 0.8.23" ] + 56 [ label = "crate toml_datetime 0.6.11" ] + 57 [ label = "crate toml_edit 0.22.27" ] + 58 [ label = "crate toml_write 0.1.2" ] + 59 [ label = "crate typenum 1.19.0" ] + 60 [ label = "crate ucd-trie 0.1.7" ] + 61 [ label = "crate unicode-ident 1.0.24" ] + 62 [ label = "crate unicode-segmentation 1.13.2" ] + 63 [ label = "crate version_check 0.9.5" ] + 64 [ label = "crate wasi 0.11.1+wasi-snapshot-preview1" ] + 65 [ label = "crate winnow 0.7.15" ] + 66 [ label = "crate yaml-rust2 0.8.1" ] + 67 [ label = "crate zerocopy 0.8.48" ] + 68 [ label = "crate zmij 1.0.21" ] + 69 [ label = "feature alloc" ] + 70 [ label = "feature simd" ] + 71 [ label = "feature default" ] + 72 [ label = "feature default" ] + 73 [ label = "feature clone-impls" ] + 74 [ label = "feature full" ] + 75 [ label = "feature parsing" ] + 76 [ label = "feature printing" ] + 77 [ label = "feature proc-macro" ] + 78 [ label = "feature visit-mut" ] + 79 [ label = "feature default" ] + 80 [ label = "feature default" ] + 81 [ label = "feature default" ] + 82 [ label = "feature default" ] + 83 [ label = "feature derive" ] + 84 [ label = "feature default" ] + 85 [ label = "feature default" ] + 86 [ label = "feature default" ] + 87 [ label = "feature race" ] + 88 [ label = "feature shake" ] + 89 [ label = "feature default" ] + 90 [ label = "feature more_lengths" ] + 91 [ label = "feature alloc" ] + 92 [ label = "feature default" ] + 93 [ label = "feature default" ] + 94 [ label = "feature default" ] + 95 [ label = "feature default" ] + 96 [ label = "feature default" ] + 97 [ label = "feature default" ] + 98 [ label = "feature std" ] + 99 [ label = "feature std" ] + 100 [ label = "feature std" ] + 101 [ label = "feature default" ] + 102 [ label = "feature std" ] + 103 [ label = "feature std" ] + 104 [ label = "feature std" ] + 105 [ label = "feature default" ] + 106 [ label = "feature default" ] + 107 [ label = "feature proc-macro" ] + 108 [ label = "feature default" ] + 109 [ label = "feature serde" ] + 110 [ label = "feature default" ] + 111 [ label = "feature default" ] + 112 [ label = "feature default" ] + 113 [ label = "feature result" ] + 114 [ label = "feature std" ] + 115 [ label = "feature proc-macro" ] + 116 [ label = "feature derive" ] + 117 [ label = "feature default" ] + 118 [ label = "feature default" ] + 119 [ label = "feature serde" ] + 120 [ label = "feature serde" ] + 121 [ label = "feature serde" ] + 122 [ label = "feature display" ] + 123 [ label = "feature parse" ] + 124 [ label = "feature std" ] + 125 [ label = "feature default" ] + 126 [ label = "feature default" ] + 127 [ label = "feature default" ] + 128 [ label = "feature default" ] + 129 [ label = "feature default" ] + 130 [ label = "feature std" ] + 131 [ label = "feature std" ] + 132 [ label = "feature alloc" ] + 133 [ label = "feature serde_core" ] + 134 [ label = "feature yaml-rust2" ] + 135 [ label = "feature yaml" ] + 136 [ label = "feature toml" ] + 137 [ label = "feature serde_json" ] + 138 [ label = "feature rust-ini" ] + 139 [ label = "feature ron" ] + 140 [ label = "feature json5_rs" ] + 141 [ label = "feature json5_rs" ] + 142 [ label = "feature json5" ] + 143 [ label = "feature json" ] + 144 [ label = "feature ini" ] + 145 [ label = "feature convert-case" ] + 146 [ label = "feature async" ] + 147 [ label = "feature convert_case" ] + 148 [ label = "feature async-trait" ] + 149 [ label = "feature limit_128" ] + 150 [ label = "feature core-api" ] + 151 [ label = "feature block-buffer" ] + 152 [ label = "feature alloc" ] + 153 [ label = "feature inline-more" ] + 154 [ label = "feature ahash" ] + 155 [ label = "feature allocator-api2" ] + 156 [ label = "feature default" ] + 157 [ label = "feature alloc" ] + 158 [ label = "feature std" ] + 159 [ label = "feature alloc" ] + 160 [ label = "feature std" ] + 161 [ label = "feature std" ] + 162 [ label = "feature memchr" ] + 163 [ label = "feature std" ] + 164 [ label = "feature std" ] + 165 [ label = "feature serde_derive" ] + 166 [ label = "feature std" ] + 167 [ label = "feature parse" ] + 168 [ label = "feature display" ] + 169 [ label = "feature std" ] + 170 [ label = "feature alloc" ] + 171 [ label = "feature std" ] + 172 [ label = "feature alloc" ] + 173 [ label = "feature encoding" ] + 0 -> 7 [ label = "" ] + 0 -> 69 [ label = " 'cfg(not(all(target_arch = \"arm\", target_os = \"none\")))'" ] + 0 -> 63 [ label = "(build)" ] + 0 -> 70 [ label = "" ] + 3 -> 71 [ label = "" ] + 3 -> 72 [ label = "" ] + 3 -> 73 [ label = "" ] + 3 -> 74 [ label = "" ] + 3 -> 75 [ label = "" ] + 3 -> 76 [ label = "" ] + 3 -> 77 [ label = "" ] + 3 -> 78 [ label = "" ] + 5 -> 48 [ label = "" ] + 6 -> 19 [ label = "" ] + 8 -> 3 [ label = "" ] + 8 -> 11 [ label = "" ] + 8 -> 27 [ label = "" ] + 8 -> 79 [ label = "" ] + 8 -> 36 [ label = "" ] + 8 -> 80 [ label = "" ] + 8 -> 81 [ label = "" ] + 8 -> 82 [ label = "" ] + 8 -> 83 [ label = "" ] + 8 -> 84 [ label = "" ] + 8 -> 85 [ label = "" ] + 8 -> 86 [ label = "" ] + 9 -> 10 [ label = "" ] + 10 -> 20 [ label = "" ] + 10 -> 87 [ label = "" ] + 10 -> 69 [ label = "" ] + 10 -> 88 [ label = "" ] + 10 -> 89 [ label = "" ] + 11 -> 62 [ label = "" ] + 12 -> 29 [ label = " 'aarch64-linux-android'" ] + 12 -> 29 [ label = " 'cfg(all(target_arch = \"aarch64\", target_os = \"linux\"))'" ] + 12 -> 29 [ label = " 'cfg(all(target_arch = \"aarch64\", target_vendor = \"apple\"))'" ] + 12 -> 29 [ label = " 'cfg(all(target_arch = \"loongarch64\", target_os = \"linux\"))'" ] + 14 -> 90 [ label = "" ] + 14 -> 59 [ label = "" ] + 15 -> 6 [ label = "" ] + 15 -> 14 [ label = "" ] + 16 -> 9 [ label = "" ] + 17 -> 7 [ label = "" ] + 19 -> 59 [ label = "" ] + 19 -> 63 [ label = "(build)" ] + 20 -> 7 [ label = "" ] + 20 -> 29 [ label = " 'cfg(unix)'" ] + 20 -> 64 [ label = " 'cfg(target_os = \"wasi\")'" ] + 22 -> 0 [ label = "" ] + 22 -> 91 [ label = "" ] + 24 -> 92 [ label = "" ] + 25 -> 18 [ label = "" ] + 25 -> 23 [ label = "" ] + 27 -> 93 [ label = "" ] + 27 -> 94 [ label = "" ] + 27 -> 82 [ label = "" ] + 28 -> 95 [ label = "" ] + 28 -> 96 [ label = "" ] + 28 -> 97 [ label = "" ] + 32 -> 30 [ label = "" ] + 32 -> 98 [ label = "" ] + 32 -> 31 [ label = "" ] + 32 -> 99 [ label = "" ] + 34 -> 16 [ label = "" ] + 34 -> 100 [ label = "" ] + 34 -> 21 [ label = "" ] + 35 -> 16 [ label = "" ] + 35 -> 100 [ label = "" ] + 35 -> 22 [ label = "" ] + 37 -> 101 [ label = "" ] + 37 -> 60 [ label = "" ] + 37 -> 102 [ label = "" ] + 38 -> 37 [ label = "" ] + 38 -> 103 [ label = "" ] + 38 -> 39 [ label = "" ] + 38 -> 104 [ label = "" ] + 39 -> 37 [ label = "" ] + 39 -> 103 [ label = "" ] + 39 -> 105 [ label = "" ] + 39 -> 71 [ label = "" ] + 39 -> 72 [ label = "" ] + 39 -> 106 [ label = "" ] + 40 -> 93 [ label = "" ] + 40 -> 52 [ label = "(build)" ] + 41 -> 61 [ label = "" ] + 42 -> 41 [ label = "" ] + 42 -> 107 [ label = "" ] + 43 -> 108 [ label = "" ] + 43 -> 109 [ label = "" ] + 43 -> 82 [ label = "" ] + 43 -> 110 [ label = "" ] + 44 -> 7 [ label = "" ] + 44 -> 111 [ label = "" ] + 45 -> 7 [ label = "" ] + 45 -> 112 [ label = "" ] + 46 -> 7 [ label = "" ] + 46 -> 112 [ label = "" ] + 47 -> 113 [ label = "" ] + 47 -> 114 [ label = "" ] + 47 -> 110 [ label = "" ] + 49 -> 107 [ label = "" ] + 49 -> 115 [ label = "" ] + 49 -> 73 [ label = "" ] + 49 -> 116 [ label = "" ] + 49 -> 75 [ label = "" ] + 49 -> 76 [ label = "" ] + 49 -> 77 [ label = "" ] + 50 -> 26 [ label = "" ] + 50 -> 30 [ label = "" ] + 50 -> 98 [ label = "" ] + 50 -> 48 [ label = "" ] + 50 -> 114 [ label = "" ] + 50 -> 68 [ label = "" ] + 51 -> 82 [ label = "" ] + 52 -> 7 [ label = "" ] + 52 -> 12 [ label = " 'cfg(any(target_arch = \"aarch64\", target_arch = \"x86_64\", target_arch = \"x86\"))'" ] + 52 -> 117 [ label = "" ] + 53 -> 41 [ label = "" ] + 53 -> 107 [ label = "" ] + 53 -> 42 [ label = "" ] + 53 -> 115 [ label = "" ] + 53 -> 61 [ label = "" ] + 54 -> 118 [ label = "" ] + 55 -> 82 [ label = "" ] + 55 -> 119 [ label = "" ] + 55 -> 120 [ label = "" ] + 55 -> 121 [ label = "" ] + 55 -> 122 [ label = "" ] + 55 -> 123 [ label = "" ] + 56 -> 82 [ label = "" ] + 57 -> 124 [ label = "" ] + 57 -> 125 [ label = "" ] + 57 -> 82 [ label = "" ] + 57 -> 119 [ label = "" ] + 57 -> 56 [ label = "" ] + 57 -> 120 [ label = "" ] + 57 -> 126 [ label = "" ] + 57 -> 127 [ label = "" ] + 66 -> 128 [ label = "" ] + 66 -> 129 [ label = "" ] + 66 -> 24 [ label = "" ] + 91 -> 1 [ label = "" ] + 130 -> 2 [ label = "" ] + 128 -> 2 [ label = "" ] + 128 -> 130 [ label = "" ] + 131 -> 4 [ label = "" ] + 131 -> 132 [ label = "" ] + 108 -> 4 [ label = "" ] + 108 -> 131 [ label = "" ] + 132 -> 4 [ label = "" ] + 133 -> 5 [ label = "" ] + 133 -> 48 [ label = "" ] + 109 -> 5 [ label = "" ] + 109 -> 133 [ label = "" ] + 134 -> 8 [ label = "" ] + 134 -> 66 [ label = "" ] + 135 -> 8 [ label = "" ] + 135 -> 134 [ label = "" ] + 136 -> 8 [ label = "" ] + 136 -> 55 [ label = "" ] + 137 -> 8 [ label = "" ] + 137 -> 50 [ label = "" ] + 138 -> 8 [ label = "" ] + 138 -> 45 [ label = "" ] + 139 -> 8 [ label = "" ] + 139 -> 43 [ label = "" ] + 140 -> 8 [ label = "" ] + 140 -> 141 [ label = "" ] + 142 -> 8 [ label = "" ] + 142 -> 140 [ label = "" ] + 142 -> 83 [ label = "" ] + 143 -> 8 [ label = "" ] + 143 -> 137 [ label = "" ] + 144 -> 8 [ label = "" ] + 144 -> 138 [ label = "" ] + 95 -> 8 [ label = "" ] + 95 -> 136 [ label = "" ] + 95 -> 143 [ label = "" ] + 95 -> 135 [ label = "" ] + 95 -> 144 [ label = "" ] + 95 -> 139 [ label = "" ] + 95 -> 142 [ label = "" ] + 95 -> 145 [ label = "" ] + 95 -> 146 [ label = "" ] + 147 -> 8 [ label = "" ] + 147 -> 11 [ label = "" ] + 145 -> 8 [ label = "" ] + 145 -> 147 [ label = "" ] + 148 -> 8 [ label = "" ] + 148 -> 3 [ label = "" ] + 146 -> 8 [ label = "" ] + 146 -> 148 [ label = "" ] + 149 -> 13 [ label = "" ] + 118 -> 13 [ label = "" ] + 118 -> 149 [ label = "" ] + 117 -> 15 [ label = "" ] + 117 -> 150 [ label = "" ] + 150 -> 15 [ label = "" ] + 150 -> 151 [ label = "" ] + 151 -> 15 [ label = "" ] + 151 -> 6 [ label = "" ] + 100 -> 16 [ label = "" ] + 129 -> 17 [ label = "" ] + 129 -> 152 [ label = "" ] + 152 -> 17 [ label = "" ] + 90 -> 19 [ label = "" ] + 153 -> 22 [ label = "" ] + 92 -> 22 [ label = "" ] + 92 -> 154 [ label = "" ] + 92 -> 153 [ label = "" ] + 92 -> 155 [ label = "" ] + 155 -> 22 [ label = "" ] + 155 -> 1 [ label = "" ] + 154 -> 22 [ label = "" ] + 154 -> 0 [ label = "" ] + 124 -> 25 [ label = "" ] + 125 -> 25 [ label = "" ] + 125 -> 124 [ label = "" ] + 156 -> 28 [ label = "" ] + 98 -> 30 [ label = "" ] + 98 -> 157 [ label = "" ] + 101 -> 30 [ label = "" ] + 101 -> 98 [ label = "" ] + 157 -> 30 [ label = "" ] + 99 -> 31 [ label = "" ] + 158 -> 32 [ label = "" ] + 158 -> 159 [ label = "" ] + 158 -> 98 [ label = "" ] + 158 -> 99 [ label = "" ] + 79 -> 32 [ label = "" ] + 79 -> 158 [ label = "" ] + 159 -> 32 [ label = "" ] + 87 -> 33 [ label = "" ] + 69 -> 33 [ label = "" ] + 69 -> 87 [ label = "" ] + 160 -> 34 [ label = "" ] + 160 -> 100 [ label = "" ] + 111 -> 34 [ label = "" ] + 111 -> 160 [ label = "" ] + 161 -> 35 [ label = "" ] + 161 -> 100 [ label = "" ] + 112 -> 35 [ label = "" ] + 112 -> 161 [ label = "" ] + 103 -> 37 [ label = "" ] + 103 -> 102 [ label = "" ] + 162 -> 37 [ label = "" ] + 162 -> 30 [ label = "" ] + 93 -> 37 [ label = "" ] + 93 -> 103 [ label = "" ] + 93 -> 162 [ label = "" ] + 163 -> 38 [ label = "" ] + 163 -> 103 [ label = "" ] + 163 -> 104 [ label = "" ] + 94 -> 38 [ label = "" ] + 94 -> 163 [ label = "" ] + 104 -> 39 [ label = "" ] + 104 -> 103 [ label = "" ] + 105 -> 40 [ label = "" ] + 107 -> 41 [ label = "" ] + 71 -> 41 [ label = "" ] + 71 -> 107 [ label = "" ] + 115 -> 42 [ label = "" ] + 115 -> 107 [ label = "" ] + 72 -> 42 [ label = "" ] + 72 -> 115 [ label = "" ] + 80 -> 43 [ label = "" ] + 96 -> 44 [ label = "" ] + 81 -> 45 [ label = "" ] + 97 -> 46 [ label = "" ] + 164 -> 47 [ label = "" ] + 164 -> 114 [ label = "" ] + 165 -> 47 [ label = "" ] + 165 -> 49 [ label = "" ] + 83 -> 47 [ label = "" ] + 83 -> 165 [ label = "" ] + 82 -> 47 [ label = "" ] + 82 -> 164 [ label = "" ] + 114 -> 48 [ label = "" ] + 113 -> 48 [ label = "" ] + 110 -> 49 [ label = "" ] + 166 -> 50 [ label = "" ] + 166 -> 98 [ label = "" ] + 166 -> 114 [ label = "" ] + 84 -> 50 [ label = "" ] + 84 -> 166 [ label = "" ] + 119 -> 51 [ label = "" ] + 119 -> 47 [ label = "" ] + 78 -> 53 [ label = "" ] + 77 -> 53 [ label = "" ] + 77 -> 107 [ label = "" ] + 76 -> 53 [ label = "" ] + 76 -> 42 [ label = "" ] + 75 -> 53 [ label = "" ] + 74 -> 53 [ label = "" ] + 116 -> 53 [ label = "" ] + 106 -> 53 [ label = "" ] + 106 -> 116 [ label = "" ] + 106 -> 75 [ label = "" ] + 106 -> 76 [ label = "" ] + 106 -> 73 [ label = "" ] + 106 -> 77 [ label = "" ] + 73 -> 53 [ label = "" ] + 88 -> 54 [ label = "" ] + 89 -> 54 [ label = "" ] + 167 -> 55 [ label = "" ] + 167 -> 57 [ label = "" ] + 168 -> 55 [ label = "" ] + 168 -> 57 [ label = "" ] + 85 -> 55 [ label = "" ] + 85 -> 167 [ label = "" ] + 85 -> 168 [ label = "" ] + 120 -> 56 [ label = "" ] + 120 -> 47 [ label = "" ] + 121 -> 57 [ label = "" ] + 121 -> 47 [ label = "" ] + 121 -> 120 [ label = "" ] + 121 -> 51 [ label = "" ] + 123 -> 57 [ label = "" ] + 123 -> 65 [ label = "" ] + 122 -> 57 [ label = "" ] + 122 -> 58 [ label = "" ] + 169 -> 58 [ label = "" ] + 169 -> 170 [ label = "" ] + 126 -> 58 [ label = "" ] + 126 -> 169 [ label = "" ] + 170 -> 58 [ label = "" ] + 102 -> 60 [ label = "" ] + 171 -> 65 [ label = "" ] + 171 -> 172 [ label = "" ] + 127 -> 65 [ label = "" ] + 127 -> 171 [ label = "" ] + 172 -> 65 [ label = "" ] + 173 -> 66 [ label = "" ] + 173 -> 17 [ label = "" ] + 86 -> 66 [ label = "" ] + 86 -> 173 [ label = "" ] + 70 -> 67 [ label = "" ] +} diff --git a/tests/snapshots/features__ignores_features_for_ignored_kinds.snap b/tests/snapshots/features__ignores_features_for_ignored_kinds.snap index b044668..dcf3363 100644 --- a/tests/snapshots/features__ignores_features_for_ignored_kinds.snap +++ b/tests/snapshots/features__ignores_features_for_ignored_kinds.snap @@ -1,6 +1,6 @@ --- source: tests/features.rs -expression: dotgraph +expression: "krates :: petgraph :: dot :: Dot :: new(md.graph()).to_string()" --- digraph { 0 [ label = "crate ahash 0.7.7" ] diff --git a/tests/snapshots/features__includes_target_specific_feature_dependencies.snap b/tests/snapshots/features__includes_target_specific_feature_dependencies.snap index fb888e1..a7c3e16 100644 --- a/tests/snapshots/features__includes_target_specific_feature_dependencies.snap +++ b/tests/snapshots/features__includes_target_specific_feature_dependencies.snap @@ -1,6 +1,6 @@ --- source: tests/features.rs -expression: dotgraph +expression: "krates :: petgraph :: dot :: Dot :: new(md.graph()).to_string()" --- digraph { 0 [ label = "crate features-2 0.1.0 path+file:///krates/tests/features-2" ] diff --git a/tests/snapshots/kind__all_the_things.snap b/tests/snapshots/kind__all_the_things.snap index 21cb054..4d3ace8 100644 --- a/tests/snapshots/kind__all_the_things.snap +++ b/tests/snapshots/kind__all_the_things.snap @@ -489,4 +489,3 @@ digraph { 80 -> 56 [ label = "" ] 79 -> 56 [ label = "" ] } - diff --git a/tests/snapshots/kind__filters_build-3.snap b/tests/snapshots/kind__filters_build__all.snap similarity index 99% rename from tests/snapshots/kind__filters_build-3.snap rename to tests/snapshots/kind__filters_build__all.snap index 83798bd..f66aaff 100644 --- a/tests/snapshots/kind__filters_build-3.snap +++ b/tests/snapshots/kind__filters_build__all.snap @@ -257,4 +257,3 @@ digraph { 53 -> 31 [ label = "" ] 52 -> 31 [ label = "" ] } - diff --git a/tests/snapshots/kind__filters_build_and_dev.snap b/tests/snapshots/kind__filters_build__non_workspace.snap similarity index 99% rename from tests/snapshots/kind__filters_build_and_dev.snap rename to tests/snapshots/kind__filters_build__non_workspace.snap index b25189f..9fc152c 100644 --- a/tests/snapshots/kind__filters_build_and_dev.snap +++ b/tests/snapshots/kind__filters_build__non_workspace.snap @@ -264,4 +264,3 @@ digraph { 55 -> 33 [ label = "" ] 54 -> 33 [ label = "" ] } - diff --git a/tests/snapshots/kind__filters_build-2.snap b/tests/snapshots/kind__filters_build__workspace.snap similarity index 99% rename from tests/snapshots/kind__filters_build-2.snap rename to tests/snapshots/kind__filters_build__workspace.snap index 38dde3a..0286ad7 100644 --- a/tests/snapshots/kind__filters_build-2.snap +++ b/tests/snapshots/kind__filters_build__workspace.snap @@ -482,4 +482,3 @@ digraph { 78 -> 54 [ label = "" ] 77 -> 54 [ label = "" ] } - diff --git a/tests/snapshots/kind__filters_build_and_dev-3.snap b/tests/snapshots/kind__filters_build_and_dev__all.snap similarity index 99% rename from tests/snapshots/kind__filters_build_and_dev-3.snap rename to tests/snapshots/kind__filters_build_and_dev__all.snap index 37ab979..d4cf224 100644 --- a/tests/snapshots/kind__filters_build_and_dev-3.snap +++ b/tests/snapshots/kind__filters_build_and_dev__all.snap @@ -220,4 +220,3 @@ digraph { 51 -> 26 [ label = "" ] 30 -> 26 [ label = "" ] } - diff --git a/tests/snapshots/kind__filters_build.snap b/tests/snapshots/kind__filters_build_and_dev__non_workspace.snap similarity index 99% rename from tests/snapshots/kind__filters_build.snap rename to tests/snapshots/kind__filters_build_and_dev__non_workspace.snap index b25189f..9fc152c 100644 --- a/tests/snapshots/kind__filters_build.snap +++ b/tests/snapshots/kind__filters_build_and_dev__non_workspace.snap @@ -264,4 +264,3 @@ digraph { 55 -> 33 [ label = "" ] 54 -> 33 [ label = "" ] } - diff --git a/tests/snapshots/kind__filters_build_and_dev-2.snap b/tests/snapshots/kind__filters_build_and_dev__workspace.snap similarity index 99% rename from tests/snapshots/kind__filters_build_and_dev-2.snap rename to tests/snapshots/kind__filters_build_and_dev__workspace.snap index 2af1426..01d2077 100644 --- a/tests/snapshots/kind__filters_build_and_dev-2.snap +++ b/tests/snapshots/kind__filters_build_and_dev__workspace.snap @@ -449,4 +449,3 @@ digraph { 73 -> 51 [ label = "" ] 72 -> 51 [ label = "" ] } - diff --git a/tests/snapshots/kind__filters_dev-2.snap b/tests/snapshots/kind__filters_dev__all.snap similarity index 99% rename from tests/snapshots/kind__filters_dev-2.snap rename to tests/snapshots/kind__filters_dev__all.snap index 000524f..263e269 100644 --- a/tests/snapshots/kind__filters_dev-2.snap +++ b/tests/snapshots/kind__filters_dev__all.snap @@ -456,4 +456,3 @@ digraph { 75 -> 53 [ label = "" ] 74 -> 53 [ label = "" ] } - diff --git a/tests/snapshots/kind__filters_dev.snap b/tests/snapshots/kind__filters_dev__non_workspace.snap similarity index 99% rename from tests/snapshots/kind__filters_dev.snap rename to tests/snapshots/kind__filters_dev__non_workspace.snap index 21cb054..4d3ace8 100644 --- a/tests/snapshots/kind__filters_dev.snap +++ b/tests/snapshots/kind__filters_dev__non_workspace.snap @@ -489,4 +489,3 @@ digraph { 80 -> 56 [ label = "" ] 79 -> 56 [ label = "" ] } - diff --git a/tests/snapshots/kind__filters_dev-3.snap b/tests/snapshots/kind__filters_dev__workspace.snap similarity index 99% rename from tests/snapshots/kind__filters_dev-3.snap rename to tests/snapshots/kind__filters_dev__workspace.snap index 000524f..263e269 100644 --- a/tests/snapshots/kind__filters_dev-3.snap +++ b/tests/snapshots/kind__filters_dev__workspace.snap @@ -456,4 +456,3 @@ digraph { 75 -> 53 [ label = "" ] 74 -> 53 [ label = "" ] } - diff --git a/tests/snapshots/kind__filters_normal-3.snap b/tests/snapshots/kind__filters_normal__all.snap similarity index 99% rename from tests/snapshots/kind__filters_normal-3.snap rename to tests/snapshots/kind__filters_normal__all.snap index 58a05b0..9af1f31 100644 --- a/tests/snapshots/kind__filters_normal-3.snap +++ b/tests/snapshots/kind__filters_normal__all.snap @@ -42,4 +42,3 @@ digraph { 9 -> 15 [ label = "" ] 16 -> 7 [ label = "" ] } - diff --git a/tests/snapshots/kind__filters_normal.snap b/tests/snapshots/kind__filters_normal__non_workspace.snap similarity index 99% rename from tests/snapshots/kind__filters_normal.snap rename to tests/snapshots/kind__filters_normal__non_workspace.snap index 7b443e5..5a1bcad 100644 --- a/tests/snapshots/kind__filters_normal.snap +++ b/tests/snapshots/kind__filters_normal__non_workspace.snap @@ -100,4 +100,3 @@ digraph { 25 -> 18 [ label = "" ] 24 -> 18 [ label = "" ] } - diff --git a/tests/snapshots/kind__filters_normal-2.snap b/tests/snapshots/kind__filters_normal__workspace.snap similarity index 99% rename from tests/snapshots/kind__filters_normal-2.snap rename to tests/snapshots/kind__filters_normal__workspace.snap index 8d6340a..839e6fc 100644 --- a/tests/snapshots/kind__filters_normal-2.snap +++ b/tests/snapshots/kind__filters_normal__workspace.snap @@ -219,4 +219,3 @@ digraph { 48 -> 35 [ label = "" ] 47 -> 35 [ label = "" ] } - diff --git a/tests/snapshots/kind__only_b.snap b/tests/snapshots/kind__only_b.snap index 0d337f3..c8cc3ac 100644 --- a/tests/snapshots/kind__only_b.snap +++ b/tests/snapshots/kind__only_b.snap @@ -478,4 +478,3 @@ digraph { 79 -> 55 [ label = "" ] 78 -> 55 [ label = "" ] } - diff --git a/tests/snapshots/misc__roundtrip.snap b/tests/snapshots/misc__roundtrip.snap deleted file mode 100644 index 2c72f58..0000000 --- a/tests/snapshots/misc__roundtrip.snap +++ /dev/null @@ -1,12673 +0,0 @@ ---- -source: tests/misc.rs -expression: md ---- -{ - "packages": [ - { - "name": "a", - "version": "0.1.0", - "authors": [ - "Jake Shadle " - ], - "id": "a 0.1.0 (path+file:///home/jake/code/krates/tests/ws/a)", - "source": null, - "description": null, - "dependencies": [ - { - "name": "b", - "source": null, - "req": "*", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": "/home/jake/code/krates/tests/ws/b" - }, - { - "name": "c", - "source": null, - "req": "*", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": "/home/jake/code/krates/tests/ws/c" - }, - { - "name": "c", - "source": null, - "req": "*", - "kind": "build", - "optional": false, - "uses_default_features": true, - "features": [], - "target": "cfg(target_os = \"linux\")", - "rename": null, - "registry": null, - "path": "/home/jake/code/krates/tests/ws/c" - } - ], - "license": null, - "license_file": null, - "targets": [ - { - "name": "a", - "kind": [ - "bin" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/code/krates/tests/ws/a/src/main.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": true - } - ], - "features": {}, - "manifest_path": "/home/jake/code/krates/tests/ws/a/Cargo.toml", - "categories": [], - "keywords": [], - "readme": null, - "repository": null, - "homepage": null, - "documentation": null, - "edition": "2018", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "aho-corasick", - "version": "0.7.6", - "authors": [ - "Andrew Gallant " - ], - "id": "aho-corasick 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Fast multiple substring searching.", - "dependencies": [ - { - "name": "memchr", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^2.2.0", - "kind": "normal", - "optional": false, - "uses_default_features": false, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "doc-comment", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.3.1", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "Unlicense/MIT", - "license_file": null, - "targets": [ - { - "name": "aho_corasick", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/aho-corasick-0.7.6/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - } - ], - "features": { - "default": [ - "std" - ], - "std": [ - "memchr/use_std" - ] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/aho-corasick-0.7.6/Cargo.toml", - "categories": [ - "text-processing" - ], - "keywords": [ - "string", - "search", - "text", - "aho", - "multi" - ], - "readme": "README.md", - "repository": "https://github.com/BurntSushi/aho-corasick", - "homepage": "https://github.com/BurntSushi/aho-corasick", - "documentation": null, - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "anyhow", - "version": "1.0.26", - "authors": [ - "David Tolnay " - ], - "id": "anyhow 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Flexible concrete Error type built on std::error::Error", - "dependencies": [ - { - "name": "futures", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.3", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "rustversion", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "thiserror", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "trybuild", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT OR Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "anyhow", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.26/src/lib.rs", - "edition": "2018", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "test_downcast", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.26/tests/test_downcast.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test_boxed", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.26/tests/test_boxed.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test_source", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.26/tests/test_source.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test_backtrace", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.26/tests/test_backtrace.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "compiletest", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.26/tests/compiletest.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test_convert", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.26/tests/test_convert.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test_chain", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.26/tests/test_chain.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test_fmt", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.26/tests/test_fmt.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test_autotrait", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.26/tests/test_autotrait.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test_context", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.26/tests/test_context.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test_macros", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.26/tests/test_macros.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test_repr", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.26/tests/test_repr.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "build-script-build", - "kind": [ - "custom-build" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.26/build.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - } - ], - "features": { - "default": [ - "std" - ], - "std": [] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.26/Cargo.toml", - "categories": [], - "keywords": [], - "readme": "README.md", - "repository": "https://github.com/dtolnay/anyhow", - "homepage": null, - "documentation": "https://docs.rs/anyhow", - "edition": "2018", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "b", - "version": "0.1.0", - "authors": [ - "Jake Shadle " - ], - "id": "b 0.1.0 (path+file:///home/jake/code/krates/tests/ws/b)", - "source": null, - "description": null, - "dependencies": [ - { - "name": "c", - "source": null, - "req": "*", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": "/home/jake/code/krates/tests/ws/c" - }, - { - "name": "cc", - "source": "git+https://github.com/alexcrichton/cc-rs?rev=34d4ce4", - "req": "*", - "kind": "build", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "wasm-bindgen-futures", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.4.6", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": "cfg(all(target_arch = \"wasm32\", target_feature = \"atomics\"))", - "rename": null, - "registry": null, - "path": null - }, - { - "name": "wasm-bindgen-futures", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.4.6", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": "cfg(all(target_vendor = \"xboxone\"))", - "rename": null, - "registry": null, - "path": null - }, - { - "name": "ring", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.16.9", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": "cfg(target_arch = \"x86_64\")", - "rename": null, - "registry": null, - "path": null - } - ], - "license": null, - "license_file": null, - "targets": [ - { - "name": "b", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/code/krates/tests/ws/b/src/lib.rs", - "edition": "2018", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - } - ], - "features": {}, - "manifest_path": "/home/jake/code/krates/tests/ws/b/Cargo.toml", - "categories": [], - "keywords": [], - "readme": null, - "repository": null, - "homepage": null, - "documentation": null, - "edition": "2018", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "bindgen", - "version": "0.51.1", - "authors": [ - "Jyun-Yan You ", - "Emilio Cobos Álvarez ", - "Nick Fitzgerald ", - "The Servo project developers" - ], - "id": "bindgen 0.51.1 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Automatically generates Rust FFI bindings to C and C++ libraries.", - "dependencies": [ - { - "name": "bitflags", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0.3", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "cexpr", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.3.3", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "cfg-if", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.1.0", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "clang-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.28.0", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [ - "runtime", - "clang_6_0" - ], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "clap", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^2", - "kind": "normal", - "optional": true, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "env_logger", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.6", - "kind": "normal", - "optional": true, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "lazy_static", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "log", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.4", - "kind": "normal", - "optional": true, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "peeking_take_while", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.1.2", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "proc-macro2", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1", - "kind": "normal", - "optional": false, - "uses_default_features": false, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "quote", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1", - "kind": "normal", - "optional": false, - "uses_default_features": false, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "regex", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "rustc-hash", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0.1", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "shlex", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.1", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "which", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^3.0", - "kind": "normal", - "optional": true, - "uses_default_features": false, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "clap", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^2", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "diff", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.1", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "shlex", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.1", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "BSD-3-Clause", - "license_file": null, - "targets": [ - { - "name": "bindgen", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.51.1/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "bindgen", - "kind": [ - "bin" - ], - "crate_types": [ - "bin" - ], - "required_features": [ - "clap" - ], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.51.1/src/main.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "build-script-build", - "kind": [ - "custom-build" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.51.1/build.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - } - ], - "features": { - "clap": [ - "dep:clap" - ], - "default": [ - "logging", - "clap", - "which-rustfmt" - ], - "env_logger": [ - "dep:env_logger" - ], - "log": [ - "dep:log" - ], - "logging": [ - "env_logger", - "log" - ], - "static": [], - "testing_only_docs": [], - "testing_only_extra_assertions": [], - "testing_only_libclang_3_8": [], - "testing_only_libclang_3_9": [], - "testing_only_libclang_4": [], - "testing_only_libclang_5": [], - "which": [ - "dep:which" - ], - "which-rustfmt": [ - "which" - ] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.51.1/Cargo.toml", - "categories": [ - "external-ffi-bindings", - "development-tools::ffi" - ], - "keywords": [ - "bindings", - "ffi", - "code-generation" - ], - "readme": "README.md", - "repository": "https://github.com/rust-lang/rust-bindgen", - "homepage": "https://rust-lang.github.io/rust-bindgen/", - "documentation": "https://docs.rs/bindgen", - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "bitflags", - "version": "1.2.1", - "authors": [ - "The Rust Project Developers" - ], - "id": "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "A macro to generate structures which behave like bitflags.\n", - "dependencies": [], - "license": "MIT/Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "bitflags", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-1.2.1/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "build-script-build", - "kind": [ - "custom-build" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-1.2.1/build.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - } - ], - "features": { - "default": [], - "example_generated": [] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-1.2.1/Cargo.toml", - "categories": [ - "no-std" - ], - "keywords": [ - "bit", - "bitmask", - "bitflags", - "flags" - ], - "readme": "README.md", - "repository": "https://github.com/bitflags/bitflags", - "homepage": "https://github.com/bitflags/bitflags", - "documentation": "https://docs.rs/bitflags", - "edition": "2015", - "metadata": { - "docs": { - "rs": { - "features": [ - "example_generated" - ] - } - } - }, - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "bumpalo", - "version": "3.1.2", - "authors": [ - "Nick Fitzgerald " - ], - "id": "bumpalo 3.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "A fast bump allocation arena for Rust.", - "dependencies": [ - { - "name": "criterion", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.3.0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "quickcheck", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.9.0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT/Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "bumpalo", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bumpalo-3.1.2/src/lib.rs", - "edition": "2018", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "vec", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bumpalo-3.1.2/tests/vec.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "alloc_with", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bumpalo-3.1.2/tests/alloc_with.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "alloc_fill", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bumpalo-3.1.2/tests/alloc_fill.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "tests", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bumpalo-3.1.2/tests/tests.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "string", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bumpalo-3.1.2/tests/string.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "quickchecks", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bumpalo-3.1.2/tests/quickchecks.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "readme_up_to_date", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bumpalo-3.1.2/tests/readme_up_to_date.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "benches", - "kind": [ - "bench" - ], - "crate_types": [ - "bin" - ], - "required_features": [ - "collections" - ], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bumpalo-3.1.2/benches/benches.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - } - ], - "features": { - "collections": [], - "default": [] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bumpalo-3.1.2/Cargo.toml", - "categories": [ - "memory-management", - "rust-patterns", - "no-std" - ], - "keywords": [], - "readme": "./README.md", - "repository": "https://github.com/fitzgen/bumpalo", - "homepage": null, - "documentation": "https://docs.rs/bumpalo", - "edition": "2018", - "metadata": { - "docs": { - "rs": { - "all-features": true - } - } - }, - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "byteorder", - "version": "1.3.2", - "authors": [ - "Andrew Gallant " - ], - "id": "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Library for reading/writing numbers in big-endian and little-endian.", - "dependencies": [ - { - "name": "doc-comment", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.3", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "quickcheck", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.8", - "kind": "dev", - "optional": false, - "uses_default_features": false, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "rand", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.6", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "Unlicense OR MIT", - "license_file": null, - "targets": [ - { - "name": "byteorder", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/byteorder-1.3.2/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "bench", - "kind": [ - "bench" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/byteorder-1.3.2/benches/bench.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - }, - { - "name": "build-script-build", - "kind": [ - "custom-build" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/byteorder-1.3.2/build.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - } - ], - "features": { - "default": [ - "std" - ], - "i128": [], - "std": [] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/byteorder-1.3.2/Cargo.toml", - "categories": [ - "encoding", - "parsing" - ], - "keywords": [ - "byte", - "endian", - "big-endian", - "little-endian", - "binary" - ], - "readme": "README.md", - "repository": "https://github.com/BurntSushi/byteorder", - "homepage": "https://github.com/BurntSushi/byteorder", - "documentation": "https://docs.rs/byteorder", - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "c", - "version": "0.1.0", - "authors": [ - "Jake Shadle " - ], - "id": "c 0.1.0 (path+file:///home/jake/code/krates/tests/ws/c)", - "source": null, - "description": null, - "dependencies": [ - { - "name": "leftpad", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.2.0", - "kind": "normal", - "optional": true, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "difference", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^2.0.0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "cc", - "source": "git+https://github.com/alexcrichton/cc-rs?branch=main", - "req": "*", - "kind": "build", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "spin", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.5.2", - "kind": "normal", - "optional": false, - "uses_default_features": false, - "features": [], - "target": "cfg(all(any(target_arch = \"aarch64\", target_arch = \"arm\", target_arch = \"x86\", target_arch = \"x86_64\"), not(target_os = \"ios\")))", - "rename": null, - "registry": null, - "path": null - }, - { - "name": "web-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.3.25", - "kind": "normal", - "optional": false, - "uses_default_features": false, - "features": [ - "Crypto", - "Window" - ], - "target": "cfg(all(target_arch = \"wasm32\", target_vendor = \"unknown\", target_os = \"unknown\", target_env = \"\"))", - "rename": null, - "registry": null, - "path": null - }, - { - "name": "lazy_static", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.3", - "kind": "normal", - "optional": true, - "uses_default_features": false, - "features": [], - "target": "cfg(any(target_os = \"android\", target_os = \"freebsd\", target_os = \"linux\", target_os = \"netbsd\", target_os = \"openbsd\", target_os = \"solaris\"))", - "rename": null, - "registry": null, - "path": null - }, - { - "name": "libc", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.2.48", - "kind": "normal", - "optional": false, - "uses_default_features": false, - "features": [], - "target": "cfg(any(target_os = \"android\", target_os = \"linux\"))", - "rename": null, - "registry": null, - "path": null - }, - { - "name": "winapi", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.2.8", - "kind": "normal", - "optional": false, - "uses_default_features": false, - "features": [], - "target": "cfg(target_os = \"windows\")", - "rename": null, - "registry": null, - "path": null - }, - { - "name": "coreaudio-rs", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.9.1", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": "x86_64-apple-darwin", - "rename": null, - "registry": null, - "path": null - }, - { - "name": "nix", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.16.1", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": "x86_64-unknown-linux-gnu", - "rename": "nix-xy", - "registry": null, - "path": null - } - ], - "license": null, - "license_file": null, - "targets": [ - { - "name": "c", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/code/krates/tests/ws/c/src/lib.rs", - "edition": "2018", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - } - ], - "features": { - "default": [ - "leftpad" - ], - "lazy_static": [ - "dep:lazy_static" - ], - "leftier-strings": [ - "leftpad" - ], - "leftpad": [ - "dep:leftpad" - ] - }, - "manifest_path": "/home/jake/code/krates/tests/ws/c/Cargo.toml", - "categories": [], - "keywords": [], - "readme": null, - "repository": null, - "homepage": null, - "documentation": null, - "edition": "2018", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "cc", - "version": "1.0.50", - "authors": [ - "Alex Crichton " - ], - "id": "cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "A build-time dependency for Cargo build scripts to assist in invoking the native\nC compiler to compile native C code into a static archive to be linked into Rust\ncode.\n", - "dependencies": [ - { - "name": "jobserver", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.1.16", - "kind": "normal", - "optional": true, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "tempfile", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^3", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT/Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "cc", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cc-1.0.50/src/lib.rs", - "edition": "2018", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "gcc-shim", - "kind": [ - "bin" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cc-1.0.50/src/bin/gcc-shim.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": true - }, - { - "name": "cxxflags", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cc-1.0.50/tests/cxxflags.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "cflags", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cc-1.0.50/tests/cflags.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cc-1.0.50/tests/test.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "cc_env", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cc-1.0.50/tests/cc_env.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - } - ], - "features": { - "jobserver": [ - "dep:jobserver" - ], - "parallel": [ - "jobserver" - ] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cc-1.0.50/Cargo.toml", - "categories": [ - "development-tools::build-utils" - ], - "keywords": [ - "build-dependencies" - ], - "readme": "README.md", - "repository": "https://github.com/alexcrichton/cc-rs", - "homepage": "https://github.com/alexcrichton/cc-rs", - "documentation": "https://docs.rs/cc", - "edition": "2018", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "cc", - "version": "1.0.84", - "authors": [ - "Alex Crichton " - ], - "id": "cc 1.0.84 (git+https://github.com/alexcrichton/cc-rs?branch=main#f17047de579adbe1c3a562b87cf9c0376a8e66cc)", - "source": "git+https://github.com/alexcrichton/cc-rs?branch=main#f17047de579adbe1c3a562b87cf9c0376a8e66cc", - "description": "A build-time dependency for Cargo build scripts to assist in invoking the native\nC compiler to compile native C code into a static archive to be linked into Rust\ncode.\n", - "dependencies": [ - { - "name": "tempfile", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^3", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "libc", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.2.62", - "kind": "normal", - "optional": false, - "uses_default_features": false, - "features": [], - "target": "cfg(unix)", - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT OR Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "cc", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/git/checkouts/cc-rs-ee65ecfdd8903f6c/f17047d/src/lib.rs", - "edition": "2018", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "gcc-shim", - "kind": [ - "bin" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/git/checkouts/cc-rs-ee65ecfdd8903f6c/f17047d/src/bin/gcc-shim.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": true - }, - { - "name": "cxxflags", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/git/checkouts/cc-rs-ee65ecfdd8903f6c/f17047d/tests/cxxflags.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "cflags", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/git/checkouts/cc-rs-ee65ecfdd8903f6c/f17047d/tests/cflags.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/git/checkouts/cc-rs-ee65ecfdd8903f6c/f17047d/tests/test.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "cc_env", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/git/checkouts/cc-rs-ee65ecfdd8903f6c/f17047d/tests/cc_env.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - } - ], - "features": { - "parallel": [] - }, - "manifest_path": "/home/jake/.cargo/git/checkouts/cc-rs-ee65ecfdd8903f6c/f17047d/Cargo.toml", - "categories": [ - "development-tools::build-utils" - ], - "keywords": [ - "build-dependencies" - ], - "readme": "README.md", - "repository": "https://github.com/rust-lang/cc-rs", - "homepage": "https://github.com/rust-lang/cc-rs", - "documentation": "https://docs.rs/cc", - "edition": "2018", - "links": null, - "publish": null, - "default_run": null, - "rust_version": "1.53.0" - }, - { - "name": "cc", - "version": "1.0.84", - "authors": [ - "Alex Crichton " - ], - "id": "cc 1.0.84 (git+https://github.com/alexcrichton/cc-rs?rev=34d4ce4#34d4ce437ba6a3f5c73f46f072020e11a5fada8e)", - "source": "git+https://github.com/alexcrichton/cc-rs?rev=34d4ce4#34d4ce437ba6a3f5c73f46f072020e11a5fada8e", - "description": "A build-time dependency for Cargo build scripts to assist in invoking the native\nC compiler to compile native C code into a static archive to be linked into Rust\ncode.\n", - "dependencies": [ - { - "name": "tempfile", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^3", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "libc", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.2.62", - "kind": "normal", - "optional": false, - "uses_default_features": false, - "features": [], - "target": "cfg(unix)", - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT OR Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "cc", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/git/checkouts/cc-rs-ee65ecfdd8903f6c/34d4ce4/src/lib.rs", - "edition": "2018", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "gcc-shim", - "kind": [ - "bin" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/git/checkouts/cc-rs-ee65ecfdd8903f6c/34d4ce4/src/bin/gcc-shim.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": true - }, - { - "name": "cxxflags", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/git/checkouts/cc-rs-ee65ecfdd8903f6c/34d4ce4/tests/cxxflags.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "cflags", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/git/checkouts/cc-rs-ee65ecfdd8903f6c/34d4ce4/tests/cflags.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/git/checkouts/cc-rs-ee65ecfdd8903f6c/34d4ce4/tests/test.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "cc_env", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/git/checkouts/cc-rs-ee65ecfdd8903f6c/34d4ce4/tests/cc_env.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - } - ], - "features": { - "parallel": [] - }, - "manifest_path": "/home/jake/.cargo/git/checkouts/cc-rs-ee65ecfdd8903f6c/34d4ce4/Cargo.toml", - "categories": [ - "development-tools::build-utils" - ], - "keywords": [ - "build-dependencies" - ], - "readme": "README.md", - "repository": "https://github.com/rust-lang/cc-rs", - "homepage": "https://github.com/rust-lang/cc-rs", - "documentation": "https://docs.rs/cc", - "edition": "2018", - "links": null, - "publish": null, - "default_run": null, - "rust_version": "1.53.0" - }, - { - "name": "cexpr", - "version": "0.3.6", - "authors": [ - "Jethro Beekman " - ], - "id": "cexpr 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "A C expression parser and evaluator", - "dependencies": [ - { - "name": "nom", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^4", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [ - "verbose-errors" - ], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "clang-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": ">=0.13.0, <0.29.0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "Apache-2.0/MIT", - "license_file": null, - "targets": [ - { - "name": "cexpr", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cexpr-0.3.6/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "clang", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cexpr-0.3.6/tests/clang.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - } - ], - "features": {}, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cexpr-0.3.6/Cargo.toml", - "categories": [], - "keywords": [ - "C", - "expression", - "parser" - ], - "readme": null, - "repository": "https://github.com/jethrogb/rust-cexpr", - "homepage": null, - "documentation": "https://docs.rs/cexpr/", - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "cfg-if", - "version": "0.1.10", - "authors": [ - "Alex Crichton " - ], - "id": "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "A macro to ergonomically define an item depending on a large number of #[cfg]\nparameters. Structured like an if-else chain, the first matching branch is the\nitem that gets emitted.\n", - "dependencies": [ - { - "name": "compiler_builtins", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.1.2", - "kind": "normal", - "optional": true, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "rustc-std-workspace-core", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0.0", - "kind": "normal", - "optional": true, - "uses_default_features": true, - "features": [], - "target": null, - "rename": "core", - "registry": null, - "path": null - } - ], - "license": "MIT/Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "cfg-if", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cfg-if-0.1.10/src/lib.rs", - "edition": "2018", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "xcrate", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cfg-if-0.1.10/tests/xcrate.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - } - ], - "features": { - "compiler_builtins": [ - "dep:compiler_builtins" - ], - "core": [ - "dep:core" - ], - "rustc-dep-of-std": [ - "core", - "compiler_builtins" - ] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cfg-if-0.1.10/Cargo.toml", - "categories": [], - "keywords": [], - "readme": "README.md", - "repository": "https://github.com/alexcrichton/cfg-if", - "homepage": "https://github.com/alexcrichton/cfg-if", - "documentation": "https://docs.rs/cfg-if", - "edition": "2018", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "clang-sys", - "version": "0.28.1", - "authors": [ - "Kyle Mayes " - ], - "id": "clang-sys 0.28.1 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Rust bindings for libclang.", - "dependencies": [ - { - "name": "glob", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.3", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "libc", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.2.39", - "kind": "normal", - "optional": false, - "uses_default_features": false, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "libloading", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.5.0", - "kind": "normal", - "optional": true, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "glob", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.3", - "kind": "build", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "clang-sys", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clang-sys-0.28.1/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "lib", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clang-sys-0.28.1/tests/lib.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "build-script-build", - "kind": [ - "custom-build" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clang-sys-0.28.1/build.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - } - ], - "features": { - "clang_3_5": [], - "clang_3_6": [ - "gte_clang_3_6" - ], - "clang_3_7": [ - "gte_clang_3_6", - "gte_clang_3_7" - ], - "clang_3_8": [ - "gte_clang_3_6", - "gte_clang_3_7", - "gte_clang_3_8" - ], - "clang_3_9": [ - "gte_clang_3_6", - "gte_clang_3_7", - "gte_clang_3_8", - "gte_clang_3_9" - ], - "clang_4_0": [ - "gte_clang_3_6", - "gte_clang_3_7", - "gte_clang_3_8", - "gte_clang_3_9", - "gte_clang_4_0" - ], - "clang_5_0": [ - "gte_clang_3_6", - "gte_clang_3_7", - "gte_clang_3_8", - "gte_clang_3_9", - "gte_clang_4_0", - "gte_clang_5_0" - ], - "clang_6_0": [ - "gte_clang_3_6", - "gte_clang_3_7", - "gte_clang_3_8", - "gte_clang_3_9", - "gte_clang_4_0", - "gte_clang_5_0", - "gte_clang_6_0" - ], - "clang_7_0": [ - "gte_clang_3_6", - "gte_clang_3_7", - "gte_clang_3_8", - "gte_clang_3_9", - "gte_clang_4_0", - "gte_clang_5_0", - "gte_clang_6_0", - "gte_clang_7_0" - ], - "clang_8_0": [ - "gte_clang_3_6", - "gte_clang_3_7", - "gte_clang_3_8", - "gte_clang_3_9", - "gte_clang_4_0", - "gte_clang_5_0", - "gte_clang_6_0", - "gte_clang_7_0", - "gte_clang_8_0" - ], - "gte_clang_3_6": [], - "gte_clang_3_7": [], - "gte_clang_3_8": [], - "gte_clang_3_9": [], - "gte_clang_4_0": [], - "gte_clang_5_0": [], - "gte_clang_6_0": [], - "gte_clang_7_0": [], - "gte_clang_8_0": [], - "libloading": [ - "dep:libloading" - ], - "runtime": [ - "libloading" - ], - "static": [] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clang-sys-0.28.1/Cargo.toml", - "categories": [], - "keywords": [], - "readme": "README.md", - "repository": "https://github.com/KyleMayes/clang-sys", - "homepage": null, - "documentation": "https://kylemayes.github.io/clang-sys/3_5/clang_sys", - "edition": "2015", - "links": "clang", - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "coreaudio-rs", - "version": "0.9.1", - "authors": [ - "mitchmindtree ", - "yupferris " - ], - "id": "coreaudio-rs 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "A friendly rust interface for Apple's CoreAudio API.", - "dependencies": [ - { - "name": "bitflags", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "coreaudio-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.2", - "kind": "normal", - "optional": false, - "uses_default_features": false, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT/Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "coreaudio", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/coreaudio-rs-0.9.1/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "sine", - "kind": [ - "example" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/coreaudio-rs-0.9.1/examples/sine.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - } - ], - "features": { - "audio_toolbox": [ - "coreaudio-sys/audio_toolbox" - ], - "audio_unit": [ - "coreaudio-sys/audio_unit" - ], - "core_audio": [ - "coreaudio-sys/core_audio" - ], - "core_midi": [ - "coreaudio-sys/core_midi" - ], - "default": [ - "audio_toolbox", - "audio_unit", - "core_audio", - "open_al", - "core_midi" - ], - "open_al": [ - "coreaudio-sys/open_al" - ] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/coreaudio-rs-0.9.1/Cargo.toml", - "categories": [], - "keywords": [ - "core", - "audio", - "unit", - "osx", - "ios" - ], - "readme": "README.md", - "repository": "https://github.com/RustAudio/coreaudio-rs.git", - "homepage": "https://github.com/RustAudio/coreaudio-rs", - "documentation": null, - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "coreaudio-sys", - "version": "0.2.3", - "authors": [ - "Mitchell Nordine " - ], - "id": "coreaudio-sys 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Bindings for Apple's CoreAudio frameworks generated via rust-bindgen", - "dependencies": [ - { - "name": "bindgen", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.51", - "kind": "build", - "optional": false, - "uses_default_features": false, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT", - "license_file": null, - "targets": [ - { - "name": "coreaudio-sys", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/coreaudio-sys-0.2.3/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "build-script-build", - "kind": [ - "custom-build" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/coreaudio-sys-0.2.3/build.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - } - ], - "features": { - "audio_toolbox": [], - "audio_unit": [], - "core_audio": [], - "core_midi": [], - "default": [ - "audio_toolbox", - "audio_unit", - "core_audio", - "open_al", - "core_midi" - ], - "open_al": [] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/coreaudio-sys-0.2.3/Cargo.toml", - "categories": [], - "keywords": [ - "core", - "audio", - "unit", - "osx", - "ios" - ], - "readme": "README.md", - "repository": "https://github.com/RustAudio/coreaudio-sys.git", - "homepage": "https://github.com/RustAudio/coreaudio-sys", - "documentation": null, - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "difference", - "version": "2.0.0", - "authors": [ - "Johann Hofmann " - ], - "id": "difference 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "A Rust text diffing and assertion library.", - "dependencies": [ - { - "name": "getopts", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.2", - "kind": "normal", - "optional": true, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "quickcheck", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.4", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "term", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.2.7", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT", - "license_file": null, - "targets": [ - { - "name": "difference", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/difference-2.0.0/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "difference", - "kind": [ - "bin" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/difference-2.0.0/src/main.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "line-by-line", - "kind": [ - "example" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/difference-2.0.0/examples/line-by-line.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - }, - { - "name": "underline-words", - "kind": [ - "example" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/difference-2.0.0/examples/underline-words.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - }, - { - "name": "github-style", - "kind": [ - "example" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/difference-2.0.0/examples/github-style.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - }, - { - "name": "quickcheck", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/difference-2.0.0/tests/quickcheck.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - } - ], - "features": { - "bin": [ - "getopts" - ], - "default": [], - "getopts": [ - "dep:getopts" - ] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/difference-2.0.0/Cargo.toml", - "categories": [ - "text-processing", - "development-tools::testing" - ], - "keywords": [ - "diff", - "text", - "compare", - "changes", - "assert" - ], - "readme": "README.md", - "repository": "https://github.com/johannhof/difference.rs", - "homepage": null, - "documentation": "https://johannhof.github.io/difference.rs/difference/index.html", - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "glob", - "version": "0.3.0", - "authors": [ - "The Rust Project Developers" - ], - "id": "glob 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Support for matching file paths against Unix shell style patterns.\n", - "dependencies": [ - { - "name": "tempdir", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.3", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT/Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "glob", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/glob-0.3.0/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "glob-std", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/glob-0.3.0/tests/glob-std.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - } - ], - "features": {}, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/glob-0.3.0/Cargo.toml", - "categories": [ - "filesystem" - ], - "keywords": [], - "readme": "README.md", - "repository": "https://github.com/rust-lang/glob", - "homepage": "https://github.com/rust-lang/glob", - "documentation": "https://docs.rs/glob/0.3.0", - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "heck", - "version": "0.3.1", - "authors": [ - "Without Boats " - ], - "id": "heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "heck is a case conversion library.", - "dependencies": [ - { - "name": "unicode-segmentation", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.2.0", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT OR Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "heck", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/heck-0.3.1/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - } - ], - "features": {}, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/heck-0.3.1/Cargo.toml", - "categories": [], - "keywords": [ - "string", - "case", - "camel", - "snake", - "unicode" - ], - "readme": "README.md", - "repository": "https://github.com/withoutboats/heck", - "homepage": "https://github.com/withoutboats/heck", - "documentation": "https://docs.rs/heck", - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "js-sys", - "version": "0.3.35", - "authors": [ - "The wasm-bindgen Developers" - ], - "id": "js-sys 0.3.35 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Bindings for all JS global objects and functions in all JS environments like\nNode.js and browsers, built on `#[wasm_bindgen]` using the `wasm-bindgen` crate.\n", - "dependencies": [ - { - "name": "wasm-bindgen", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.2.58", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "wasm-bindgen-futures", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.4.8", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": "cfg(target_arch = \"wasm32\")", - "rename": null, - "registry": null, - "path": null - }, - { - "name": "wasm-bindgen-test", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "=0.3.8", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": "cfg(target_arch = \"wasm32\")", - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT/Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "js-sys", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/js-sys-0.3.35/src/lib.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": false, - "doc": true - }, - { - "name": "wasm", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/js-sys-0.3.35/tests/wasm/main.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "headless", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/js-sys-0.3.35/tests/headless.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - } - ], - "features": {}, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/js-sys-0.3.35/Cargo.toml", - "categories": [ - "wasm" - ], - "keywords": [], - "readme": "./README.md", - "repository": "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/js-sys", - "homepage": "https://rustwasm.github.io/wasm-bindgen/", - "documentation": "https://docs.rs/js-sys", - "edition": "2018", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "lazy_static", - "version": "1.4.0", - "authors": [ - "Marvin Löbel " - ], - "id": "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "A macro for declaring lazily evaluated statics in Rust.", - "dependencies": [ - { - "name": "spin", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.5.0", - "kind": "normal", - "optional": true, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "doc-comment", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.3.1", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT/Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "lazy_static", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lazy_static-1.4.0/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "test", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lazy_static-1.4.0/tests/test.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "no_std", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lazy_static-1.4.0/tests/no_std.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - } - ], - "features": { - "spin": [ - "dep:spin" - ], - "spin_no_std": [ - "spin" - ] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lazy_static-1.4.0/Cargo.toml", - "categories": [ - "no-std", - "rust-patterns", - "memory-management" - ], - "keywords": [ - "macro", - "lazy", - "static" - ], - "readme": "README.md", - "repository": "https://github.com/rust-lang-nursery/lazy-static.rs", - "homepage": null, - "documentation": "https://docs.rs/lazy_static", - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "leftpad", - "version": "0.2.0", - "authors": [ - "Hubert Figuière " - ], - "id": "leftpad 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Pad a string to the left", - "dependencies": [], - "license": "BSD-2-Clause", - "license_file": null, - "targets": [ - { - "name": "leftpad", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/leftpad-0.2.0/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - } - ], - "features": {}, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/leftpad-0.2.0/Cargo.toml", - "categories": [], - "keywords": [ - "string" - ], - "readme": "README", - "repository": "https://github.com/hfiguiere/leftpad-rs", - "homepage": null, - "documentation": null, - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "libc", - "version": "0.2.66", - "authors": [ - "The Rust Project Developers" - ], - "id": "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Raw FFI bindings to platform libraries like libc.\n", - "dependencies": [ - { - "name": "rustc-std-workspace-core", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0.0", - "kind": "normal", - "optional": true, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT OR Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "libc", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.66/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "const_fn", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.66/tests/const_fn.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "build-script-build", - "kind": [ - "custom-build" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.66/build.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - } - ], - "features": { - "align": [], - "const-extern-fn": [], - "default": [ - "std" - ], - "extra_traits": [], - "rustc-dep-of-std": [ - "align", - "rustc-std-workspace-core" - ], - "rustc-std-workspace-core": [ - "dep:rustc-std-workspace-core" - ], - "std": [], - "use_std": [ - "std" - ] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.66/Cargo.toml", - "categories": [ - "external-ffi-bindings", - "no-std", - "os" - ], - "keywords": [ - "libc", - "ffi", - "bindings", - "operating", - "system" - ], - "readme": "README.md", - "repository": "https://github.com/rust-lang/libc", - "homepage": "https://github.com/rust-lang/libc", - "documentation": "http://doc.rust-lang.org/libc", - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "libloading", - "version": "0.5.2", - "authors": [ - "Simonas Kazlauskas " - ], - "id": "libloading 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "A safer binding to platform’s dynamic library loading utilities", - "dependencies": [ - { - "name": "cc", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "build", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "winapi", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.3", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [ - "winerror", - "errhandlingapi", - "libloaderapi" - ], - "target": "cfg(windows)", - "rename": null, - "registry": null, - "path": null - } - ], - "license": "ISC", - "license_file": null, - "targets": [ - { - "name": "libloading", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libloading-0.5.2/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "functions", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libloading-0.5.2/tests/functions.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "markers", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libloading-0.5.2/tests/markers.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "windows", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libloading-0.5.2/tests/windows.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "build-script-build", - "kind": [ - "custom-build" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libloading-0.5.2/build.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - } - ], - "features": {}, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libloading-0.5.2/Cargo.toml", - "categories": [], - "keywords": [ - "dlopen", - "load", - "shared", - "dylib" - ], - "readme": null, - "repository": "https://github.com/nagisa/rust_libloading/", - "homepage": null, - "documentation": "https://docs.rs/libloading/", - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "log", - "version": "0.4.8", - "authors": [ - "The Rust Project Developers" - ], - "id": "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "A lightweight logging facade for Rust\n", - "dependencies": [ - { - "name": "cfg-if", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.1.2", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "serde", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "normal", - "optional": true, - "uses_default_features": false, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "sval", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.4.2", - "kind": "normal", - "optional": true, - "uses_default_features": false, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "serde_test", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "sval", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.4.2", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [ - "test" - ], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT OR Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "log", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.8/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "filters", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.8/tests/filters.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "build-script-build", - "kind": [ - "custom-build" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.8/build.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - } - ], - "features": { - "kv_unstable": [], - "kv_unstable_sval": [ - "kv_unstable", - "sval/fmt" - ], - "max_level_debug": [], - "max_level_error": [], - "max_level_info": [], - "max_level_off": [], - "max_level_trace": [], - "max_level_warn": [], - "release_max_level_debug": [], - "release_max_level_error": [], - "release_max_level_info": [], - "release_max_level_off": [], - "release_max_level_trace": [], - "release_max_level_warn": [], - "serde": [ - "dep:serde" - ], - "std": [], - "sval": [ - "dep:sval" - ] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.8/Cargo.toml", - "categories": [ - "development-tools::debugging" - ], - "keywords": [ - "logging" - ], - "readme": "README.md", - "repository": "https://github.com/rust-lang/log", - "homepage": null, - "documentation": "https://docs.rs/log", - "edition": "2015", - "metadata": { - "docs": { - "rs": { - "features": [ - "std", - "serde", - "kv_unstable_sval" - ] - } - } - }, - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "memchr", - "version": "2.2.1", - "authors": [ - "Andrew Gallant ", - "bluss" - ], - "id": "memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Safe interface to memchr.", - "dependencies": [ - { - "name": "libc", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.2.18", - "kind": "normal", - "optional": true, - "uses_default_features": false, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "quickcheck", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.8", - "kind": "dev", - "optional": false, - "uses_default_features": false, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "Unlicense/MIT", - "license_file": null, - "targets": [ - { - "name": "memchr", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.2.1/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "build-script-build", - "kind": [ - "custom-build" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.2.1/build.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - } - ], - "features": { - "default": [ - "use_std" - ], - "libc": [ - "dep:libc" - ], - "use_std": [] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.2.1/Cargo.toml", - "categories": [], - "keywords": [ - "memchr", - "char", - "scan", - "strchr", - "string" - ], - "readme": "README.md", - "repository": "https://github.com/BurntSushi/rust-memchr", - "homepage": "https://github.com/BurntSushi/rust-memchr", - "documentation": "https://docs.rs/memchr/", - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "nix", - "version": "0.16.1", - "authors": [ - "The nix-rust Project Developers" - ], - "id": "nix 0.16.1 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Rust friendly bindings to *nix APIs", - "dependencies": [ - { - "name": "bitflags", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "cfg-if", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.1.2", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "libc", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.2.60", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [ - "extra_traits" - ], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "void", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0.2", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "bytes", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.4.8", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "lazy_static", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.2", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "rand", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.6", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "tempfile", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^3.0.5", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "caps", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.3.1", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": "cfg(any(target_os = \"android\", target_os = \"linux\"))", - "rename": null, - "registry": null, - "path": null - }, - { - "name": "cc", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1", - "kind": "build", - "optional": false, - "uses_default_features": true, - "features": [], - "target": "cfg(target_os = \"dragonfly\")", - "rename": null, - "registry": null, - "path": null - }, - { - "name": "sysctl", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.1", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": "cfg(target_os = \"freebsd\")", - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT", - "license_file": null, - "targets": [ - { - "name": "nix", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.16.1/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "test", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.16.1/test/test.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test-aio-drop", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.16.1/test/sys/test_aio_drop.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test-lio-listio-resubmit", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.16.1/test/sys/test_lio_listio_resubmit.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test-mount", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.16.1/test/test_mount.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test-ptymaster-drop", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.16.1/test/test_ptymaster_drop.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "build-script-build", - "kind": [ - "custom-build" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.16.1/build.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - } - ], - "features": {}, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.16.1/Cargo.toml", - "categories": [ - "os::unix-apis" - ], - "keywords": [], - "readme": "README.md", - "repository": "https://github.com/nix-rust/nix", - "homepage": null, - "documentation": null, - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "nom", - "version": "4.2.3", - "authors": [ - "contact@geoffroycouprie.com" - ], - "id": "nom 4.2.3 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "A byte-oriented, zero-copy, parser combinators library", - "dependencies": [ - { - "name": "lazy_static", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "normal", - "optional": true, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "memchr", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^2.0", - "kind": "normal", - "optional": false, - "uses_default_features": false, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "regex", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "normal", - "optional": true, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "criterion", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.2", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "jemallocator", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.1", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "version_check", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.1", - "kind": "build", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT", - "license_file": null, - "targets": [ - { - "name": "nom", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nom-4.2.3/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "arithmetic", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nom-4.2.3/tests/arithmetic.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "arithmetic_ast", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [ - "alloc" - ], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nom-4.2.3/tests/arithmetic_ast.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "blockbuf-arithmetic", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nom-4.2.3/tests/blockbuf-arithmetic.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "complete_arithmetic", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nom-4.2.3/tests/complete_arithmetic.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "complete_float", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nom-4.2.3/tests/complete_float.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "css", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nom-4.2.3/tests/css.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "custom_errors", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nom-4.2.3/tests/custom_errors.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "float", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nom-4.2.3/tests/float.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "inference", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nom-4.2.3/tests/inference.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "ini", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [ - "alloc" - ], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nom-4.2.3/tests/ini.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "ini_str", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [ - "alloc" - ], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nom-4.2.3/tests/ini_str.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "issues", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [ - "alloc", - "regexp_macros" - ], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nom-4.2.3/tests/issues.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "json", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nom-4.2.3/tests/json.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "mp4", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nom-4.2.3/tests/mp4.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "multiline", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [ - "alloc" - ], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nom-4.2.3/tests/multiline.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "named_args", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nom-4.2.3/tests/named_args.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "overflow", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nom-4.2.3/tests/overflow.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "reborrow_fold", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nom-4.2.3/tests/reborrow_fold.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test1", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nom-4.2.3/tests/test1.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "build-script-build", - "kind": [ - "custom-build" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nom-4.2.3/build.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - } - ], - "features": { - "alloc": [], - "default": [ - "std" - ], - "lazy_static": [ - "dep:lazy_static" - ], - "regex": [ - "dep:regex" - ], - "regexp": [ - "regex" - ], - "regexp_macros": [ - "regexp", - "lazy_static" - ], - "std": [ - "alloc", - "memchr/use_std" - ], - "verbose-errors": [ - "alloc" - ] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nom-4.2.3/Cargo.toml", - "categories": [ - "parsing" - ], - "keywords": [ - "parser", - "parser-combinators", - "parsing", - "streaming", - "bit" - ], - "readme": "README.md", - "repository": "https://github.com/Geal/nom", - "homepage": null, - "documentation": "https://docs.rs/nom", - "edition": "2015", - "metadata": { - "docs": { - "rs": { - "all-features": true, - "features": [ - "alloc", - "std", - "regexp", - "regexp_macros", - "verbose-errors" - ] - } - } - }, - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "peeking_take_while", - "version": "0.1.2", - "authors": [ - "Nick Fitzgerald " - ], - "id": "peeking_take_while 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Like `Iterator::take_while`, but calls the predicate on a peeked value. This allows you to use `Iterator::by_ref` and `Iterator::take_while` together, and still get the first value for which the `take_while` predicate returned false after dropping the `by_ref`.", - "dependencies": [], - "license": "Apache-2.0/MIT", - "license_file": null, - "targets": [ - { - "name": "peeking_take_while", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/peeking_take_while-0.1.2/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - } - ], - "features": {}, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/peeking_take_while-0.1.2/Cargo.toml", - "categories": [ - "rust-patterns" - ], - "keywords": [ - "iterator", - "take_while", - "peek", - "by_ref" - ], - "readme": "./README.md", - "repository": "https://github.com/fitzgen/peeking_take_while", - "homepage": null, - "documentation": null, - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "proc-macro2", - "version": "1.0.7", - "authors": [ - "Alex Crichton " - ], - "id": "proc-macro2 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "A stable implementation of the upcoming new `proc_macro` API. Comes with an\noption, off by default, to also reimplement itself in terms of the upstream\nunstable API.\n", - "dependencies": [ - { - "name": "unicode-xid", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.2", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "quote", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "dev", - "optional": false, - "uses_default_features": false, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT OR Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "proc-macro2", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.7/src/lib.rs", - "edition": "2018", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "test", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.7/tests/test.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "features", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.7/tests/features.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "marker", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.7/tests/marker.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "build-script-build", - "kind": [ - "custom-build" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.7/build.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - } - ], - "features": { - "default": [ - "proc-macro" - ], - "nightly": [], - "proc-macro": [], - "span-locations": [] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.7/Cargo.toml", - "categories": [], - "keywords": [ - "macros" - ], - "readme": "README.md", - "repository": "https://github.com/alexcrichton/proc-macro2", - "homepage": "https://github.com/alexcrichton/proc-macro2", - "documentation": "https://docs.rs/proc-macro2", - "edition": "2018", - "metadata": { - "docs": { - "rs": { - "rustc-args": [ - "--cfg", - "procmacro2_semver_exempt" - ], - "rustdoc-args": [ - "--cfg", - "procmacro2_semver_exempt" - ] - } - } - }, - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "quote", - "version": "1.0.2", - "authors": [ - "David Tolnay " - ], - "id": "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Quasi-quoting macro quote!(...)", - "dependencies": [ - { - "name": "proc-macro2", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "normal", - "optional": false, - "uses_default_features": false, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "rustversion", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.1", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "trybuild", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT OR Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "quote", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/quote-1.0.2/src/lib.rs", - "edition": "2018", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "compiletest", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/quote-1.0.2/tests/compiletest.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/quote-1.0.2/tests/test.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - } - ], - "features": { - "default": [ - "proc-macro" - ], - "proc-macro": [ - "proc-macro2/proc-macro" - ] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/quote-1.0.2/Cargo.toml", - "categories": [ - "development-tools::procedural-macro-helpers" - ], - "keywords": [ - "syn" - ], - "readme": "README.md", - "repository": "https://github.com/dtolnay/quote", - "homepage": null, - "documentation": "https://docs.rs/quote/", - "edition": "2018", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "regex", - "version": "1.3.3", - "authors": [ - "The Rust Project Developers" - ], - "id": "regex 1.3.3 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "An implementation of regular expressions for Rust. This implementation uses\nfinite automata and guarantees linear time matching on all inputs.\n", - "dependencies": [ - { - "name": "aho-corasick", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.7.6", - "kind": "normal", - "optional": true, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "memchr", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^2.2.1", - "kind": "normal", - "optional": true, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "regex-syntax", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.6.12", - "kind": "normal", - "optional": false, - "uses_default_features": false, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "thread_local", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1", - "kind": "normal", - "optional": true, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "doc-comment", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.3", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "lazy_static", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "quickcheck", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.8", - "kind": "dev", - "optional": false, - "uses_default_features": false, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "rand", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.6.5", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT OR Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "regex", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/regex-1.3.3/src/lib.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": true - }, - { - "name": "shootout-regex-dna-single", - "kind": [ - "example" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/regex-1.3.3/examples/shootout-regex-dna-single.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - }, - { - "name": "shootout-regex-dna-replace", - "kind": [ - "example" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/regex-1.3.3/examples/shootout-regex-dna-replace.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - }, - { - "name": "shootout-regex-dna-cheat", - "kind": [ - "example" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/regex-1.3.3/examples/shootout-regex-dna-cheat.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - }, - { - "name": "shootout-regex-dna", - "kind": [ - "example" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/regex-1.3.3/examples/shootout-regex-dna.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - }, - { - "name": "shootout-regex-dna-single-cheat", - "kind": [ - "example" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/regex-1.3.3/examples/shootout-regex-dna-single-cheat.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - }, - { - "name": "shootout-regex-dna-bytes", - "kind": [ - "example" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/regex-1.3.3/examples/shootout-regex-dna-bytes.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - }, - { - "name": "default", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/regex-1.3.3/tests/test_default.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "default-bytes", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/regex-1.3.3/tests/test_default_bytes.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "nfa", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/regex-1.3.3/tests/test_nfa.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "nfa-utf8bytes", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/regex-1.3.3/tests/test_nfa_utf8bytes.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "nfa-bytes", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/regex-1.3.3/tests/test_nfa_bytes.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "backtrack", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/regex-1.3.3/tests/test_backtrack.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "backtrack-utf8bytes", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/regex-1.3.3/tests/test_backtrack_utf8bytes.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "backtrack-bytes", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/regex-1.3.3/tests/test_backtrack_bytes.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "crates-regex", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/regex-1.3.3/tests/test_crates_regex.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - } - ], - "features": { - "aho-corasick": [ - "dep:aho-corasick" - ], - "default": [ - "std", - "perf", - "unicode" - ], - "memchr": [ - "dep:memchr" - ], - "pattern": [], - "perf": [ - "perf-cache", - "perf-dfa", - "perf-inline", - "perf-literal" - ], - "perf-cache": [ - "thread_local" - ], - "perf-dfa": [], - "perf-inline": [], - "perf-literal": [ - "aho-corasick", - "memchr" - ], - "std": [], - "thread_local": [ - "dep:thread_local" - ], - "unicode": [ - "unicode-age", - "unicode-bool", - "unicode-case", - "unicode-gencat", - "unicode-perl", - "unicode-script", - "unicode-segment" - ], - "unicode-age": [ - "regex-syntax/unicode-age" - ], - "unicode-bool": [ - "regex-syntax/unicode-bool" - ], - "unicode-case": [ - "regex-syntax/unicode-case" - ], - "unicode-gencat": [ - "regex-syntax/unicode-gencat" - ], - "unicode-perl": [ - "regex-syntax/unicode-perl" - ], - "unicode-script": [ - "regex-syntax/unicode-script" - ], - "unicode-segment": [ - "regex-syntax/unicode-segment" - ], - "unstable": [ - "pattern" - ], - "use_std": [ - "std" - ] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/regex-1.3.3/Cargo.toml", - "categories": [ - "text-processing" - ], - "keywords": [], - "readme": "README.md", - "repository": "https://github.com/rust-lang/regex", - "homepage": "https://github.com/rust-lang/regex", - "documentation": "https://docs.rs/regex", - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "regex-syntax", - "version": "0.6.13", - "authors": [ - "The Rust Project Developers" - ], - "id": "regex-syntax 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "A regular expression parser.", - "dependencies": [], - "license": "MIT/Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "regex-syntax", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/regex-syntax-0.6.13/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "bench", - "kind": [ - "bench" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/regex-syntax-0.6.13/benches/bench.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - } - ], - "features": { - "default": [ - "unicode" - ], - "unicode": [ - "unicode-age", - "unicode-bool", - "unicode-case", - "unicode-gencat", - "unicode-perl", - "unicode-script", - "unicode-segment" - ], - "unicode-age": [], - "unicode-bool": [], - "unicode-case": [], - "unicode-gencat": [], - "unicode-perl": [], - "unicode-script": [], - "unicode-segment": [] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/regex-syntax-0.6.13/Cargo.toml", - "categories": [], - "keywords": [], - "readme": "README.md", - "repository": "https://github.com/rust-lang/regex", - "homepage": "https://github.com/rust-lang/regex", - "documentation": "https://docs.rs/regex-syntax", - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "ring", - "version": "0.16.9", - "authors": [ - "Brian Smith " - ], - "id": "ring 0.16.9 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Safe, fast, small crypto using Rust.", - "dependencies": [ - { - "name": "untrusted", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.7.0", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "cc", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0.37", - "kind": "build", - "optional": false, - "uses_default_features": false, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "spin", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.5.2", - "kind": "normal", - "optional": false, - "uses_default_features": false, - "features": [], - "target": "cfg(all(any(target_arch = \"aarch64\", target_arch = \"arm\", target_arch = \"x86\", target_arch = \"x86_64\"), not(target_os = \"ios\")))", - "rename": null, - "registry": null, - "path": null - }, - { - "name": "web-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.3.25", - "kind": "normal", - "optional": false, - "uses_default_features": false, - "features": [ - "Crypto", - "Window" - ], - "target": "cfg(all(target_arch = \"wasm32\", target_vendor = \"unknown\", target_os = \"unknown\", target_env = \"\"))", - "rename": null, - "registry": null, - "path": null - }, - { - "name": "lazy_static", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.3", - "kind": "normal", - "optional": true, - "uses_default_features": false, - "features": [], - "target": "cfg(any(target_os = \"android\", target_os = \"freebsd\", target_os = \"linux\", target_os = \"netbsd\", target_os = \"openbsd\", target_os = \"solaris\"))", - "rename": null, - "registry": null, - "path": null - }, - { - "name": "libc", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.2.48", - "kind": "normal", - "optional": false, - "uses_default_features": false, - "features": [], - "target": "cfg(any(target_os = \"android\", target_os = \"linux\"))", - "rename": null, - "registry": null, - "path": null - }, - { - "name": "libc", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.2.48", - "kind": "dev", - "optional": false, - "uses_default_features": false, - "features": [], - "target": "cfg(any(unix, windows))", - "rename": null, - "registry": null, - "path": null - }, - { - "name": "wasm-bindgen-test", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.2.48", - "kind": "dev", - "optional": false, - "uses_default_features": false, - "features": [], - "target": "cfg(target_arch = \"wasm32\")", - "rename": null, - "registry": null, - "path": null - }, - { - "name": "winapi", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.3.7", - "kind": "normal", - "optional": false, - "uses_default_features": false, - "features": [ - "ntsecapi", - "wtypesbase" - ], - "target": "cfg(target_os = \"windows\")", - "rename": null, - "registry": null, - "path": null - } - ], - "license": null, - "license_file": "LICENSE", - "targets": [ - { - "name": "ring", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.16.9/src/lib.rs", - "edition": "2018", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "aead_tests", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.16.9/tests/aead_tests.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "quic_tests", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.16.9/tests/quic_tests.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "signature_tests", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.16.9/tests/signature_tests.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "agreement_tests", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.16.9/tests/agreement_tests.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "ecdsa_tests", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.16.9/tests/ecdsa_tests.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "pbkdf2_tests", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.16.9/tests/pbkdf2_tests.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "hkdf_tests", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.16.9/tests/hkdf_tests.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "ed25519_tests", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.16.9/tests/ed25519_tests.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "rsa_tests", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.16.9/tests/rsa_tests.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "hmac_tests", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.16.9/tests/hmac_tests.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "rand_tests", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.16.9/tests/rand_tests.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "digest_tests", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.16.9/tests/digest_tests.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "build-script-build", - "kind": [ - "custom-build" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.16.9/build.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - } - ], - "features": { - "alloc": [], - "default": [ - "alloc", - "dev_urandom_fallback" - ], - "dev_urandom_fallback": [ - "lazy_static" - ], - "internal_benches": [], - "lazy_static": [ - "dep:lazy_static" - ], - "slow_tests": [], - "std": [ - "alloc" - ], - "test_logging": [] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.16.9/Cargo.toml", - "categories": [ - "cryptography", - "no-std" - ], - "keywords": [ - "crypto", - "cryptography", - "rand", - "ECC", - "RSA" - ], - "readme": "doc/link-to-readme.md", - "repository": "https://github.com/briansmith/ring", - "homepage": null, - "documentation": "https://briansmith.org/rustdoc/ring/", - "edition": "2018", - "links": "ring-asm", - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "rustc-hash", - "version": "1.0.1", - "authors": [ - "The Rust Project Developers" - ], - "id": "rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "speed, non-cryptographic hash used in rustc", - "dependencies": [ - { - "name": "byteorder", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.1", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "Apache-2.0/MIT", - "license_file": null, - "targets": [ - { - "name": "rustc-hash", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustc-hash-1.0.1/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - } - ], - "features": {}, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustc-hash-1.0.1/Cargo.toml", - "categories": [], - "keywords": [ - "hash", - "fxhash", - "rustc" - ], - "readme": "README.md", - "repository": "https://github.com/rust-lang-nursery/rustc-hash", - "homepage": null, - "documentation": null, - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "shlex", - "version": "0.1.1", - "authors": [ - "comex " - ], - "id": "shlex 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Split a string into shell words, like Python's shlex.\n", - "dependencies": [], - "license": "MIT/Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "shlex", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/shlex-0.1.1/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - } - ], - "features": {}, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/shlex-0.1.1/Cargo.toml", - "categories": [], - "keywords": [], - "readme": null, - "repository": "https://github.com/comex/rust-shlex", - "homepage": null, - "documentation": null, - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "sourcefile", - "version": "0.1.4", - "authors": [ - "Richard Dodd " - ], - "id": "sourcefile 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Retain mapping information when concatenating source files, to make error \nmessages more useful", - "dependencies": [ - { - "name": "tempfile", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^3", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "Apache-2.0/MIT", - "license_file": null, - "targets": [ - { - "name": "sourcefile", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sourcefile-0.1.4/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - } - ], - "features": {}, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sourcefile-0.1.4/Cargo.toml", - "categories": [ - "text-processing", - "parsing", - "filesystem", - "development-tools::debugging", - "development-tools::procedural-macro-helpers" - ], - "keywords": [ - "sourcemap", - "source", - "map", - "file", - "location" - ], - "readme": "README.md", - "repository": "https://github.com/derekdreery/sourcefile-rs", - "homepage": null, - "documentation": null, - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "spin", - "version": "0.5.2", - "authors": [ - "Mathijs van de Nes ", - "John Ericson " - ], - "id": "spin 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Synchronization primitives based on spinning.\nThey may contain data, are usable without `std`,\nand static initializers are available.\n", - "dependencies": [], - "license": "MIT", - "license_file": null, - "targets": [ - { - "name": "spin", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/spin-0.5.2/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "debug", - "kind": [ - "example" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/spin-0.5.2/examples/debug.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - } - ], - "features": {}, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/spin-0.5.2/Cargo.toml", - "categories": [], - "keywords": [ - "spinlock", - "mutex", - "rwlock" - ], - "readme": "README.md", - "repository": "https://github.com/mvdnes/spin-rs.git", - "homepage": null, - "documentation": "https://mvdnes.github.io/rust-docs/spin-rs/spin/index.html", - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "syn", - "version": "1.0.13", - "authors": [ - "David Tolnay " - ], - "id": "syn 1.0.13 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Parser for Rust source code", - "dependencies": [ - { - "name": "proc-macro2", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0.7", - "kind": "normal", - "optional": false, - "uses_default_features": false, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "quote", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "normal", - "optional": true, - "uses_default_features": false, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "unicode-xid", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.2", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "anyhow", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "flate2", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "insta", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.12", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "rayon", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "ref-cast", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "regex", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "reqwest", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.10", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [ - "blocking" - ], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "tar", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.4", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "termcolor", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "walkdir", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^2.1", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT OR Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "syn", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.13/src/lib.rs", - "edition": "2018", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "zzz_stable", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.13/tests/zzz_stable.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test_precedence", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.13/tests/test_precedence.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test_receiver", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.13/tests/test_receiver.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test_visibility", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.13/tests/test_visibility.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test_derive_input", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.13/tests/test_derive_input.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test_expr", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.13/tests/test_expr.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test_meta", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.13/tests/test_meta.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test_ident", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.13/tests/test_ident.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test_asyncness", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.13/tests/test_asyncness.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test_lit", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.13/tests/test_lit.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test_should_parse", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.13/tests/test_should_parse.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test_pat", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.13/tests/test_pat.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test_size", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.13/tests/test_size.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test_round_trip", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.13/tests/test_round_trip.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test_iterators", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.13/tests/test_iterators.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test_parse_buffer", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.13/tests/test_parse_buffer.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test_generics", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.13/tests/test_generics.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test_token_trees", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.13/tests/test_token_trees.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test_attribute", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.13/tests/test_attribute.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "test_grouping", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.13/tests/test_grouping.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "rust", - "kind": [ - "bench" - ], - "crate_types": [ - "bin" - ], - "required_features": [ - "full", - "parsing" - ], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.13/benches/rust.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - }, - { - "name": "file", - "kind": [ - "bench" - ], - "crate_types": [ - "bin" - ], - "required_features": [ - "full", - "parsing" - ], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.13/benches/file.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - }, - { - "name": "build-script-build", - "kind": [ - "custom-build" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.13/build.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - } - ], - "features": { - "clone-impls": [], - "default": [ - "derive", - "parsing", - "printing", - "clone-impls", - "proc-macro" - ], - "derive": [], - "extra-traits": [], - "fold": [], - "full": [], - "parsing": [], - "printing": [ - "quote" - ], - "proc-macro": [ - "proc-macro2/proc-macro", - "quote/proc-macro" - ], - "quote": [ - "dep:quote" - ], - "visit": [], - "visit-mut": [] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.13/Cargo.toml", - "categories": [ - "development-tools::procedural-macro-helpers" - ], - "keywords": [], - "readme": "README.md", - "repository": "https://github.com/dtolnay/syn", - "homepage": null, - "documentation": "https://docs.rs/syn", - "edition": "2018", - "metadata": { - "docs": { - "rs": { - "all-features": true - } - }, - "playground": { - "all-features": true - } - }, - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "thread_local", - "version": "1.0.0", - "authors": [ - "Amanieu d'Antras " - ], - "id": "thread_local 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Per-object thread-local storage", - "dependencies": [ - { - "name": "lazy_static", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "Apache-2.0/MIT", - "license_file": null, - "targets": [ - { - "name": "thread_local", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/thread_local-1.0.0/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "thread_local", - "kind": [ - "bench" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/thread_local-1.0.0/benches/thread_local.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - } - ], - "features": {}, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/thread_local-1.0.0/Cargo.toml", - "categories": [], - "keywords": [ - "thread_local", - "concurrent", - "thread" - ], - "readme": "README.md", - "repository": "https://github.com/Amanieu/thread_local-rs", - "homepage": null, - "documentation": "https://amanieu.github.io/thread_local-rs/thread_local/index.html", - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "unicode-segmentation", - "version": "1.6.0", - "authors": [ - "kwantam ", - "Manish Goregaokar " - ], - "id": "unicode-segmentation 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "This crate provides Grapheme Cluster, Word and Sentence boundaries\naccording to Unicode Standard Annex #29 rules.\n", - "dependencies": [ - { - "name": "quickcheck", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.7", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT/Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "unicode-segmentation", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unicode-segmentation-1.6.0/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - } - ], - "features": { - "no_std": [] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unicode-segmentation-1.6.0/Cargo.toml", - "categories": [], - "keywords": [ - "text", - "unicode", - "grapheme", - "word", - "boundary" - ], - "readme": "README.md", - "repository": "https://github.com/unicode-rs/unicode-segmentation", - "homepage": "https://github.com/unicode-rs/unicode-segmentation", - "documentation": "https://unicode-rs.github.io/unicode-segmentation", - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "unicode-xid", - "version": "0.2.0", - "authors": [ - "erick.tryzelaar ", - "kwantam " - ], - "id": "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Determine whether characters have the XID_Start\nor XID_Continue properties according to\nUnicode Standard Annex #31.\n", - "dependencies": [], - "license": "MIT OR Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "unicode-xid", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unicode-xid-0.2.0/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - } - ], - "features": { - "bench": [], - "default": [], - "no_std": [] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unicode-xid-0.2.0/Cargo.toml", - "categories": [], - "keywords": [ - "text", - "unicode", - "xid" - ], - "readme": "README.md", - "repository": "https://github.com/unicode-rs/unicode-xid", - "homepage": "https://github.com/unicode-rs/unicode-xid", - "documentation": "https://unicode-rs.github.io/unicode-xid", - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "untrusted", - "version": "0.7.0", - "authors": [ - "Brian Smith " - ], - "id": "untrusted 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of untrusted inputs in Rust.", - "dependencies": [], - "license": "ISC", - "license_file": null, - "targets": [ - { - "name": "untrusted", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/untrusted-0.7.0/src/untrusted.rs", - "edition": "2018", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "tests", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/untrusted-0.7.0/tests/tests.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - } - ], - "features": {}, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/untrusted-0.7.0/Cargo.toml", - "categories": [], - "keywords": [], - "readme": "README.md", - "repository": "https://github.com/briansmith/untrusted", - "homepage": null, - "documentation": "https://briansmith.org/rustdoc/untrusted/", - "edition": "2018", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "version_check", - "version": "0.1.5", - "authors": [ - "Sergio Benitez " - ], - "id": "version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Tiny crate to check the version of the installed/running rustc.", - "dependencies": [], - "license": "MIT/Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "version_check", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/version_check-0.1.5/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - } - ], - "features": {}, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/version_check-0.1.5/Cargo.toml", - "categories": [], - "keywords": [ - "version", - "rustc", - "minimum", - "check" - ], - "readme": "README.md", - "repository": "https://github.com/SergioBenitez/version_check", - "homepage": null, - "documentation": "https://docs.rs/version_check/", - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "void", - "version": "1.0.2", - "authors": [ - "Jonathan Reem " - ], - "id": "void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "The uninhabited void type for use in statically impossible cases.", - "dependencies": [], - "license": "MIT", - "license_file": null, - "targets": [ - { - "name": "void", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/void-1.0.2/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - } - ], - "features": { - "default": [ - "std" - ], - "std": [] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/void-1.0.2/Cargo.toml", - "categories": [], - "keywords": [], - "readme": "README.md", - "repository": "https://github.com/reem/rust-void.git", - "homepage": null, - "documentation": null, - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "wasm-bindgen", - "version": "0.2.58", - "authors": [ - "The wasm-bindgen Developers" - ], - "id": "wasm-bindgen 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Easy support for interacting between JS and Rust.\n", - "dependencies": [ - { - "name": "cfg-if", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.1.9", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "serde", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "normal", - "optional": true, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "serde_json", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "normal", - "optional": true, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "wasm-bindgen-macro", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "=0.2.58", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "js-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.3.35", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": "cfg(target_arch = \"wasm32\")", - "rename": null, - "registry": null, - "path": null - }, - { - "name": "serde_derive", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": "cfg(target_arch = \"wasm32\")", - "rename": null, - "registry": null, - "path": null - }, - { - "name": "wasm-bindgen-futures", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "=0.4.8", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": "cfg(target_arch = \"wasm32\")", - "rename": null, - "registry": null, - "path": null - }, - { - "name": "wasm-bindgen-test", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "=0.3.8", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": "cfg(target_arch = \"wasm32\")", - "rename": null, - "registry": null, - "path": null - }, - { - "name": "wasm-bindgen-test-crate-a", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.1", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": "cfg(target_arch = \"wasm32\")", - "rename": null, - "registry": null, - "path": null - }, - { - "name": "wasm-bindgen-test-crate-b", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.1", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": "cfg(target_arch = \"wasm32\")", - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT/Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "wasm-bindgen", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-0.2.58/src/lib.rs", - "edition": "2018", - "doctest": true, - "doctest": true, - "test": false, - "doc": true - }, - { - "name": "wasm", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-0.2.58/tests/wasm/main.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "non_wasm", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-0.2.58/tests/non_wasm.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "std-crate-no-std-dep", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-0.2.58/tests/std-crate-no-std-dep.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "unwrap_throw", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-0.2.58/tests/unwrap_throw.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "headless", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-0.2.58/tests/headless/main.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "build-script-build", - "kind": [ - "custom-build" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-0.2.58/build.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - } - ], - "features": { - "default": [ - "spans", - "std" - ], - "enable-interning": [ - "std" - ], - "nightly": [], - "serde": [ - "dep:serde" - ], - "serde-serialize": [ - "serde", - "serde_json", - "std" - ], - "serde_json": [ - "dep:serde_json" - ], - "spans": [ - "wasm-bindgen-macro/spans" - ], - "std": [], - "strict-macro": [ - "wasm-bindgen-macro/strict-macro" - ], - "xxx_debug_only_print_generated_code": [ - "wasm-bindgen-macro/xxx_debug_only_print_generated_code" - ] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-0.2.58/Cargo.toml", - "categories": [ - "wasm" - ], - "keywords": [], - "readme": "README.md", - "repository": "https://github.com/rustwasm/wasm-bindgen", - "homepage": "https://rustwasm.github.io/", - "documentation": "https://docs.rs/wasm-bindgen", - "edition": "2018", - "metadata": { - "docs": { - "rs": { - "features": [ - "serde-serialize" - ] - } - } - }, - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "wasm-bindgen-backend", - "version": "0.2.58", - "authors": [ - "The wasm-bindgen Developers" - ], - "id": "wasm-bindgen-backend 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Backend code generation of the wasm-bindgen tool\n", - "dependencies": [ - { - "name": "bumpalo", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^3.0.0", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "lazy_static", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0.0", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "log", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.4", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "proc-macro2", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "quote", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "syn", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [ - "full" - ], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "wasm-bindgen-shared", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "=0.2.58", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT/Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "wasm-bindgen-backend", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-backend-0.2.58/src/lib.rs", - "edition": "2018", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - } - ], - "features": { - "extra-traits": [ - "syn/extra-traits" - ], - "spans": [] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-backend-0.2.58/Cargo.toml", - "categories": [], - "keywords": [], - "readme": null, - "repository": "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/backend", - "homepage": "https://rustwasm.github.io/wasm-bindgen/", - "documentation": "https://docs.rs/wasm-bindgen-backend", - "edition": "2018", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "wasm-bindgen-futures", - "version": "0.4.8", - "authors": [ - "The wasm-bindgen Developers" - ], - "id": "wasm-bindgen-futures 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Bridging the gap between Rust Futures and JavaScript Promises", - "dependencies": [ - { - "name": "cfg-if", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.1.9", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "js-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.3.35", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "wasm-bindgen", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.2.58", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "futures-channel-preview", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.3.0-alpha.18", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": "cfg(target_arch = \"wasm32\")", - "rename": null, - "registry": null, - "path": null - }, - { - "name": "wasm-bindgen-test", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.3.8", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": "cfg(target_arch = \"wasm32\")", - "rename": null, - "registry": null, - "path": null - }, - { - "name": "web-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.3.24", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [ - "MessageEvent", - "Worker" - ], - "target": "cfg(target_feature = \"atomics\")", - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT/Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "wasm-bindgen-futures", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-futures-0.4.8/src/lib.rs", - "edition": "2018", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "tests", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-futures-0.4.8/tests/tests.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - } - ], - "features": {}, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-futures-0.4.8/Cargo.toml", - "categories": [], - "keywords": [], - "readme": "./README.md", - "repository": "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/futures", - "homepage": "https://rustwasm.github.io/wasm-bindgen/", - "documentation": "https://docs.rs/wasm-bindgen-futures", - "edition": "2018", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "wasm-bindgen-macro", - "version": "0.2.58", - "authors": [ - "The wasm-bindgen Developers" - ], - "id": "wasm-bindgen-macro 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Definition of the `#[wasm_bindgen]` attribute, an internal dependency\n", - "dependencies": [ - { - "name": "quote", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "wasm-bindgen-macro-support", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "=0.2.58", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "trybuild", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "wasm-bindgen", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.2.58", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [ - "strict-macro" - ], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "wasm-bindgen-futures", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.4.8", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT/Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "wasm-bindgen-macro", - "kind": [ - "proc-macro" - ], - "crate_types": [ - "proc-macro" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-macro-0.2.58/src/lib.rs", - "edition": "2018", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "ui", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-macro-0.2.58/tests/ui.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - } - ], - "features": { - "spans": [ - "wasm-bindgen-macro-support/spans" - ], - "strict-macro": [ - "wasm-bindgen-macro-support/strict-macro" - ], - "xxx_debug_only_print_generated_code": [] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-macro-0.2.58/Cargo.toml", - "categories": [], - "keywords": [], - "readme": "README.md", - "repository": "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro", - "homepage": "https://rustwasm.github.io/wasm-bindgen/", - "documentation": "https://docs.rs/wasm-bindgen", - "edition": "2018", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "wasm-bindgen-macro-support", - "version": "0.2.58", - "authors": [ - "The wasm-bindgen Developers" - ], - "id": "wasm-bindgen-macro-support 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "The part of the implementation of the `#[wasm_bindgen]` attribute that is not in the shared backend crate\n", - "dependencies": [ - { - "name": "proc-macro2", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "quote", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "syn", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [ - "visit" - ], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "wasm-bindgen-backend", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "=0.2.58", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "wasm-bindgen-shared", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "=0.2.58", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT/Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "wasm-bindgen-macro-support", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-macro-support-0.2.58/src/lib.rs", - "edition": "2018", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - } - ], - "features": { - "extra-traits": [ - "syn/extra-traits" - ], - "spans": [ - "wasm-bindgen-backend/spans" - ], - "strict-macro": [] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-macro-support-0.2.58/Cargo.toml", - "categories": [], - "keywords": [], - "readme": null, - "repository": "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro-support", - "homepage": "https://rustwasm.github.io/wasm-bindgen/", - "documentation": "https://docs.rs/wasm-bindgen", - "edition": "2018", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "wasm-bindgen-shared", - "version": "0.2.58", - "authors": [ - "The wasm-bindgen Developers" - ], - "id": "wasm-bindgen-shared 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Shared support between wasm-bindgen and wasm-bindgen cli, an internal\ndependency.\n", - "dependencies": [], - "license": "MIT/Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "wasm-bindgen-shared", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-shared-0.2.58/src/lib.rs", - "edition": "2018", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "build-script-build", - "kind": [ - "custom-build" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-shared-0.2.58/build.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - } - ], - "features": {}, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-shared-0.2.58/Cargo.toml", - "categories": [], - "keywords": [], - "readme": null, - "repository": "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/shared", - "homepage": "https://rustwasm.github.io/wasm-bindgen/", - "documentation": "https://docs.rs/wasm-bindgen-shared", - "edition": "2018", - "links": "wasm_bindgen", - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "wasm-bindgen-webidl", - "version": "0.2.58", - "authors": [ - "The wasm-bindgen Developers" - ], - "id": "wasm-bindgen-webidl 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Support for parsing WebIDL specific to wasm-bindgen\n", - "dependencies": [ - { - "name": "anyhow", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "heck", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.3", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "log", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.4.1", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "proc-macro2", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "quote", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "syn", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [ - "full" - ], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "wasm-bindgen-backend", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "=0.2.58", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "weedle", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.10", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT/Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "wasm-bindgen-webidl", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-webidl-0.2.58/src/lib.rs", - "edition": "2018", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - } - ], - "features": {}, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-webidl-0.2.58/Cargo.toml", - "categories": [ - "wasm" - ], - "keywords": [], - "readme": null, - "repository": "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/webidl", - "homepage": "https://rustwasm.github.io/wasm-bindgen/", - "documentation": "https://docs.rs/wasm-bindgen", - "edition": "2018", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "web-sys", - "version": "0.3.35", - "authors": [ - "The wasm-bindgen Developers" - ], - "id": "web-sys 0.3.35 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Bindings for all Web APIs, a procedurally generated crate from WebIDL\n", - "dependencies": [ - { - "name": "js-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.3.35", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "wasm-bindgen", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.2.58", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "anyhow", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^1.0", - "kind": "build", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "env_logger", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.7.0", - "kind": "build", - "optional": true, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "sourcefile", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.1", - "kind": "build", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "wasm-bindgen-webidl", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "=0.2.58", - "kind": "build", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "wasm-bindgen-futures", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.4.8", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": "cfg(target_arch = \"wasm32\")", - "rename": null, - "registry": null, - "path": null - }, - { - "name": "wasm-bindgen-test", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.3.8", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": "cfg(target_arch = \"wasm32\")", - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT/Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "web-sys", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/web-sys-0.3.35/src/lib.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": false, - "doc": true - }, - { - "name": "wasm", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/web-sys-0.3.35/tests/wasm/main.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - }, - { - "name": "build-script-build", - "kind": [ - "custom-build" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/web-sys-0.3.35/build.rs", - "edition": "2018", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - } - ], - "features": { - "AbortController": [], - "AbortSignal": [], - "AddEventListenerOptions": [], - "AesCbcParams": [], - "AesCtrParams": [], - "AesDerivedKeyParams": [], - "AesGcmParams": [], - "AesKeyAlgorithm": [], - "AesKeyGenParams": [], - "Algorithm": [], - "AlignSetting": [], - "AnalyserNode": [], - "AnalyserOptions": [], - "AngleInstancedArrays": [], - "Animation": [], - "AnimationEffect": [], - "AnimationEvent": [], - "AnimationEventInit": [], - "AnimationPlayState": [], - "AnimationPlaybackEvent": [], - "AnimationPlaybackEventInit": [], - "AnimationPropertyDetails": [], - "AnimationPropertyValueDetails": [], - "AnimationTimeline": [], - "AssignedNodesOptions": [], - "AttestationConveyancePreference": [], - "Attr": [], - "AttributeNameValue": [], - "AudioBuffer": [], - "AudioBufferOptions": [], - "AudioBufferSourceNode": [], - "AudioBufferSourceOptions": [], - "AudioConfiguration": [], - "AudioContext": [], - "AudioContextOptions": [], - "AudioContextState": [], - "AudioDestinationNode": [], - "AudioListener": [], - "AudioNode": [], - "AudioNodeOptions": [], - "AudioParam": [], - "AudioParamMap": [], - "AudioProcessingEvent": [], - "AudioScheduledSourceNode": [], - "AudioStreamTrack": [], - "AudioTrack": [], - "AudioTrackList": [], - "AudioWorklet": [], - "AudioWorkletGlobalScope": [], - "AudioWorkletNode": [], - "AudioWorkletNodeOptions": [], - "AudioWorkletProcessor": [], - "AuthenticationExtensionsClientInputs": [], - "AuthenticationExtensionsClientOutputs": [], - "AuthenticatorAssertionResponse": [], - "AuthenticatorAttachment": [], - "AuthenticatorAttestationResponse": [], - "AuthenticatorResponse": [], - "AuthenticatorSelectionCriteria": [], - "AuthenticatorTransport": [], - "AutoKeyword": [], - "AutocompleteInfo": [], - "BarProp": [], - "BaseAudioContext": [], - "BaseComputedKeyframe": [], - "BaseKeyframe": [], - "BasePropertyIndexedKeyframe": [], - "BasicCardRequest": [], - "BasicCardResponse": [], - "BasicCardType": [], - "BatteryManager": [], - "BeforeUnloadEvent": [], - "BinaryType": [], - "BiquadFilterNode": [], - "BiquadFilterOptions": [], - "BiquadFilterType": [], - "Blob": [], - "BlobEvent": [], - "BlobEventInit": [], - "BlobPropertyBag": [], - "BlockParsingOptions": [], - "BoxQuadOptions": [], - "BroadcastChannel": [], - "BrowserElementDownloadOptions": [], - "BrowserElementExecuteScriptOptions": [], - "BrowserFeedWriter": [], - "BrowserFindCaseSensitivity": [], - "BrowserFindDirection": [], - "Cache": [], - "CacheBatchOperation": [], - "CacheQueryOptions": [], - "CacheStorage": [], - "CacheStorageNamespace": [], - "CanvasCaptureMediaStream": [], - "CanvasGradient": [], - "CanvasPattern": [], - "CanvasRenderingContext2d": [], - "CanvasWindingRule": [], - "CaretChangedReason": [], - "CaretPosition": [], - "CaretStateChangedEventInit": [], - "CdataSection": [], - "ChannelCountMode": [], - "ChannelInterpretation": [], - "ChannelMergerNode": [], - "ChannelMergerOptions": [], - "ChannelPixelLayout": [], - "ChannelPixelLayoutDataType": [], - "ChannelSplitterNode": [], - "ChannelSplitterOptions": [], - "CharacterData": [], - "CheckerboardReason": [], - "CheckerboardReport": [], - "CheckerboardReportService": [], - "ChromeFilePropertyBag": [], - "ChromeWorker": [], - "Client": [], - "ClientQueryOptions": [], - "ClientRectsAndTexts": [], - "ClientType": [], - "Clients": [], - "ClipboardEvent": [], - "ClipboardEventInit": [], - "CloseEvent": [], - "CloseEventInit": [], - "CollectedClientData": [], - "Comment": [], - "CompositeOperation": [], - "CompositionEvent": [], - "CompositionEventInit": [], - "ComputedEffectTiming": [], - "ConnStatusDict": [], - "ConnectionType": [], - "ConsoleCounter": [], - "ConsoleCounterError": [], - "ConsoleEvent": [], - "ConsoleInstance": [], - "ConsoleInstanceOptions": [], - "ConsoleLevel": [], - "ConsoleLogLevel": [], - "ConsoleProfileEvent": [], - "ConsoleStackEntry": [], - "ConsoleTimerError": [], - "ConsoleTimerLogOrEnd": [], - "ConsoleTimerStart": [], - "ConstantSourceNode": [], - "ConstantSourceOptions": [], - "ConstrainBooleanParameters": [], - "ConstrainDomStringParameters": [], - "ConstrainDoubleRange": [], - "ConstrainLongRange": [], - "ContextAttributes2d": [], - "ConvertCoordinateOptions": [], - "ConvolverNode": [], - "ConvolverOptions": [], - "Coordinates": [], - "Credential": [], - "CredentialCreationOptions": [], - "CredentialRequestOptions": [], - "CredentialsContainer": [], - "Crypto": [], - "CryptoKey": [], - "CryptoKeyPair": [], - "Csp": [], - "CspPolicies": [], - "CspReport": [], - "CspReportProperties": [], - "CssAnimation": [], - "CssBoxType": [], - "CssConditionRule": [], - "CssCounterStyleRule": [], - "CssFontFaceRule": [], - "CssFontFeatureValuesRule": [], - "CssGroupingRule": [], - "CssImportRule": [], - "CssKeyframeRule": [], - "CssKeyframesRule": [], - "CssMediaRule": [], - "CssNamespaceRule": [], - "CssPageRule": [], - "CssPseudoElement": [], - "CssRule": [], - "CssRuleList": [], - "CssStyleDeclaration": [], - "CssStyleRule": [], - "CssStyleSheet": [], - "CssStyleSheetParsingMode": [], - "CssSupportsRule": [], - "CssTransition": [], - "CustomElementRegistry": [], - "CustomEvent": [], - "CustomEventInit": [], - "DataTransfer": [], - "DataTransferItem": [], - "DataTransferItemList": [], - "DateTimeValue": [], - "DecoderDoctorNotification": [], - "DecoderDoctorNotificationType": [], - "DedicatedWorkerGlobalScope": [], - "DelayNode": [], - "DelayOptions": [], - "DeviceAcceleration": [], - "DeviceAccelerationInit": [], - "DeviceLightEvent": [], - "DeviceLightEventInit": [], - "DeviceMotionEvent": [], - "DeviceMotionEventInit": [], - "DeviceOrientationEvent": [], - "DeviceOrientationEventInit": [], - "DeviceProximityEvent": [], - "DeviceProximityEventInit": [], - "DeviceRotationRate": [], - "DeviceRotationRateInit": [], - "DhKeyDeriveParams": [], - "DirectionSetting": [], - "Directory": [], - "DisplayNameOptions": [], - "DisplayNameResult": [], - "DistanceModelType": [], - "DnsCacheDict": [], - "DnsCacheEntry": [], - "DnsLookupDict": [], - "Document": [], - "DocumentFragment": [], - "DocumentTimeline": [], - "DocumentTimelineOptions": [], - "DocumentType": [], - "DomError": [], - "DomException": [], - "DomImplementation": [], - "DomMatrix": [], - "DomMatrixReadOnly": [], - "DomParser": [], - "DomPoint": [], - "DomPointInit": [], - "DomPointReadOnly": [], - "DomQuad": [], - "DomQuadInit": [], - "DomQuadJson": [], - "DomRect": [], - "DomRectInit": [], - "DomRectList": [], - "DomRectReadOnly": [], - "DomRequest": [], - "DomRequestReadyState": [], - "DomStringList": [], - "DomStringMap": [], - "DomTokenList": [], - "DomWindowResizeEventDetail": [], - "DragEvent": [], - "DragEventInit": [], - "DynamicsCompressorNode": [], - "DynamicsCompressorOptions": [], - "EcKeyAlgorithm": [], - "EcKeyGenParams": [], - "EcKeyImportParams": [], - "EcdhKeyDeriveParams": [], - "EcdsaParams": [], - "EffectTiming": [], - "Element": [], - "ElementCreationOptions": [], - "ElementDefinitionOptions": [], - "EndingTypes": [], - "ErrorCallback": [], - "ErrorEvent": [], - "ErrorEventInit": [], - "Event": [], - "EventInit": [], - "EventListener": [], - "EventListenerOptions": [], - "EventModifierInit": [], - "EventSource": [], - "EventSourceInit": [], - "EventTarget": [], - "Exception": [], - "ExtBlendMinmax": [], - "ExtColorBufferFloat": [], - "ExtColorBufferHalfFloat": [], - "ExtDisjointTimerQuery": [], - "ExtFragDepth": [], - "ExtSRgb": [], - "ExtShaderTextureLod": [], - "ExtTextureFilterAnisotropic": [], - "ExtendableEvent": [], - "ExtendableEventInit": [], - "ExtendableMessageEvent": [], - "ExtendableMessageEventInit": [], - "External": [], - "FakePluginMimeEntry": [], - "FakePluginTagInit": [], - "FetchEvent": [], - "FetchEventInit": [], - "FetchObserver": [], - "FetchReadableStreamReadDataArray": [], - "FetchReadableStreamReadDataDone": [], - "FetchState": [], - "File": [], - "FileCallback": [], - "FileList": [], - "FilePropertyBag": [], - "FileReader": [], - "FileReaderSync": [], - "FileSystem": [], - "FileSystemDirectoryEntry": [], - "FileSystemDirectoryReader": [], - "FileSystemEntriesCallback": [], - "FileSystemEntry": [], - "FileSystemEntryCallback": [], - "FileSystemFileEntry": [], - "FileSystemFlags": [], - "FillMode": [], - "FlashClassification": [], - "FlexLineGrowthState": [], - "FocusEvent": [], - "FocusEventInit": [], - "FontFace": [], - "FontFaceDescriptors": [], - "FontFaceLoadStatus": [], - "FontFaceSet": [], - "FontFaceSetIterator": [], - "FontFaceSetIteratorResult": [], - "FontFaceSetLoadEvent": [], - "FontFaceSetLoadEventInit": [], - "FontFaceSetLoadStatus": [], - "FormData": [], - "FrameType": [], - "FuzzingFunctions": [], - "GainNode": [], - "GainOptions": [], - "Gamepad": [], - "GamepadAxisMoveEvent": [], - "GamepadAxisMoveEventInit": [], - "GamepadButton": [], - "GamepadButtonEvent": [], - "GamepadButtonEventInit": [], - "GamepadEvent": [], - "GamepadEventInit": [], - "GamepadHand": [], - "GamepadHapticActuator": [], - "GamepadHapticActuatorType": [], - "GamepadMappingType": [], - "GamepadPose": [], - "GamepadServiceTest": [], - "Geolocation": [], - "GetNotificationOptions": [], - "GetRootNodeOptions": [], - "GetUserMediaRequest": [], - "GridDeclaration": [], - "GridTrackState": [], - "GroupedHistoryEventInit": [], - "HalfOpenInfoDict": [], - "HashChangeEvent": [], - "HashChangeEventInit": [], - "Headers": [], - "HeadersGuardEnum": [], - "HiddenPluginEventInit": [], - "History": [], - "HitRegionOptions": [], - "HkdfParams": [], - "HmacDerivedKeyParams": [], - "HmacImportParams": [], - "HmacKeyAlgorithm": [], - "HmacKeyGenParams": [], - "HtmlAllCollection": [], - "HtmlAnchorElement": [], - "HtmlAreaElement": [], - "HtmlAudioElement": [], - "HtmlBaseElement": [], - "HtmlBodyElement": [], - "HtmlBrElement": [], - "HtmlButtonElement": [], - "HtmlCanvasElement": [], - "HtmlCollection": [], - "HtmlDListElement": [], - "HtmlDataElement": [], - "HtmlDataListElement": [], - "HtmlDetailsElement": [], - "HtmlDialogElement": [], - "HtmlDirectoryElement": [], - "HtmlDivElement": [], - "HtmlDocument": [], - "HtmlElement": [], - "HtmlEmbedElement": [], - "HtmlFieldSetElement": [], - "HtmlFontElement": [], - "HtmlFormControlsCollection": [], - "HtmlFormElement": [], - "HtmlFrameElement": [], - "HtmlFrameSetElement": [], - "HtmlHeadElement": [], - "HtmlHeadingElement": [], - "HtmlHrElement": [], - "HtmlHtmlElement": [], - "HtmlHyperlinkElementUtils": [], - "HtmlIFrameElement": [], - "HtmlImageElement": [], - "HtmlInputElement": [], - "HtmlLabelElement": [], - "HtmlLegendElement": [], - "HtmlLiElement": [], - "HtmlLinkElement": [], - "HtmlMapElement": [], - "HtmlMediaElement": [], - "HtmlMenuElement": [], - "HtmlMenuItemElement": [], - "HtmlMetaElement": [], - "HtmlMeterElement": [], - "HtmlModElement": [], - "HtmlOListElement": [], - "HtmlObjectElement": [], - "HtmlOptGroupElement": [], - "HtmlOptionElement": [], - "HtmlOptionsCollection": [], - "HtmlOutputElement": [], - "HtmlParagraphElement": [], - "HtmlParamElement": [], - "HtmlPictureElement": [], - "HtmlPreElement": [], - "HtmlProgressElement": [], - "HtmlQuoteElement": [], - "HtmlScriptElement": [], - "HtmlSelectElement": [], - "HtmlSlotElement": [], - "HtmlSourceElement": [], - "HtmlSpanElement": [], - "HtmlStyleElement": [], - "HtmlTableCaptionElement": [], - "HtmlTableCellElement": [], - "HtmlTableColElement": [], - "HtmlTableElement": [], - "HtmlTableRowElement": [], - "HtmlTableSectionElement": [], - "HtmlTemplateElement": [], - "HtmlTextAreaElement": [], - "HtmlTimeElement": [], - "HtmlTitleElement": [], - "HtmlTrackElement": [], - "HtmlUListElement": [], - "HtmlUnknownElement": [], - "HtmlVideoElement": [], - "HttpConnDict": [], - "HttpConnInfo": [], - "HttpConnectionElement": [], - "IdbCursor": [], - "IdbCursorDirection": [], - "IdbCursorWithValue": [], - "IdbDatabase": [], - "IdbFactory": [], - "IdbFileHandle": [], - "IdbFileMetadataParameters": [], - "IdbFileRequest": [], - "IdbIndex": [], - "IdbIndexParameters": [], - "IdbKeyRange": [], - "IdbLocaleAwareKeyRange": [], - "IdbMutableFile": [], - "IdbObjectStore": [], - "IdbObjectStoreParameters": [], - "IdbOpenDbOptions": [], - "IdbOpenDbRequest": [], - "IdbRequest": [], - "IdbRequestReadyState": [], - "IdbTransaction": [], - "IdbTransactionMode": [], - "IdbVersionChangeEvent": [], - "IdbVersionChangeEventInit": [], - "IdleDeadline": [], - "IdleRequestOptions": [], - "IirFilterNode": [], - "IirFilterOptions": [], - "ImageBitmap": [], - "ImageBitmapFormat": [], - "ImageBitmapRenderingContext": [], - "ImageCapture": [], - "ImageCaptureError": [], - "ImageCaptureErrorEvent": [], - "ImageCaptureErrorEventInit": [], - "ImageData": [], - "InputEvent": [], - "InputEventInit": [], - "InstallTriggerData": [], - "IntersectionObserver": [], - "IntersectionObserverEntry": [], - "IntersectionObserverEntryInit": [], - "IntersectionObserverInit": [], - "IntlUtils": [], - "IterableKeyAndValueResult": [], - "IterableKeyOrValueResult": [], - "IterationCompositeOperation": [], - "JsonWebKey": [], - "KeyAlgorithm": [], - "KeyEvent": [], - "KeyIdsInitData": [], - "KeyboardEvent": [], - "KeyboardEventInit": [], - "KeyframeEffect": [], - "KeyframeEffectOptions": [], - "L10nElement": [], - "L10nValue": [], - "LifecycleCallbacks": [], - "LineAlignSetting": [], - "ListBoxObject": [], - "LocalMediaStream": [], - "LocaleInfo": [], - "Location": [], - "MediaCapabilities": [], - "MediaCapabilitiesInfo": [], - "MediaConfiguration": [], - "MediaDecodingConfiguration": [], - "MediaDecodingType": [], - "MediaDeviceInfo": [], - "MediaDeviceKind": [], - "MediaDevices": [], - "MediaElementAudioSourceNode": [], - "MediaElementAudioSourceOptions": [], - "MediaEncodingConfiguration": [], - "MediaEncodingType": [], - "MediaEncryptedEvent": [], - "MediaError": [], - "MediaKeyError": [], - "MediaKeyMessageEvent": [], - "MediaKeyMessageEventInit": [], - "MediaKeyMessageType": [], - "MediaKeyNeededEventInit": [], - "MediaKeySession": [], - "MediaKeySessionType": [], - "MediaKeyStatus": [], - "MediaKeyStatusMap": [], - "MediaKeySystemAccess": [], - "MediaKeySystemConfiguration": [], - "MediaKeySystemMediaCapability": [], - "MediaKeySystemStatus": [], - "MediaKeys": [], - "MediaKeysPolicy": [], - "MediaKeysRequirement": [], - "MediaList": [], - "MediaQueryList": [], - "MediaQueryListEvent": [], - "MediaQueryListEventInit": [], - "MediaRecorder": [], - "MediaRecorderErrorEvent": [], - "MediaRecorderErrorEventInit": [], - "MediaRecorderOptions": [], - "MediaSource": [], - "MediaSourceEndOfStreamError": [], - "MediaSourceEnum": [], - "MediaSourceReadyState": [], - "MediaStream": [], - "MediaStreamAudioDestinationNode": [], - "MediaStreamAudioSourceNode": [], - "MediaStreamAudioSourceOptions": [], - "MediaStreamConstraints": [], - "MediaStreamError": [], - "MediaStreamEvent": [], - "MediaStreamEventInit": [], - "MediaStreamTrack": [], - "MediaStreamTrackEvent": [], - "MediaStreamTrackEventInit": [], - "MediaStreamTrackState": [], - "MediaTrackConstraintSet": [], - "MediaTrackConstraints": [], - "MediaTrackSettings": [], - "MediaTrackSupportedConstraints": [], - "MessageChannel": [], - "MessageEvent": [], - "MessageEventInit": [], - "MessagePort": [], - "MidiAccess": [], - "MidiConnectionEvent": [], - "MidiConnectionEventInit": [], - "MidiInput": [], - "MidiInputMap": [], - "MidiMessageEvent": [], - "MidiMessageEventInit": [], - "MidiOptions": [], - "MidiOutput": [], - "MidiOutputMap": [], - "MidiPort": [], - "MidiPortConnectionState": [], - "MidiPortDeviceState": [], - "MidiPortType": [], - "MimeType": [], - "MimeTypeArray": [], - "MouseEvent": [], - "MouseEventInit": [], - "MouseScrollEvent": [], - "MozDebug": [], - "MutationEvent": [], - "MutationObserver": [], - "MutationObserverInit": [], - "MutationObservingInfo": [], - "MutationRecord": [], - "NamedNodeMap": [], - "NativeOsFileReadOptions": [], - "NativeOsFileWriteAtomicOptions": [], - "NavigationType": [], - "Navigator": [], - "NavigatorAutomationInformation": [], - "NetworkCommandOptions": [], - "NetworkInformation": [], - "NetworkResultOptions": [], - "Node": [], - "NodeFilter": [], - "NodeIterator": [], - "NodeList": [], - "Notification": [], - "NotificationBehavior": [], - "NotificationDirection": [], - "NotificationEvent": [], - "NotificationEventInit": [], - "NotificationOptions": [], - "NotificationPermission": [], - "ObserverCallback": [], - "OesElementIndexUint": [], - "OesStandardDerivatives": [], - "OesTextureFloat": [], - "OesTextureFloatLinear": [], - "OesTextureHalfFloat": [], - "OesTextureHalfFloatLinear": [], - "OesVertexArrayObject": [], - "OfflineAudioCompletionEvent": [], - "OfflineAudioCompletionEventInit": [], - "OfflineAudioContext": [], - "OfflineAudioContextOptions": [], - "OfflineResourceList": [], - "OffscreenCanvas": [], - "OpenWindowEventDetail": [], - "OptionalEffectTiming": [], - "OrientationLockType": [], - "OrientationType": [], - "OscillatorNode": [], - "OscillatorOptions": [], - "OscillatorType": [], - "OverSampleType": [], - "PageTransitionEvent": [], - "PageTransitionEventInit": [], - "PaintRequest": [], - "PaintRequestList": [], - "PaintWorkletGlobalScope": [], - "PannerNode": [], - "PannerOptions": [], - "PanningModelType": [], - "Path2d": [], - "PaymentAddress": [], - "PaymentComplete": [], - "PaymentMethodChangeEvent": [], - "PaymentMethodChangeEventInit": [], - "PaymentRequestUpdateEvent": [], - "PaymentRequestUpdateEventInit": [], - "PaymentResponse": [], - "Pbkdf2Params": [], - "PcImplIceConnectionState": [], - "PcImplIceGatheringState": [], - "PcImplSignalingState": [], - "PcObserverStateType": [], - "Performance": [], - "PerformanceEntry": [], - "PerformanceEntryEventInit": [], - "PerformanceEntryFilterOptions": [], - "PerformanceMark": [], - "PerformanceMeasure": [], - "PerformanceNavigation": [], - "PerformanceNavigationTiming": [], - "PerformanceObserver": [], - "PerformanceObserverEntryList": [], - "PerformanceObserverInit": [], - "PerformanceResourceTiming": [], - "PerformanceServerTiming": [], - "PerformanceTiming": [], - "PeriodicWave": [], - "PeriodicWaveConstraints": [], - "PeriodicWaveOptions": [], - "PermissionDescriptor": [], - "PermissionName": [], - "PermissionState": [], - "PermissionStatus": [], - "Permissions": [], - "PlaybackDirection": [], - "Plugin": [], - "PluginArray": [], - "PluginCrashedEventInit": [], - "PointerEvent": [], - "PointerEventInit": [], - "PopStateEvent": [], - "PopStateEventInit": [], - "PopupBlockedEvent": [], - "PopupBlockedEventInit": [], - "Position": [], - "PositionAlignSetting": [], - "PositionError": [], - "PositionOptions": [], - "Presentation": [], - "PresentationAvailability": [], - "PresentationConnection": [], - "PresentationConnectionAvailableEvent": [], - "PresentationConnectionAvailableEventInit": [], - "PresentationConnectionBinaryType": [], - "PresentationConnectionCloseEvent": [], - "PresentationConnectionCloseEventInit": [], - "PresentationConnectionClosedReason": [], - "PresentationConnectionList": [], - "PresentationConnectionState": [], - "PresentationReceiver": [], - "PresentationRequest": [], - "ProcessingInstruction": [], - "ProfileTimelineLayerRect": [], - "ProfileTimelineMarker": [], - "ProfileTimelineMessagePortOperationType": [], - "ProfileTimelineStackFrame": [], - "ProfileTimelineWorkerOperationType": [], - "ProgressEvent": [], - "ProgressEventInit": [], - "PromiseNativeHandler": [], - "PromiseRejectionEvent": [], - "PromiseRejectionEventInit": [], - "PublicKeyCredential": [], - "PublicKeyCredentialCreationOptions": [], - "PublicKeyCredentialDescriptor": [], - "PublicKeyCredentialEntity": [], - "PublicKeyCredentialParameters": [], - "PublicKeyCredentialRequestOptions": [], - "PublicKeyCredentialRpEntity": [], - "PublicKeyCredentialType": [], - "PublicKeyCredentialUserEntity": [], - "PushEncryptionKeyName": [], - "PushEvent": [], - "PushEventInit": [], - "PushManager": [], - "PushMessageData": [], - "PushPermissionState": [], - "PushSubscription": [], - "PushSubscriptionInit": [], - "PushSubscriptionJson": [], - "PushSubscriptionKeys": [], - "PushSubscriptionOptions": [], - "PushSubscriptionOptionsInit": [], - "RadioNodeList": [], - "Range": [], - "RcwnPerfStats": [], - "RcwnStatus": [], - "ReadableStream": [], - "RecordingState": [], - "ReferrerPolicy": [], - "RegisterRequest": [], - "RegisterResponse": [], - "RegisteredKey": [], - "RegistrationOptions": [], - "Request": [], - "RequestCache": [], - "RequestCredentials": [], - "RequestDestination": [], - "RequestInit": [], - "RequestMediaKeySystemAccessNotification": [], - "RequestMode": [], - "RequestRedirect": [], - "Response": [], - "ResponseInit": [], - "ResponseType": [], - "RsaHashedImportParams": [], - "RsaOaepParams": [], - "RsaOtherPrimesInfo": [], - "RsaPssParams": [], - "RtcAnswerOptions": [], - "RtcBundlePolicy": [], - "RtcCertificate": [], - "RtcCertificateExpiration": [], - "RtcCodecStats": [], - "RtcConfiguration": [], - "RtcDataChannel": [], - "RtcDataChannelEvent": [], - "RtcDataChannelEventInit": [], - "RtcDataChannelInit": [], - "RtcDataChannelState": [], - "RtcDataChannelType": [], - "RtcDegradationPreference": [], - "RtcFecParameters": [], - "RtcIceCandidate": [], - "RtcIceCandidateInit": [], - "RtcIceCandidatePairStats": [], - "RtcIceCandidateStats": [], - "RtcIceComponentStats": [], - "RtcIceConnectionState": [], - "RtcIceCredentialType": [], - "RtcIceGatheringState": [], - "RtcIceServer": [], - "RtcIceTransportPolicy": [], - "RtcIdentityAssertion": [], - "RtcIdentityAssertionResult": [], - "RtcIdentityProvider": [], - "RtcIdentityProviderDetails": [], - "RtcIdentityProviderOptions": [], - "RtcIdentityProviderRegistrar": [], - "RtcIdentityValidationResult": [], - "RtcInboundRtpStreamStats": [], - "RtcLifecycleEvent": [], - "RtcMediaStreamStats": [], - "RtcMediaStreamTrackStats": [], - "RtcOfferAnswerOptions": [], - "RtcOfferOptions": [], - "RtcOutboundRtpStreamStats": [], - "RtcPeerConnection": [], - "RtcPeerConnectionIceEvent": [], - "RtcPeerConnectionIceEventInit": [], - "RtcPriorityType": [], - "RtcRtcpParameters": [], - "RtcRtpCodecParameters": [], - "RtcRtpContributingSource": [], - "RtcRtpEncodingParameters": [], - "RtcRtpHeaderExtensionParameters": [], - "RtcRtpParameters": [], - "RtcRtpReceiver": [], - "RtcRtpSender": [], - "RtcRtpSourceEntry": [], - "RtcRtpSourceEntryType": [], - "RtcRtpSynchronizationSource": [], - "RtcRtpTransceiver": [], - "RtcRtpTransceiverDirection": [], - "RtcRtpTransceiverInit": [], - "RtcRtxParameters": [], - "RtcSdpType": [], - "RtcSessionDescription": [], - "RtcSessionDescriptionInit": [], - "RtcSignalingState": [], - "RtcStats": [], - "RtcStatsIceCandidatePairState": [], - "RtcStatsIceCandidateType": [], - "RtcStatsReport": [], - "RtcStatsReportInternal": [], - "RtcStatsType": [], - "RtcTrackEvent": [], - "RtcTrackEventInit": [], - "RtcTransportStats": [], - "RtcdtmfSender": [], - "RtcdtmfToneChangeEvent": [], - "RtcdtmfToneChangeEventInit": [], - "RtcrtpContributingSourceStats": [], - "RtcrtpStreamStats": [], - "Screen": [], - "ScreenColorGamut": [], - "ScreenLuminance": [], - "ScreenOrientation": [], - "ScriptProcessorNode": [], - "ScrollAreaEvent": [], - "ScrollBehavior": [], - "ScrollBoxObject": [], - "ScrollIntoViewOptions": [], - "ScrollLogicalPosition": [], - "ScrollOptions": [], - "ScrollRestoration": [], - "ScrollSetting": [], - "ScrollState": [], - "ScrollToOptions": [], - "ScrollViewChangeEventInit": [], - "SecurityPolicyViolationEvent": [], - "SecurityPolicyViolationEventDisposition": [], - "SecurityPolicyViolationEventInit": [], - "Selection": [], - "ServerSocketOptions": [], - "ServiceWorker": [], - "ServiceWorkerContainer": [], - "ServiceWorkerGlobalScope": [], - "ServiceWorkerRegistration": [], - "ServiceWorkerState": [], - "ServiceWorkerUpdateViaCache": [], - "ShadowRoot": [], - "ShadowRootInit": [], - "ShadowRootMode": [], - "SharedWorker": [], - "SharedWorkerGlobalScope": [], - "SignResponse": [], - "SocketElement": [], - "SocketOptions": [], - "SocketReadyState": [], - "SocketsDict": [], - "SourceBuffer": [], - "SourceBufferAppendMode": [], - "SourceBufferList": [], - "SpeechGrammar": [], - "SpeechGrammarList": [], - "SpeechRecognition": [], - "SpeechRecognitionAlternative": [], - "SpeechRecognitionError": [], - "SpeechRecognitionErrorCode": [], - "SpeechRecognitionErrorInit": [], - "SpeechRecognitionEvent": [], - "SpeechRecognitionEventInit": [], - "SpeechRecognitionResult": [], - "SpeechRecognitionResultList": [], - "SpeechSynthesis": [], - "SpeechSynthesisErrorCode": [], - "SpeechSynthesisErrorEvent": [], - "SpeechSynthesisErrorEventInit": [], - "SpeechSynthesisEvent": [], - "SpeechSynthesisEventInit": [], - "SpeechSynthesisUtterance": [], - "SpeechSynthesisVoice": [], - "StereoPannerNode": [], - "StereoPannerOptions": [], - "Storage": [], - "StorageEstimate": [], - "StorageEvent": [], - "StorageEventInit": [], - "StorageManager": [], - "StorageType": [], - "StyleRuleChangeEventInit": [], - "StyleSheet": [], - "StyleSheetApplicableStateChangeEventInit": [], - "StyleSheetChangeEventInit": [], - "StyleSheetList": [], - "SubtleCrypto": [], - "SupportedType": [], - "SvgAngle": [], - "SvgAnimateElement": [], - "SvgAnimateMotionElement": [], - "SvgAnimateTransformElement": [], - "SvgAnimatedAngle": [], - "SvgAnimatedBoolean": [], - "SvgAnimatedEnumeration": [], - "SvgAnimatedInteger": [], - "SvgAnimatedLength": [], - "SvgAnimatedLengthList": [], - "SvgAnimatedNumber": [], - "SvgAnimatedNumberList": [], - "SvgAnimatedPreserveAspectRatio": [], - "SvgAnimatedRect": [], - "SvgAnimatedString": [], - "SvgAnimatedTransformList": [], - "SvgAnimationElement": [], - "SvgBoundingBoxOptions": [], - "SvgCircleElement": [], - "SvgClipPathElement": [], - "SvgComponentTransferFunctionElement": [], - "SvgDefsElement": [], - "SvgDescElement": [], - "SvgElement": [], - "SvgEllipseElement": [], - "SvgFilterElement": [], - "SvgForeignObjectElement": [], - "SvgGeometryElement": [], - "SvgGradientElement": [], - "SvgGraphicsElement": [], - "SvgImageElement": [], - "SvgLength": [], - "SvgLengthList": [], - "SvgLineElement": [], - "SvgLinearGradientElement": [], - "SvgMarkerElement": [], - "SvgMaskElement": [], - "SvgMatrix": [], - "SvgMetadataElement": [], - "SvgNumber": [], - "SvgNumberList": [], - "SvgPathElement": [], - "SvgPathSeg": [], - "SvgPathSegArcAbs": [], - "SvgPathSegArcRel": [], - "SvgPathSegClosePath": [], - "SvgPathSegCurvetoCubicAbs": [], - "SvgPathSegCurvetoCubicRel": [], - "SvgPathSegCurvetoCubicSmoothAbs": [], - "SvgPathSegCurvetoCubicSmoothRel": [], - "SvgPathSegCurvetoQuadraticAbs": [], - "SvgPathSegCurvetoQuadraticRel": [], - "SvgPathSegCurvetoQuadraticSmoothAbs": [], - "SvgPathSegCurvetoQuadraticSmoothRel": [], - "SvgPathSegLinetoAbs": [], - "SvgPathSegLinetoHorizontalAbs": [], - "SvgPathSegLinetoHorizontalRel": [], - "SvgPathSegLinetoRel": [], - "SvgPathSegLinetoVerticalAbs": [], - "SvgPathSegLinetoVerticalRel": [], - "SvgPathSegList": [], - "SvgPathSegMovetoAbs": [], - "SvgPathSegMovetoRel": [], - "SvgPatternElement": [], - "SvgPoint": [], - "SvgPointList": [], - "SvgPolygonElement": [], - "SvgPolylineElement": [], - "SvgPreserveAspectRatio": [], - "SvgRadialGradientElement": [], - "SvgRect": [], - "SvgRectElement": [], - "SvgScriptElement": [], - "SvgSetElement": [], - "SvgStopElement": [], - "SvgStringList": [], - "SvgStyleElement": [], - "SvgSwitchElement": [], - "SvgSymbolElement": [], - "SvgTextContentElement": [], - "SvgTextElement": [], - "SvgTextPathElement": [], - "SvgTextPositioningElement": [], - "SvgTitleElement": [], - "SvgTransform": [], - "SvgTransformList": [], - "SvgUnitTypes": [], - "SvgUseElement": [], - "SvgViewElement": [], - "SvgZoomAndPan": [], - "SvgaElement": [], - "SvgfeBlendElement": [], - "SvgfeColorMatrixElement": [], - "SvgfeComponentTransferElement": [], - "SvgfeCompositeElement": [], - "SvgfeConvolveMatrixElement": [], - "SvgfeDiffuseLightingElement": [], - "SvgfeDisplacementMapElement": [], - "SvgfeDistantLightElement": [], - "SvgfeDropShadowElement": [], - "SvgfeFloodElement": [], - "SvgfeFuncAElement": [], - "SvgfeFuncBElement": [], - "SvgfeFuncGElement": [], - "SvgfeFuncRElement": [], - "SvgfeGaussianBlurElement": [], - "SvgfeImageElement": [], - "SvgfeMergeElement": [], - "SvgfeMergeNodeElement": [], - "SvgfeMorphologyElement": [], - "SvgfeOffsetElement": [], - "SvgfePointLightElement": [], - "SvgfeSpecularLightingElement": [], - "SvgfeSpotLightElement": [], - "SvgfeTileElement": [], - "SvgfeTurbulenceElement": [], - "SvggElement": [], - "SvgmPathElement": [], - "SvgsvgElement": [], - "SvgtSpanElement": [], - "TcpReadyState": [], - "TcpServerSocket": [], - "TcpServerSocketEvent": [], - "TcpServerSocketEventInit": [], - "TcpSocket": [], - "TcpSocketBinaryType": [], - "TcpSocketErrorEvent": [], - "TcpSocketErrorEventInit": [], - "TcpSocketEvent": [], - "TcpSocketEventInit": [], - "Text": [], - "TextDecodeOptions": [], - "TextDecoder": [], - "TextDecoderOptions": [], - "TextEncoder": [], - "TextMetrics": [], - "TextTrack": [], - "TextTrackCue": [], - "TextTrackCueList": [], - "TextTrackKind": [], - "TextTrackList": [], - "TextTrackMode": [], - "TimeEvent": [], - "TimeRanges": [], - "Touch": [], - "TouchEvent": [], - "TouchEventInit": [], - "TouchInit": [], - "TouchList": [], - "TrackEvent": [], - "TrackEventInit": [], - "TransitionEvent": [], - "TransitionEventInit": [], - "Transport": [], - "TreeBoxObject": [], - "TreeCellInfo": [], - "TreeView": [], - "TreeWalker": [], - "U2f": [], - "U2fClientData": [], - "UdpMessageEventInit": [], - "UdpOptions": [], - "UiEvent": [], - "UiEventInit": [], - "Url": [], - "UrlSearchParams": [], - "UserProximityEvent": [], - "UserProximityEventInit": [], - "UserVerificationRequirement": [], - "ValidityState": [], - "VideoConfiguration": [], - "VideoFacingModeEnum": [], - "VideoPlaybackQuality": [], - "VideoStreamTrack": [], - "VideoTrack": [], - "VideoTrackList": [], - "VisibilityState": [], - "VoidCallback": [], - "VrDisplay": [], - "VrDisplayCapabilities": [], - "VrEye": [], - "VrEyeParameters": [], - "VrFieldOfView": [], - "VrFrameData": [], - "VrLayer": [], - "VrMockController": [], - "VrMockDisplay": [], - "VrPose": [], - "VrServiceTest": [], - "VrStageParameters": [], - "VrSubmitFrameResult": [], - "VttCue": [], - "VttRegion": [], - "WaveShaperNode": [], - "WaveShaperOptions": [], - "WebGl2RenderingContext": [], - "WebGlActiveInfo": [], - "WebGlBuffer": [], - "WebGlContextAttributes": [], - "WebGlContextEvent": [], - "WebGlContextEventInit": [], - "WebGlFramebuffer": [], - "WebGlPowerPreference": [], - "WebGlProgram": [], - "WebGlQuery": [], - "WebGlRenderbuffer": [], - "WebGlRenderingContext": [], - "WebGlSampler": [], - "WebGlShader": [], - "WebGlShaderPrecisionFormat": [], - "WebGlSync": [], - "WebGlTexture": [], - "WebGlTransformFeedback": [], - "WebGlUniformLocation": [], - "WebGlVertexArrayObject": [], - "WebGpu": [], - "WebGpuAdapter": [], - "WebGpuAdapterDescriptor": [], - "WebGpuAttachmentState": [], - "WebGpuAttachmentStateDescriptor": [], - "WebGpuBindGroup": [], - "WebGpuBindGroupBinding": [], - "WebGpuBindGroupDescriptor": [], - "WebGpuBindGroupLayout": [], - "WebGpuBindGroupLayoutDescriptor": [], - "WebGpuBinding": [], - "WebGpuBindingType": [], - "WebGpuBlendDescriptor": [], - "WebGpuBlendFactor": [], - "WebGpuBlendOperation": [], - "WebGpuBlendState": [], - "WebGpuBlendStateDescriptor": [], - "WebGpuBuffer": [], - "WebGpuBufferBinding": [], - "WebGpuBufferDescriptor": [], - "WebGpuBufferUsage": [], - "WebGpuColorWriteBits": [], - "WebGpuCommandBuffer": [], - "WebGpuCommandEncoder": [], - "WebGpuCommandEncoderDescriptor": [], - "WebGpuCompareFunction": [], - "WebGpuComputePipeline": [], - "WebGpuComputePipelineDescriptor": [], - "WebGpuDepthStencilState": [], - "WebGpuDepthStencilStateDescriptor": [], - "WebGpuDevice": [], - "WebGpuDeviceDescriptor": [], - "WebGpuExtensions": [], - "WebGpuFence": [], - "WebGpuFilterMode": [], - "WebGpuIndexFormat": [], - "WebGpuInputState": [], - "WebGpuInputStateDescriptor": [], - "WebGpuInputStepMode": [], - "WebGpuLimits": [], - "WebGpuLoadOp": [], - "WebGpuLogEntry": [], - "WebGpuLogEntryType": [], - "WebGpuObjectStatus": [], - "WebGpuPipelineDescriptorBase": [], - "WebGpuPipelineLayout": [], - "WebGpuPipelineLayoutDescriptor": [], - "WebGpuPipelineStageDescriptor": [], - "WebGpuPowerPreference": [], - "WebGpuPrimitiveTopology": [], - "WebGpuQueue": [], - "WebGpuRenderPassAttachmentDescriptor": [], - "WebGpuRenderPassDescriptor": [], - "WebGpuRenderPipeline": [], - "WebGpuRenderPipelineDescriptor": [], - "WebGpuSampler": [], - "WebGpuSamplerDescriptor": [], - "WebGpuShaderModule": [], - "WebGpuShaderModuleDescriptor": [], - "WebGpuShaderStage": [], - "WebGpuShaderStageBit": [], - "WebGpuStencilOperation": [], - "WebGpuStencilStateFaceDescriptor": [], - "WebGpuStoreOp": [], - "WebGpuSwapChain": [], - "WebGpuSwapChainDescriptor": [], - "WebGpuTexture": [], - "WebGpuTextureDescriptor": [], - "WebGpuTextureDimension": [], - "WebGpuTextureFormat": [], - "WebGpuTextureUsage": [], - "WebGpuTextureView": [], - "WebGpuTextureViewDescriptor": [], - "WebGpuVertexAttributeDescriptor": [], - "WebGpuVertexFormat": [], - "WebGpuVertexInputDescriptor": [], - "WebKitCssMatrix": [], - "WebSocket": [], - "WebSocketDict": [], - "WebSocketElement": [], - "WebglColorBufferFloat": [], - "WebglCompressedTextureAstc": [], - "WebglCompressedTextureAtc": [], - "WebglCompressedTextureEtc": [], - "WebglCompressedTextureEtc1": [], - "WebglCompressedTexturePvrtc": [], - "WebglCompressedTextureS3tc": [], - "WebglCompressedTextureS3tcSrgb": [], - "WebglDebugRendererInfo": [], - "WebglDebugShaders": [], - "WebglDepthTexture": [], - "WebglDrawBuffers": [], - "WebglLoseContext": [], - "WebrtcGlobalStatisticsReport": [], - "WheelEvent": [], - "WheelEventInit": [], - "WidevineCdmManifest": [], - "Window": [], - "WindowClient": [], - "Worker": [], - "WorkerDebuggerGlobalScope": [], - "WorkerGlobalScope": [], - "WorkerLocation": [], - "WorkerNavigator": [], - "WorkerOptions": [], - "Worklet": [], - "WorkletGlobalScope": [], - "XPathExpression": [], - "XPathNsResolver": [], - "XPathResult": [], - "XmlDocument": [], - "XmlHttpRequest": [], - "XmlHttpRequestEventTarget": [], - "XmlHttpRequestResponseType": [], - "XmlHttpRequestUpload": [], - "XmlSerializer": [], - "XsltProcessor": [], - "console": [], - "css": [], - "env_logger": [ - "dep:env_logger" - ] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/web-sys-0.3.35/Cargo.toml", - "categories": [], - "keywords": [], - "readme": "./README.md", - "repository": "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/web-sys", - "homepage": "https://rustwasm.github.io/wasm-bindgen/web-sys/index.html", - "documentation": "https://rustwasm.github.io/wasm-bindgen/api/web_sys/", - "edition": "2018", - "metadata": { - "docs": { - "rs": { - "all-features": true - } - } - }, - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "weedle", - "version": "0.10.0", - "authors": [ - "Sharad Chand " - ], - "id": "weedle 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "A WebIDL Parser", - "dependencies": [ - { - "name": "nom", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^4.0.0", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT", - "license_file": null, - "targets": [ - { - "name": "weedle", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/weedle-0.10.0/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "webidl", - "kind": [ - "test" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/weedle-0.10.0/tests/webidl.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": true, - "doc": false - } - ], - "features": {}, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/weedle-0.10.0/Cargo.toml", - "categories": [], - "keywords": [], - "readme": "./README.md", - "repository": "https://github.com/rustwasm/weedle", - "homepage": "https://github.com/rustwasm/weedle", - "documentation": "https://docs.rs/weedle", - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "winapi", - "version": "0.2.8", - "authors": [ - "Peter Atashian " - ], - "id": "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Types and constants for WinAPI bindings. See README for list of crates providing function bindings.", - "dependencies": [ - { - "name": "advapi32-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "bcrypt-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "comctl32-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "comdlg32-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "credui-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "crypt32-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "d2d1-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "d3d11-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "d3d12-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "d3d9-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "d3dcompiler-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "dbghelp-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "dsound-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "dwmapi-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "dwrite-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "dxgi-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "dxguid-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "gdi32-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "hid-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "httpapi-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "kernel32-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "ktmw32-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "mpr-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "netapi32-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "odbc32-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "ole32-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "oleaut32-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "opengl32-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "pdh-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "psapi-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "runtimeobject-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "secur32-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "setupapi-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "shell32-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "shlwapi-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "user32-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "userenv-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "usp10-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "uuid-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "vssapi-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "wevtapi-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "winhttp-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "winmm-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "winscard-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "winspool-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "winusb-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "ws2_32-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - }, - { - "name": "xinput-sys", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0", - "kind": "dev", - "optional": false, - "uses_default_features": true, - "features": [], - "target": null, - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT", - "license_file": null, - "targets": [ - { - "name": "winapi", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winapi-0.2.8/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - } - ], - "features": {}, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winapi-0.2.8/Cargo.toml", - "categories": [], - "keywords": [ - "windows", - "ffi", - "win32", - "com", - "directx" - ], - "readme": "README.md", - "repository": "https://github.com/retep998/winapi-rs", - "homepage": null, - "documentation": "https://retep998.github.io/doc/winapi/", - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "winapi", - "version": "0.3.8", - "authors": [ - "Peter Atashian " - ], - "id": "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Raw FFI bindings for all of Windows API.", - "dependencies": [ - { - "name": "winapi-i686-pc-windows-gnu", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.4", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": "i686-pc-windows-gnu", - "rename": null, - "registry": null, - "path": null - }, - { - "name": "winapi-x86_64-pc-windows-gnu", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "req": "^0.4", - "kind": "normal", - "optional": false, - "uses_default_features": true, - "features": [], - "target": "x86_64-pc-windows-gnu", - "rename": null, - "registry": null, - "path": null - } - ], - "license": "MIT/Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "winapi", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winapi-0.3.8/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "build-script-build", - "kind": [ - "custom-build" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winapi-0.3.8/build.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - } - ], - "features": { - "accctrl": [], - "aclapi": [], - "activation": [], - "appmgmt": [], - "audioclient": [], - "audiosessiontypes": [], - "avrt": [], - "basetsd": [], - "bcrypt": [], - "bits": [], - "bits10_1": [], - "bits1_5": [], - "bits2_0": [], - "bits2_5": [], - "bits3_0": [], - "bits4_0": [], - "bits5_0": [], - "bitscfg": [], - "bitsmsg": [], - "bluetoothapis": [], - "bluetoothleapis": [], - "bthdef": [], - "bthioctl": [], - "bthledef": [], - "bthsdpdef": [], - "bugcodes": [], - "cderr": [], - "cfg": [], - "cfgmgr32": [], - "cguid": [], - "combaseapi": [], - "coml2api": [], - "commapi": [], - "commctrl": [], - "commdlg": [], - "commoncontrols": [], - "consoleapi": [], - "corsym": [], - "d2d1": [], - "d2d1_1": [], - "d2d1_2": [], - "d2d1_3": [], - "d2d1effectauthor": [], - "d2d1effects": [], - "d2d1effects_1": [], - "d2d1effects_2": [], - "d2d1svg": [], - "d2dbasetypes": [], - "d3d": [], - "d3d10": [], - "d3d10_1": [], - "d3d10_1shader": [], - "d3d10effect": [], - "d3d10misc": [], - "d3d10sdklayers": [], - "d3d10shader": [], - "d3d11": [], - "d3d11_1": [], - "d3d11_2": [], - "d3d11_3": [], - "d3d11_4": [], - "d3d11on12": [], - "d3d11sdklayers": [], - "d3d11shader": [], - "d3d11tokenizedprogramformat": [], - "d3d12": [], - "d3d12sdklayers": [], - "d3d12shader": [], - "d3d9": [], - "d3d9caps": [], - "d3d9types": [], - "d3dcommon": [], - "d3dcompiler": [], - "d3dcsx": [], - "d3dkmdt": [], - "d3dkmthk": [], - "d3dukmdt": [], - "d3dx10core": [], - "d3dx10math": [], - "d3dx10mesh": [], - "datetimeapi": [], - "davclnt": [], - "dbghelp": [], - "dbt": [], - "dcommon": [], - "dcomp": [], - "dcompanimation": [], - "dcomptypes": [], - "dde": [], - "ddraw": [], - "ddrawi": [], - "ddrawint": [], - "debug": [ - "impl-debug" - ], - "debugapi": [], - "devguid": [], - "devicetopology": [], - "devpkey": [], - "devpropdef": [], - "dinput": [], - "dinputd": [], - "dispex": [], - "dmksctl": [], - "dmusicc": [], - "docobj": [], - "documenttarget": [], - "dpa_dsa": [], - "dpapi": [], - "dsgetdc": [], - "dsound": [], - "dsrole": [], - "dvp": [], - "dwmapi": [], - "dwrite": [], - "dwrite_1": [], - "dwrite_2": [], - "dwrite_3": [], - "dxdiag": [], - "dxfile": [], - "dxgi": [], - "dxgi1_2": [], - "dxgi1_3": [], - "dxgi1_4": [], - "dxgi1_5": [], - "dxgi1_6": [], - "dxgidebug": [], - "dxgiformat": [], - "dxgitype": [], - "dxva2api": [], - "dxvahd": [], - "enclaveapi": [], - "endpointvolume": [], - "errhandlingapi": [], - "everything": [], - "evntcons": [], - "evntprov": [], - "evntrace": [], - "excpt": [], - "exdisp": [], - "fibersapi": [], - "fileapi": [], - "functiondiscoverykeys_devpkey": [], - "gl-gl": [], - "guiddef": [], - "handleapi": [], - "heapapi": [], - "hidclass": [], - "hidpi": [], - "hidsdi": [], - "hidusage": [], - "highlevelmonitorconfigurationapi": [], - "hstring": [], - "http": [], - "ifdef": [], - "imm": [], - "impl-debug": [], - "impl-default": [], - "in6addr": [], - "inaddr": [], - "inspectable": [], - "interlockedapi": [], - "intsafe": [], - "ioapiset": [], - "jobapi": [], - "jobapi2": [], - "knownfolders": [], - "ks": [], - "ksmedia": [], - "ktmtypes": [], - "ktmw32": [], - "libloaderapi": [], - "limits": [], - "lmaccess": [], - "lmalert": [], - "lmapibuf": [], - "lmat": [], - "lmcons": [], - "lmdfs": [], - "lmerrlog": [], - "lmjoin": [], - "lmmsg": [], - "lmremutl": [], - "lmrepl": [], - "lmserver": [], - "lmshare": [], - "lmstats": [], - "lmsvc": [], - "lmuse": [], - "lmwksta": [], - "lowlevelmonitorconfigurationapi": [], - "lsalookup": [], - "memoryapi": [], - "minschannel": [], - "minwinbase": [], - "minwindef": [], - "mmdeviceapi": [], - "mmeapi": [], - "mmreg": [], - "mmsystem": [], - "msaatext": [], - "mscat": [], - "mschapp": [], - "mssip": [], - "mstcpip": [], - "mswsock": [], - "mswsockdef": [], - "namedpipeapi": [], - "namespaceapi": [], - "nb30": [], - "ncrypt": [], - "netioapi": [], - "ntddscsi": [], - "ntddser": [], - "ntdef": [], - "ntlsa": [], - "ntsecapi": [], - "ntstatus": [], - "oaidl": [], - "objbase": [], - "objidl": [], - "objidlbase": [], - "ocidl": [], - "ole2": [], - "oleauto": [], - "olectl": [], - "oleidl": [], - "opmapi": [], - "pdh": [], - "perflib": [], - "physicalmonitorenumerationapi": [], - "playsoundapi": [], - "portabledevice": [], - "portabledeviceapi": [], - "portabledevicetypes": [], - "powerbase": [], - "powersetting": [], - "powrprof": [], - "processenv": [], - "processsnapshot": [], - "processthreadsapi": [], - "processtopologyapi": [], - "profileapi": [], - "propidl": [], - "propkey": [], - "propkeydef": [], - "propsys": [], - "prsht": [], - "psapi": [], - "qos": [], - "realtimeapiset": [], - "reason": [], - "restartmanager": [], - "restrictederrorinfo": [], - "rmxfguid": [], - "roapi": [], - "robuffer": [], - "roerrorapi": [], - "rpc": [], - "rpcdce": [], - "rpcndr": [], - "sapi": [], - "sapi51": [], - "sapi53": [], - "sapiddk": [], - "sapiddk51": [], - "schannel": [], - "sddl": [], - "securityappcontainer": [], - "securitybaseapi": [], - "servprov": [], - "setupapi": [], - "shellapi": [], - "shellscalingapi": [], - "shlobj": [], - "shobjidl": [], - "shobjidl_core": [], - "shtypes": [], - "spapidef": [], - "spellcheck": [], - "sporder": [], - "sql": [], - "sqlext": [], - "sqltypes": [], - "sqlucode": [], - "sspi": [], - "std": [], - "stralign": [], - "stringapiset": [], - "strmif": [], - "subauth": [], - "synchapi": [], - "sysinfoapi": [], - "systemtopologyapi": [], - "taskschd": [], - "textstor": [], - "threadpoolapiset": [], - "threadpoollegacyapiset": [], - "timeapi": [], - "timezoneapi": [], - "tlhelp32": [], - "transportsettingcommon": [], - "tvout": [], - "unknwnbase": [], - "urlhist": [], - "urlmon": [], - "usb": [], - "usbiodef": [], - "usbspec": [], - "userenv": [], - "usp10": [], - "utilapiset": [], - "uxtheme": [], - "vadefs": [], - "vcruntime": [], - "vsbackup": [], - "vss": [], - "vsserror": [], - "vswriter": [], - "wbemads": [], - "wbemcli": [], - "wbemdisp": [], - "wbemprov": [], - "wbemtran": [], - "wct": [], - "werapi": [], - "winbase": [], - "wincodec": [], - "wincodecsdk": [], - "wincon": [], - "wincontypes": [], - "wincred": [], - "wincrypt": [], - "windef": [], - "windowsceip": [], - "windowsx": [], - "winefs": [], - "winerror": [], - "winevt": [], - "wingdi": [], - "winhttp": [], - "wininet": [], - "winineti": [], - "winioctl": [], - "winnetwk": [], - "winnls": [], - "winnt": [], - "winreg": [], - "winsafer": [], - "winscard": [], - "winsmcrd": [], - "winsock2": [], - "winspool": [], - "winstring": [], - "winsvc": [], - "winusb": [], - "winusbio": [], - "winuser": [], - "winver": [], - "wmistr": [], - "wnnc": [], - "wow64apiset": [], - "wpdmtpextensions": [], - "ws2bth": [], - "ws2def": [], - "ws2ipdef": [], - "ws2spi": [], - "ws2tcpip": [], - "wtypes": [], - "wtypesbase": [], - "xinput": [] - }, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winapi-0.3.8/Cargo.toml", - "categories": [ - "external-ffi-bindings", - "no-std", - "os::windows-apis" - ], - "keywords": [ - "windows", - "ffi", - "win32", - "com", - "directx" - ], - "readme": "README.md", - "repository": "https://github.com/retep998/winapi-rs", - "homepage": null, - "documentation": "https://docs.rs/winapi/*/x86_64-pc-windows-msvc/winapi/", - "edition": "2015", - "metadata": { - "docs": { - "rs": { - "default-target": "x86_64-pc-windows-msvc", - "features": [ - "everything", - "impl-debug", - "impl-default" - ] - } - } - }, - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "winapi-i686-pc-windows-gnu", - "version": "0.4.0", - "authors": [ - "Peter Atashian " - ], - "id": "winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Import libraries for the i686-pc-windows-gnu target. Please don't use this crate directly, depend on winapi instead.", - "dependencies": [], - "license": "MIT/Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "winapi-i686-pc-windows-gnu", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winapi-i686-pc-windows-gnu-0.4.0/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "build-script-build", - "kind": [ - "custom-build" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winapi-i686-pc-windows-gnu-0.4.0/build.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - } - ], - "features": {}, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winapi-i686-pc-windows-gnu-0.4.0/Cargo.toml", - "categories": [], - "keywords": [ - "windows" - ], - "readme": null, - "repository": "https://github.com/retep998/winapi-rs", - "homepage": null, - "documentation": null, - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - }, - { - "name": "winapi-x86_64-pc-windows-gnu", - "version": "0.4.0", - "authors": [ - "Peter Atashian " - ], - "id": "winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "source": "registry+https://github.com/rust-lang/crates.io-index", - "description": "Import libraries for the x86_64-pc-windows-gnu target. Please don't use this crate directly, depend on winapi instead.", - "dependencies": [], - "license": "MIT/Apache-2.0", - "license_file": null, - "targets": [ - { - "name": "winapi-x86_64-pc-windows-gnu", - "kind": [ - "lib" - ], - "crate_types": [ - "lib" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winapi-x86_64-pc-windows-gnu-0.4.0/src/lib.rs", - "edition": "2015", - "doctest": true, - "doctest": true, - "test": true, - "doc": true - }, - { - "name": "build-script-build", - "kind": [ - "custom-build" - ], - "crate_types": [ - "bin" - ], - "required_features": [], - "src_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winapi-x86_64-pc-windows-gnu-0.4.0/build.rs", - "edition": "2015", - "doctest": false, - "doctest": false, - "test": false, - "doc": false - } - ], - "features": {}, - "manifest_path": "/home/jake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winapi-x86_64-pc-windows-gnu-0.4.0/Cargo.toml", - "categories": [], - "keywords": [ - "windows" - ], - "readme": null, - "repository": "https://github.com/retep998/winapi-rs", - "homepage": null, - "documentation": null, - "edition": "2015", - "links": null, - "publish": null, - "default_run": null, - "rust_version": null - } - ], - "workspace_members": [ - "a 0.1.0 (path+file:///home/jake/code/krates/tests/ws/a)", - "b 0.1.0 (path+file:///home/jake/code/krates/tests/ws/b)", - "c 0.1.0 (path+file:///home/jake/code/krates/tests/ws/c)" - ], - "workspace_default_members": [ - "a 0.1.0 (path+file:///home/jake/code/krates/tests/ws/a)", - "b 0.1.0 (path+file:///home/jake/code/krates/tests/ws/b)", - "c 0.1.0 (path+file:///home/jake/code/krates/tests/ws/c)" - ], - "resolve": { - "nodes": [ - { - "id": "a 0.1.0 (path+file:///home/jake/code/krates/tests/ws/a)", - "deps": [ - { - "name": "b", - "pkg": "b 0.1.0 (path+file:///home/jake/code/krates/tests/ws/b)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "c", - "pkg": "c 0.1.0 (path+file:///home/jake/code/krates/tests/ws/c)", - "dep_kinds": [ - { - "kind": "dev", - "target": null - }, - { - "kind": "build", - "target": "cfg(target_os = \"linux\")" - } - ] - } - ], - "dependencies": [ - "b 0.1.0 (path+file:///home/jake/code/krates/tests/ws/b)", - "c 0.1.0 (path+file:///home/jake/code/krates/tests/ws/c)" - ], - "features": [] - }, - { - "id": "aho-corasick 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [ - { - "name": "memchr", - "pkg": "memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - } - ], - "dependencies": [ - "memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [ - "default", - "std" - ] - }, - { - "id": "anyhow 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [], - "dependencies": [], - "features": [ - "default", - "std" - ] - }, - { - "id": "b 0.1.0 (path+file:///home/jake/code/krates/tests/ws/b)", - "deps": [ - { - "name": "c", - "pkg": "c 0.1.0 (path+file:///home/jake/code/krates/tests/ws/c)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "cc", - "pkg": "cc 1.0.84 (git+https://github.com/alexcrichton/cc-rs?rev=34d4ce4#34d4ce437ba6a3f5c73f46f072020e11a5fada8e)", - "dep_kinds": [ - { - "kind": "build", - "target": null - } - ] - }, - { - "name": "ring", - "pkg": "ring 0.16.9 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "dev", - "target": "cfg(target_arch = \"x86_64\")" - } - ] - }, - { - "name": "wasm_bindgen_futures", - "pkg": "wasm-bindgen-futures 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": "cfg(all(target_arch = \"wasm32\", target_feature = \"atomics\"))" - }, - { - "kind": "normal", - "target": "cfg(all(target_vendor = \"xboxone\"))" - } - ] - } - ], - "dependencies": [ - "c 0.1.0 (path+file:///home/jake/code/krates/tests/ws/c)", - "cc 1.0.84 (git+https://github.com/alexcrichton/cc-rs?rev=34d4ce4#34d4ce437ba6a3f5c73f46f072020e11a5fada8e)", - "ring 0.16.9 (registry+https://github.com/rust-lang/crates.io-index)", - "wasm-bindgen-futures 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [] - }, - { - "id": "bindgen 0.51.1 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [ - { - "name": "bitflags", - "pkg": "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "cexpr", - "pkg": "cexpr 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "cfg_if", - "pkg": "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "clang_sys", - "pkg": "clang-sys 0.28.1 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "lazy_static", - "pkg": "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "peeking_take_while", - "pkg": "peeking_take_while 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "proc_macro2", - "pkg": "proc-macro2 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "quote", - "pkg": "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "regex", - "pkg": "regex 1.3.3 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "rustc_hash", - "pkg": "rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "shlex", - "pkg": "shlex 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - } - ], - "dependencies": [ - "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "cexpr 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "clang-sys 0.28.1 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "peeking_take_while 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "proc-macro2 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "regex 1.3.3 (registry+https://github.com/rust-lang/crates.io-index)", - "rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", - "shlex 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [] - }, - { - "id": "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [], - "dependencies": [], - "features": [ - "default" - ] - }, - { - "id": "bumpalo 3.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [], - "dependencies": [], - "features": [ - "default" - ] - }, - { - "id": "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [], - "dependencies": [], - "features": [ - "default", - "std" - ] - }, - { - "id": "c 0.1.0 (path+file:///home/jake/code/krates/tests/ws/c)", - "deps": [ - { - "name": "cc", - "pkg": "cc 1.0.84 (git+https://github.com/alexcrichton/cc-rs?branch=main#f17047de579adbe1c3a562b87cf9c0376a8e66cc)", - "dep_kinds": [ - { - "kind": "build", - "target": null - } - ] - }, - { - "name": "coreaudio", - "pkg": "coreaudio-rs 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": "x86_64-apple-darwin" - } - ] - }, - { - "name": "difference", - "pkg": "difference 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "dev", - "target": null - } - ] - }, - { - "name": "lazy_static", - "pkg": "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": "cfg(any(target_os = \"android\", target_os = \"freebsd\", target_os = \"linux\", target_os = \"netbsd\", target_os = \"openbsd\", target_os = \"solaris\"))" - } - ] - }, - { - "name": "leftpad", - "pkg": "leftpad 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "libc", - "pkg": "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": "cfg(any(target_os = \"android\", target_os = \"linux\"))" - } - ] - }, - { - "name": "nix_xy", - "pkg": "nix 0.16.1 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": "x86_64-unknown-linux-gnu" - } - ] - }, - { - "name": "spin", - "pkg": "spin 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": "cfg(all(any(target_arch = \"aarch64\", target_arch = \"arm\", target_arch = \"x86\", target_arch = \"x86_64\"), not(target_os = \"ios\")))" - } - ] - }, - { - "name": "web_sys", - "pkg": "web-sys 0.3.35 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": "cfg(all(target_arch = \"wasm32\", target_vendor = \"unknown\", target_os = \"unknown\", target_env = \"\"))" - } - ] - }, - { - "name": "winapi", - "pkg": "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": "cfg(target_os = \"windows\")" - } - ] - } - ], - "dependencies": [ - "cc 1.0.84 (git+https://github.com/alexcrichton/cc-rs?branch=main#f17047de579adbe1c3a562b87cf9c0376a8e66cc)", - "coreaudio-rs 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", - "difference 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "leftpad 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "nix 0.16.1 (registry+https://github.com/rust-lang/crates.io-index)", - "spin 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", - "web-sys 0.3.35 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [ - "default", - "lazy_static", - "leftier-strings", - "leftpad" - ] - }, - { - "id": "cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [], - "dependencies": [], - "features": [] - }, - { - "id": "cc 1.0.84 (git+https://github.com/alexcrichton/cc-rs?branch=main#f17047de579adbe1c3a562b87cf9c0376a8e66cc)", - "deps": [ - { - "name": "libc", - "pkg": "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": "cfg(unix)" - } - ] - } - ], - "dependencies": [ - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [] - }, - { - "id": "cc 1.0.84 (git+https://github.com/alexcrichton/cc-rs?rev=34d4ce4#34d4ce437ba6a3f5c73f46f072020e11a5fada8e)", - "deps": [ - { - "name": "libc", - "pkg": "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": "cfg(unix)" - } - ] - } - ], - "dependencies": [ - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [] - }, - { - "id": "cexpr 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [ - { - "name": "nom", - "pkg": "nom 4.2.3 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - } - ], - "dependencies": [ - "nom 4.2.3 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [] - }, - { - "id": "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [], - "dependencies": [], - "features": [] - }, - { - "id": "clang-sys 0.28.1 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [ - { - "name": "glob", - "pkg": "glob 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - }, - { - "kind": "build", - "target": null - } - ] - }, - { - "name": "libc", - "pkg": "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "libloading", - "pkg": "libloading 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - } - ], - "dependencies": [ - "glob 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "libloading 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [ - "clang_6_0", - "gte_clang_3_6", - "gte_clang_3_7", - "gte_clang_3_8", - "gte_clang_3_9", - "gte_clang_4_0", - "gte_clang_5_0", - "gte_clang_6_0", - "libloading", - "runtime" - ] - }, - { - "id": "coreaudio-rs 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [ - { - "name": "bitflags", - "pkg": "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "coreaudio_sys", - "pkg": "coreaudio-sys 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - } - ], - "dependencies": [ - "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "coreaudio-sys 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [ - "audio_toolbox", - "audio_unit", - "core_audio", - "core_midi", - "default", - "open_al" - ] - }, - { - "id": "coreaudio-sys 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [ - { - "name": "bindgen", - "pkg": "bindgen 0.51.1 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "build", - "target": null - } - ] - } - ], - "dependencies": [ - "bindgen 0.51.1 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [ - "audio_toolbox", - "audio_unit", - "core_audio", - "core_midi", - "open_al" - ] - }, - { - "id": "difference 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [], - "dependencies": [], - "features": [ - "default" - ] - }, - { - "id": "glob 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [], - "dependencies": [], - "features": [] - }, - { - "id": "heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [ - { - "name": "unicode_segmentation", - "pkg": "unicode-segmentation 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - } - ], - "dependencies": [ - "unicode-segmentation 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [] - }, - { - "id": "js-sys 0.3.35 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [ - { - "name": "wasm_bindgen", - "pkg": "wasm-bindgen 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - } - ], - "dependencies": [ - "wasm-bindgen 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [] - }, - { - "id": "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [], - "dependencies": [], - "features": [] - }, - { - "id": "leftpad 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [], - "dependencies": [], - "features": [] - }, - { - "id": "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [], - "dependencies": [], - "features": [ - "default", - "extra_traits", - "std" - ] - }, - { - "id": "libloading 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [ - { - "name": "cc", - "pkg": "cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "build", - "target": null - } - ] - }, - { - "name": "winapi", - "pkg": "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": "cfg(windows)" - } - ] - } - ], - "dependencies": [ - "cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [] - }, - { - "id": "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [ - { - "name": "cfg_if", - "pkg": "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - } - ], - "dependencies": [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [] - }, - { - "id": "memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [], - "dependencies": [], - "features": [ - "default", - "use_std" - ] - }, - { - "id": "nix 0.16.1 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [ - { - "name": "bitflags", - "pkg": "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "cc", - "pkg": "cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "build", - "target": "cfg(target_os = \"dragonfly\")" - } - ] - }, - { - "name": "cfg_if", - "pkg": "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "libc", - "pkg": "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "void", - "pkg": "void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - } - ], - "dependencies": [ - "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)", - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [] - }, - { - "id": "nom 4.2.3 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [ - { - "name": "memchr", - "pkg": "memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "version_check", - "pkg": "version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "build", - "target": null - } - ] - } - ], - "dependencies": [ - "memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [ - "alloc", - "default", - "std", - "verbose-errors" - ] - }, - { - "id": "peeking_take_while 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [], - "dependencies": [], - "features": [] - }, - { - "id": "proc-macro2 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [ - { - "name": "unicode_xid", - "pkg": "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - } - ], - "dependencies": [ - "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [ - "default", - "proc-macro" - ] - }, - { - "id": "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [ - { - "name": "proc_macro2", - "pkg": "proc-macro2 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - } - ], - "dependencies": [ - "proc-macro2 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [ - "default", - "proc-macro" - ] - }, - { - "id": "regex 1.3.3 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [ - { - "name": "aho_corasick", - "pkg": "aho-corasick 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "memchr", - "pkg": "memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "regex_syntax", - "pkg": "regex-syntax 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "thread_local", - "pkg": "thread_local 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - } - ], - "dependencies": [ - "aho-corasick 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)", - "memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "regex-syntax 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)", - "thread_local 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [ - "aho-corasick", - "default", - "memchr", - "perf", - "perf-cache", - "perf-dfa", - "perf-inline", - "perf-literal", - "std", - "thread_local", - "unicode", - "unicode-age", - "unicode-bool", - "unicode-case", - "unicode-gencat", - "unicode-perl", - "unicode-script", - "unicode-segment" - ] - }, - { - "id": "regex-syntax 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [], - "dependencies": [], - "features": [ - "unicode-age", - "unicode-bool", - "unicode-case", - "unicode-gencat", - "unicode-perl", - "unicode-script", - "unicode-segment" - ] - }, - { - "id": "ring 0.16.9 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [ - { - "name": "cc", - "pkg": "cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "build", - "target": null - } - ] - }, - { - "name": "lazy_static", - "pkg": "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": "cfg(any(target_os = \"android\", target_os = \"freebsd\", target_os = \"linux\", target_os = \"netbsd\", target_os = \"openbsd\", target_os = \"solaris\"))" - } - ] - }, - { - "name": "libc", - "pkg": "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": "cfg(any(target_os = \"android\", target_os = \"linux\"))" - } - ] - }, - { - "name": "spin", - "pkg": "spin 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": "cfg(all(any(target_arch = \"aarch64\", target_arch = \"arm\", target_arch = \"x86\", target_arch = \"x86_64\"), not(target_os = \"ios\")))" - } - ] - }, - { - "name": "untrusted", - "pkg": "untrusted 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "web_sys", - "pkg": "web-sys 0.3.35 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": "cfg(all(target_arch = \"wasm32\", target_vendor = \"unknown\", target_os = \"unknown\", target_env = \"\"))" - } - ] - }, - { - "name": "winapi", - "pkg": "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": "cfg(target_os = \"windows\")" - } - ] - } - ], - "dependencies": [ - "cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "spin 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", - "untrusted 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", - "web-sys 0.3.35 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [ - "alloc", - "default", - "dev_urandom_fallback", - "lazy_static" - ] - }, - { - "id": "rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [ - { - "name": "byteorder", - "pkg": "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - } - ], - "dependencies": [ - "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [] - }, - { - "id": "shlex 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [], - "dependencies": [], - "features": [] - }, - { - "id": "sourcefile 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [], - "dependencies": [], - "features": [] - }, - { - "id": "spin 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [], - "dependencies": [], - "features": [] - }, - { - "id": "syn 1.0.13 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [ - { - "name": "proc_macro2", - "pkg": "proc-macro2 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "quote", - "pkg": "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "unicode_xid", - "pkg": "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - } - ], - "dependencies": [ - "proc-macro2 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [ - "clone-impls", - "default", - "derive", - "full", - "parsing", - "printing", - "proc-macro", - "quote", - "visit" - ] - }, - { - "id": "thread_local 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [ - { - "name": "lazy_static", - "pkg": "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - } - ], - "dependencies": [ - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [] - }, - { - "id": "unicode-segmentation 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [], - "dependencies": [], - "features": [] - }, - { - "id": "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [], - "dependencies": [], - "features": [ - "default" - ] - }, - { - "id": "untrusted 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [], - "dependencies": [], - "features": [] - }, - { - "id": "version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [], - "dependencies": [], - "features": [] - }, - { - "id": "void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [], - "dependencies": [], - "features": [ - "default", - "std" - ] - }, - { - "id": "wasm-bindgen 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [ - { - "name": "cfg_if", - "pkg": "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "wasm_bindgen_macro", - "pkg": "wasm-bindgen-macro 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - } - ], - "dependencies": [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "wasm-bindgen-macro 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [ - "default", - "spans", - "std" - ] - }, - { - "id": "wasm-bindgen-backend 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [ - { - "name": "bumpalo", - "pkg": "bumpalo 3.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "lazy_static", - "pkg": "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "log", - "pkg": "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "proc_macro2", - "pkg": "proc-macro2 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "quote", - "pkg": "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "syn", - "pkg": "syn 1.0.13 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "wasm_bindgen_shared", - "pkg": "wasm-bindgen-shared 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - } - ], - "dependencies": [ - "bumpalo 3.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "proc-macro2 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 1.0.13 (registry+https://github.com/rust-lang/crates.io-index)", - "wasm-bindgen-shared 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [ - "spans" - ] - }, - { - "id": "wasm-bindgen-futures 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [ - { - "name": "cfg_if", - "pkg": "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "js_sys", - "pkg": "js-sys 0.3.35 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "wasm_bindgen", - "pkg": "wasm-bindgen 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "web_sys", - "pkg": "web-sys 0.3.35 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": "cfg(target_feature = \"atomics\")" - } - ] - } - ], - "dependencies": [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "js-sys 0.3.35 (registry+https://github.com/rust-lang/crates.io-index)", - "wasm-bindgen 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", - "web-sys 0.3.35 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [] - }, - { - "id": "wasm-bindgen-macro 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [ - { - "name": "quote", - "pkg": "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "wasm_bindgen_macro_support", - "pkg": "wasm-bindgen-macro-support 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - } - ], - "dependencies": [ - "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "wasm-bindgen-macro-support 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [ - "spans" - ] - }, - { - "id": "wasm-bindgen-macro-support 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [ - { - "name": "proc_macro2", - "pkg": "proc-macro2 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "quote", - "pkg": "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "syn", - "pkg": "syn 1.0.13 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "wasm_bindgen_backend", - "pkg": "wasm-bindgen-backend 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "wasm_bindgen_shared", - "pkg": "wasm-bindgen-shared 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - } - ], - "dependencies": [ - "proc-macro2 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 1.0.13 (registry+https://github.com/rust-lang/crates.io-index)", - "wasm-bindgen-backend 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", - "wasm-bindgen-shared 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [ - "spans" - ] - }, - { - "id": "wasm-bindgen-shared 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [], - "dependencies": [], - "features": [] - }, - { - "id": "wasm-bindgen-webidl 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [ - { - "name": "anyhow", - "pkg": "anyhow 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "heck", - "pkg": "heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "log", - "pkg": "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "proc_macro2", - "pkg": "proc-macro2 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "quote", - "pkg": "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "syn", - "pkg": "syn 1.0.13 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "wasm_bindgen_backend", - "pkg": "wasm-bindgen-backend 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "weedle", - "pkg": "weedle 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - } - ], - "dependencies": [ - "anyhow 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)", - "heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "proc-macro2 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 1.0.13 (registry+https://github.com/rust-lang/crates.io-index)", - "wasm-bindgen-backend 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", - "weedle 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [] - }, - { - "id": "web-sys 0.3.35 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [ - { - "name": "anyhow", - "pkg": "anyhow 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "build", - "target": null - } - ] - }, - { - "name": "js_sys", - "pkg": "js-sys 0.3.35 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "sourcefile", - "pkg": "sourcefile 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "build", - "target": null - } - ] - }, - { - "name": "wasm_bindgen", - "pkg": "wasm-bindgen 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - }, - { - "name": "wasm_bindgen_webidl", - "pkg": "wasm-bindgen-webidl 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "build", - "target": null - } - ] - } - ], - "dependencies": [ - "anyhow 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)", - "js-sys 0.3.35 (registry+https://github.com/rust-lang/crates.io-index)", - "sourcefile 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", - "wasm-bindgen 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", - "wasm-bindgen-webidl 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [ - "Crypto", - "MessageEvent", - "Window", - "Worker" - ] - }, - { - "id": "weedle 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [ - { - "name": "nom", - "pkg": "nom 4.2.3 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": null - } - ] - } - ], - "dependencies": [ - "nom 4.2.3 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [] - }, - { - "id": "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [], - "dependencies": [], - "features": [] - }, - { - "id": "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [ - { - "name": "winapi_i686_pc_windows_gnu", - "pkg": "winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": "i686-pc-windows-gnu" - } - ] - }, - { - "name": "winapi_x86_64_pc_windows_gnu", - "pkg": "winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "dep_kinds": [ - { - "kind": "normal", - "target": "x86_64-pc-windows-gnu" - } - ] - } - ], - "dependencies": [ - "winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" - ], - "features": [ - "errhandlingapi", - "libloaderapi", - "ntsecapi", - "winerror", - "wtypesbase" - ] - }, - { - "id": "winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [], - "dependencies": [], - "features": [] - }, - { - "id": "winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "deps": [], - "dependencies": [], - "features": [] - } - ], - "root": null - }, - "workspace_root": "/home/jake/code/krates/tests/ws", - "target_directory": "/home/jake/code/krates/tests/ws/target", - "metadata": null, - "version": 1 -} diff --git a/tests/snapshots/workspace__includes.snap b/tests/snapshots/workspace__includes.snap index 881ef90..46fdaf7 100644 --- a/tests/snapshots/workspace__includes.snap +++ b/tests/snapshots/workspace__includes.snap @@ -443,4 +443,3 @@ digraph { 74 -> 49 [ label = "" ] 73 -> 49 [ label = "" ] } - diff --git a/tests/snapshots/workspace__root.snap b/tests/snapshots/workspace__root.snap index 7fe6707..9cb7f24 100644 --- a/tests/snapshots/workspace__root.snap +++ b/tests/snapshots/workspace__root.snap @@ -5,4 +5,3 @@ expression: grafs.dotgraph() digraph { 0 [ label = "crate top 0.1.0 path+file:///krates/tests/ws2" ] } - diff --git a/tests/snapshots/workspace__workspace_with_root.snap b/tests/snapshots/workspace__workspace_with_root.snap index 4743241..5fe845b 100644 --- a/tests/snapshots/workspace__workspace_with_root.snap +++ b/tests/snapshots/workspace__workspace_with_root.snap @@ -448,4 +448,3 @@ digraph { 75 -> 50 [ label = "" ] 74 -> 50 [ label = "" ] } - diff --git a/tests/snapshots/workspace__workspace_with_root_exclude.snap b/tests/snapshots/workspace__workspace_with_root_exclude.snap index bf5ed5b..eddc75e 100644 --- a/tests/snapshots/workspace__workspace_with_root_exclude.snap +++ b/tests/snapshots/workspace__workspace_with_root_exclude.snap @@ -186,4 +186,3 @@ digraph { 34 -> 24 [ label = "" ] 33 -> 24 [ label = "" ] } - diff --git a/tests/workspace.rs b/tests/workspace.rs index d5130e1..3f06c67 100644 --- a/tests/workspace.rs +++ b/tests/workspace.rs @@ -1,7 +1,3 @@ -mod util; - -use util::build; - #[test] fn includes() { let mut kb = krates::Builder::new(); @@ -11,8 +7,7 @@ fn includes() { "/home/jake/code/krates/tests/ws2/c/Cargo.toml", ]); - let grafs = build("all-features2.json", kb).unwrap(); - insta::assert_snapshot!(grafs.dotgraph()); + ktest::assert_dotgraph!("all-features2.json", kb); } #[test] @@ -23,10 +18,10 @@ fn root() { // others in the workspace, it will be a graph of one let kb = krates::Builder::new(); - let grafs = build("all-features2.json", kb).unwrap(); + let grafs = ktest::util::build("all-features2.json", kb).unwrap(); assert_eq!(grafs.actual.len(), 1); - insta::assert_snapshot!(grafs.dotgraph()); + ktest::assert_snapshot!(grafs.dotgraph()); } #[test] @@ -36,8 +31,7 @@ fn workspace_with_root() { // members, regardless of whether the resolution root is set or not kb.workspace(true); - let grafs = build("all-features2.json", kb).unwrap(); - insta::assert_snapshot!(grafs.dotgraph()); + ktest::assert_dotgraph!("all-features2.json", kb); } #[test] @@ -46,6 +40,5 @@ fn workspace_with_root_exclude() { kb.workspace(true); kb.exclude(std::iter::once("c".parse::().unwrap())); - let grafs = build("all-features2.json", kb).unwrap(); - insta::assert_snapshot!(grafs.dotgraph()); + ktest::assert_dotgraph!("all-features2.json", kb); }