From 7c3e163e90624bcc90a28119f06d5f38878ae432 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Tue, 5 Jan 2021 19:02:13 +0100 Subject: Make `PackageData`, `TargetData` and `PackageDependency` public This makes them discoverable through documentation. They were already publicly accessible through `Package` and `Target`. --- crates/project_model/src/lib.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'crates/project_model') 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 @@ //! 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}, -- cgit v1.2.3