diff options
author | Arnaud <[email protected]> | 2021-01-05 18:02:13 +0000 |
---|---|---|
committer | Arnaud <[email protected]> | 2021-01-06 15:33:29 +0000 |
commit | 7c3e163e90624bcc90a28119f06d5f38878ae432 (patch) | |
tree | a81162efcc21bb7d4f318279e00f5e0920628673 /crates/project_model/src | |
parent | 25edc3c60a8fe9a01b1ff7b6a20ceb83d78e2965 (diff) |
Make `PackageData`, `TargetData` and `PackageDependency` public
This makes them discoverable through documentation.
They were already publicly accessible through `Package` and `Target`.
Diffstat (limited to 'crates/project_model/src')
-rw-r--r-- | crates/project_model/src/lib.rs | 7 |
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 | ||
3 | mod cargo_workspace; | 3 | mod cargo_workspace; |
4 | mod cfg_flag; | ||
4 | mod project_json; | 5 | mod project_json; |
5 | mod sysroot; | 6 | mod sysroot; |
6 | mod cfg_flag; | ||
7 | mod workspace; | 7 | mod workspace; |
8 | 8 | ||
9 | use std::{ | 9 | use std::{ |
@@ -17,7 +17,10 @@ use paths::{AbsPath, AbsPathBuf}; | |||
17 | use rustc_hash::FxHashSet; | 17 | use rustc_hash::FxHashSet; |
18 | 18 | ||
19 | pub use crate::{ | 19 | pub 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}, |