aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud <[email protected]>2021-01-05 18:02:13 +0000
committerArnaud <[email protected]>2021-01-06 15:33:29 +0000
commit7c3e163e90624bcc90a28119f06d5f38878ae432 (patch)
treea81162efcc21bb7d4f318279e00f5e0920628673
parent25edc3c60a8fe9a01b1ff7b6a20ceb83d78e2965 (diff)
Make `PackageData`, `TargetData` and `PackageDependency` public
This makes them discoverable through documentation. They were already publicly accessible through `Package` and `Target`.
-rw-r--r--crates/project_model/src/lib.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/crates/project_model/src/lib.rs b/crates/project_model/src/lib.rs
index 24aa9b8fa..aabb7a47d 100644
--- a/crates/project_model/src/lib.rs
+++ b/crates/project_model/src/lib.rs
@@ -1,9 +1,9 @@
1//! FIXME: write short doc here 1//! FIXME: write short doc here
2 2
3mod cargo_workspace; 3mod cargo_workspace;
4mod cfg_flag;
4mod project_json; 5mod project_json;
5mod sysroot; 6mod sysroot;
6mod cfg_flag;
7mod workspace; 7mod workspace;
8 8
9use std::{ 9use std::{
@@ -17,7 +17,10 @@ use paths::{AbsPath, AbsPathBuf};
17use rustc_hash::FxHashSet; 17use rustc_hash::FxHashSet;
18 18
19pub use crate::{ 19pub use crate::{
20 cargo_workspace::{CargoConfig, CargoWorkspace, Package, Target, TargetKind}, 20 cargo_workspace::{
21 CargoConfig, CargoWorkspace, Package, PackageData, PackageDependency, Target, TargetData,
22 TargetKind,
23 },
21 project_json::{ProjectJson, ProjectJsonData}, 24 project_json::{ProjectJson, ProjectJsonData},
22 sysroot::Sysroot, 25 sysroot::Sysroot,
23 workspace::{PackageRoot, ProjectWorkspace}, 26 workspace::{PackageRoot, ProjectWorkspace},