pub enum Framework {
Path(PathBuf),
Git {
url: String,
reference: Option<(String, String)>,
},
Registry(String),
}Expand description
Where the Bern crates come from: the source of the project’s own bern
dependency. Generated crates take every Bern crate from it, so the
application and the code generated around it share one copy of each.
Variants§
Path(PathBuf)
A checkout whose crates directory holds every Bern crate.
Git
A Git repository, at the reference the project names, if any:
("branch", …), ("tag", …) or ("rev", …).
Registry(String)
A release on crates.io, with the project’s version requirement.
Implementations§
Trait Implementations§
impl Eq for Framework
impl StructuralPartialEq for Framework
Auto Trait Implementations§
impl Freeze for Framework
impl RefUnwindSafe for Framework
impl Send for Framework
impl Sync for Framework
impl Unpin for Framework
impl UnsafeUnpin for Framework
impl UnwindSafe for Framework
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.