summaryrefslogtreecommitdiff
path: root/src/atom/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/atom/mod.rs')
-rw-r--r--src/atom/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/atom/mod.rs b/src/atom/mod.rs
index 3be42bb..54de7ee 100644
--- a/src/atom/mod.rs
+++ b/src/atom/mod.rs
@@ -103,6 +103,9 @@ pub enum UseDepCondition {
Question,
}
+#[derive(Clone, Debug, PartialEq, Eq)]
+pub struct Repo(String);
+
#[derive(Clone, Debug, PartialEq, Eq, Get)]
pub struct UseDep {
negate: Option<UseDepNegate>,
@@ -132,6 +135,7 @@ pub struct Atom {
name: Name,
version: Option<(VersionOperator, Version, Option<Wildcard>)>,
slot: Option<Slot>,
+ repo: Option<Repo>,
#[get(kind = "deref")]
usedeps: Vec<UseDep>,
}