-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: removed unused prototype code
- Loading branch information
Showing
2 changed files
with
0 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,17 +72,6 @@ impl CrateSpec { | |
} | ||
} | ||
} | ||
//impl Clone for CrateSpec { | ||
// fn clone(&self) -> CrateSpec { | ||
// match self { | ||
// CrateSpec::Local(s, xip) => CrateSpec::Local(s.to_string(), *xip), | ||
// CrateSpec::CratesIo(n, v, xip) => CrateSpec::CratesIo(n.to_string(), v.to_string(), *xip), | ||
// CrateSpec::Prebuilt(n, u, xip) => CrateSpec::Prebuilt(n.to_string(), u.to_string(), *xip), | ||
// CrateSpec::BinaryFile(n, path, xip) => CrateSpec::BinaryFile(n.as_ref(), path.to_string(), *xip), | ||
// CrateSpec::None => CrateSpec::None, | ||
// } | ||
// } | ||
//} | ||
impl From<&str> for CrateSpec { | ||
fn from(spec: &str) -> CrateSpec { | ||
// remote crates are specified as "name@version", i.e. "[email protected]" | ||
|
@@ -337,10 +326,6 @@ impl Builder { | |
} | ||
self | ||
} | ||
///// Add an app binary build out of souce tree | ||
//pub fn add_external_apps<'a>(&'a mut self, app_list: &Vec::<String>) -> &'a mut Builder{ | ||
// | ||
//} | ||
/// add a feature to be passed on to services | ||
pub fn add_feature<'a>(&'a mut self, feature: &str) -> &'a mut Builder { | ||
self.features.push(feature.into()); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters