From eb5f34b2b2314ae472ba03c2aacac2e87752919a Mon Sep 17 00:00:00 2001 From: David Freese Date: Mon, 9 Aug 2021 09:03:42 -0700 Subject: [PATCH] Add comment as follow up for #425 --- impl/src/context.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/impl/src/context.rs b/impl/src/context.rs index 4001af044..9a9543951 100644 --- a/impl/src/context.rs +++ b/impl/src/context.rs @@ -12,10 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -use std::{ - collections::BTreeMap, - path::PathBuf, -}; +use std::{collections::BTreeMap, path::PathBuf}; use crate::settings::CrateSettings; use semver::Version; @@ -95,6 +92,7 @@ pub struct CrateDependencyContext { // build_data_dependencies can only be set when using cargo-raze as a library at the moment. pub build_data_dependencies: Vec, pub dev_dependencies: Vec, + /// Aliased dependencies, sorted/keyed by their `target` name in the `DependencyAlias` struct. pub aliased_dependencies: BTreeMap, }