Make PackageData, TargetData and PackageDependency public

This makes them discoverable through documentation.
They were already publicly accessible through `Package` and `Target`.
This commit is contained in:
Arnaud 2021-01-05 19:02:13 +01:00
parent 25edc3c60a
commit 7c3e163e90

View File

@ -1,9 +1,9 @@
//! FIXME: write short doc here
mod cargo_workspace;
mod cfg_flag;
mod project_json;
mod sysroot;
mod cfg_flag;
mod workspace;
use std::{
@ -17,7 +17,10 @@ use paths::{AbsPath, AbsPathBuf};
use rustc_hash::FxHashSet;
pub use crate::{
cargo_workspace::{CargoConfig, CargoWorkspace, Package, Target, TargetKind},
cargo_workspace::{
CargoConfig, CargoWorkspace, Package, PackageData, PackageDependency, Target, TargetData,
TargetKind,
},
project_json::{ProjectJson, ProjectJsonData},
sysroot::Sysroot,
workspace::{PackageRoot, ProjectWorkspace},