├── .github └── workflows │ ├── main.yml │ └── release.yml ├── .gitignore ├── CHANGELOG.md ├── Cargo.toml ├── LICENSE-MIT ├── README.md ├── clippy.toml ├── src ├── dependency.rs ├── diagnostic.rs ├── errors.rs ├── lib.rs ├── libtest.rs └── messages.rs └── tests ├── all ├── Cargo.lock ├── Cargo.toml ├── bare-rust-version │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── bdep │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── benches │ └── b1.rs ├── build.rs ├── devdep │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── examples │ └── ex1.rs ├── featdep │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── namedep │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── oldname │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── path-dep │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── src │ ├── bin │ │ ├── otherbin.rs │ │ ├── reqfeat.rs │ │ └── reqfeat_slash.rs │ ├── lib.rs │ └── main.rs ├── tests │ └── t1.rs └── windep │ ├── Cargo.toml │ └── src │ └── lib.rs ├── basic_workspace ├── Cargo.toml ├── ex_lib │ ├── Cargo.toml │ └── src │ │ └── lib.rs └── src │ └── main.rs ├── selftest.rs └── test_samples.rs /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oli-obk/cargo_metadata/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oli-obk/cargo_metadata/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oli-obk/cargo_metadata/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oli-obk/cargo_metadata/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oli-obk/cargo_metadata/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oli-obk/cargo_metadata/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oli-obk/cargo_metadata/HEAD/README.md -------------------------------------------------------------------------------- /clippy.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oli-obk/cargo_metadata/HEAD/clippy.toml -------------------------------------------------------------------------------- /src/dependency.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oli-obk/cargo_metadata/HEAD/src/dependency.rs -------------------------------------------------------------------------------- /src/diagnostic.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oli-obk/cargo_metadata/HEAD/src/diagnostic.rs -------------------------------------------------------------------------------- /src/errors.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oli-obk/cargo_metadata/HEAD/src/errors.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oli-obk/cargo_metadata/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/libtest.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oli-obk/cargo_metadata/HEAD/src/libtest.rs -------------------------------------------------------------------------------- /src/messages.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oli-obk/cargo_metadata/HEAD/src/messages.rs -------------------------------------------------------------------------------- /tests/all/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oli-obk/cargo_metadata/HEAD/tests/all/Cargo.lock -------------------------------------------------------------------------------- /tests/all/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oli-obk/cargo_metadata/HEAD/tests/all/Cargo.toml -------------------------------------------------------------------------------- /tests/all/bare-rust-version/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oli-obk/cargo_metadata/HEAD/tests/all/bare-rust-version/Cargo.toml -------------------------------------------------------------------------------- /tests/all/bare-rust-version/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/all/bdep/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oli-obk/cargo_metadata/HEAD/tests/all/bdep/Cargo.toml -------------------------------------------------------------------------------- /tests/all/bdep/src/lib.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/all/benches/b1.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/all/build.rs: -------------------------------------------------------------------------------- 1 | fn main() {} 2 | -------------------------------------------------------------------------------- /tests/all/devdep/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oli-obk/cargo_metadata/HEAD/tests/all/devdep/Cargo.toml -------------------------------------------------------------------------------- /tests/all/devdep/src/lib.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/all/examples/ex1.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/all/featdep/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oli-obk/cargo_metadata/HEAD/tests/all/featdep/Cargo.toml -------------------------------------------------------------------------------- /tests/all/featdep/src/lib.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/all/namedep/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oli-obk/cargo_metadata/HEAD/tests/all/namedep/Cargo.toml -------------------------------------------------------------------------------- /tests/all/namedep/src/lib.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/all/oldname/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oli-obk/cargo_metadata/HEAD/tests/all/oldname/Cargo.toml -------------------------------------------------------------------------------- /tests/all/oldname/src/lib.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/all/path-dep/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oli-obk/cargo_metadata/HEAD/tests/all/path-dep/Cargo.toml -------------------------------------------------------------------------------- /tests/all/path-dep/src/lib.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/all/src/bin/otherbin.rs: -------------------------------------------------------------------------------- 1 | fn main() {} 2 | -------------------------------------------------------------------------------- /tests/all/src/bin/reqfeat.rs: -------------------------------------------------------------------------------- 1 | fn main() {} 2 | -------------------------------------------------------------------------------- /tests/all/src/bin/reqfeat_slash.rs: -------------------------------------------------------------------------------- 1 | fn main() {} 2 | -------------------------------------------------------------------------------- /tests/all/src/lib.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/all/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | println!("Hello, world!"); 3 | } 4 | -------------------------------------------------------------------------------- /tests/all/tests/t1.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/all/windep/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oli-obk/cargo_metadata/HEAD/tests/all/windep/Cargo.toml -------------------------------------------------------------------------------- /tests/all/windep/src/lib.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/basic_workspace/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oli-obk/cargo_metadata/HEAD/tests/basic_workspace/Cargo.toml -------------------------------------------------------------------------------- /tests/basic_workspace/ex_lib/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oli-obk/cargo_metadata/HEAD/tests/basic_workspace/ex_lib/Cargo.toml -------------------------------------------------------------------------------- /tests/basic_workspace/ex_lib/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/basic_workspace/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() {} 2 | -------------------------------------------------------------------------------- /tests/selftest.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oli-obk/cargo_metadata/HEAD/tests/selftest.rs -------------------------------------------------------------------------------- /tests/test_samples.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oli-obk/cargo_metadata/HEAD/tests/test_samples.rs --------------------------------------------------------------------------------