Enum hakari::DepFormatVersion [−][src]
#[non_exhaustive]
pub enum DepFormatVersion {
V1,
V2,
}
Expand description
Version of workspace-hack = ...
lines in other Cargo.toml
files to use.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
V1
workspace-hack = { path = ...}
. (Note the lack of a trailing space.)
This was used until cargo hakari 0.9.6
.
V2
workspace-hack = { version = "0.1", path = ... }
. This was introduced in
cargo hakari 0.9.8
.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for DepFormatVersion
impl Send for DepFormatVersion
impl Sync for DepFormatVersion
impl Unpin for DepFormatVersion
impl UnwindSafe for DepFormatVersion
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.