pub struct DependenciesFile {
pub plugins: Option<PluginsSection>,
pub extensions: Vec<ExtensionEntry>,
pub packages: Option<Located<Loose<Vec<Loose<Package>>>>>,
}Expand description
Plugin packages and macro packages, in dependencies.yml or packages.yml at the project root.
Fields§
§plugins: Option<PluginsSection>§extensions: Vec<ExtensionEntry>Optional separately licensed companion executables. dre deps offers to install them (or --accept-proprietary); ordinary report commands do not. Pin each binary version and review its own licence separately.
packages: Option<Located<Loose<Vec<Loose<Package>>>>>Macro packages (git or local). Their macros are called through the package name, e.g. {{ dre_utils.star(...) }}. Exact commits are pinned in dre.lock.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DependenciesFile
impl<'de> Deserialize<'de> for DependenciesFile
Source§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
Source§impl JsonSchema for DependenciesFile
impl JsonSchema for DependenciesFile
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for DependenciesFile
impl RefUnwindSafe for DependenciesFile
impl Send for DependenciesFile
impl Sync for DependenciesFile
impl Unpin for DependenciesFile
impl UnsafeUnpin for DependenciesFile
impl UnwindSafe for DependenciesFile
Blanket Implementations§
impl<T> Allocation for T
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