Type Alias PatchDependency
pub type PatchDependency = TomlDependency<ConfigRootRelativePath>;Aliased Type§
pub enum PatchDependency {
Simple(String),
Detailed(TomlDetailedDependency<ConfigRootRelativePath>),
}Variants§
Simple(String)
In the simple format, only a version is specified, eg.
package = "<version>"
Detailed(TomlDetailedDependency<ConfigRootRelativePath>)
The simple format is equivalent to a detailed dependency
specifying only a version, eg.
package = { version = "<version>" }
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.