diff options
Diffstat (limited to 'src/package/dependency/mod.rs')
-rw-r--r-- | src/package/dependency/mod.rs | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/src/package/dependency/mod.rs b/src/package/dependency/mod.rs index 9bdb2fb..6d4cb81 100644 --- a/src/package/dependency/mod.rs +++ b/src/package/dependency/mod.rs @@ -1,23 +1,23 @@ -use lazy_static::lazy_static; -use anyhow::anyhow; use anyhow::Result; +use anyhow::anyhow; +use lazy_static::lazy_static; use regex::Regex; use crate::package::PackageName; use crate::package::PackageVersionConstraint; -mod system; -pub use system::*; - -mod system_runtime; -pub use system_runtime::*; - mod build; pub use build::*; mod runtime; pub use runtime::*; +mod system; +pub use system::*; + +mod system_runtime; +pub use system_runtime::*; + pub trait StringEqual { fn str_equal(&self, s: &str) -> bool; } @@ -56,9 +56,6 @@ pub(in crate::package::dependency) fn parse_package_dependency_string_into_name_ mod tests { use super::*; - use std::convert::TryInto; - - use crate::package::Package; use crate::package::PackageName; use crate::package::PackageVersion; |