pub struct LayoutConfig {
pub specs_dir: String,
pub derived_dir: String,
pub standards_dir: String,
pub schemas_dir: String,
pub cargo_workspace: String,
pub npm_workspaces: Vec<String>,
pub standalone_rust_workspaces: Vec<String>,
pub standalone_npm_packages: Vec<String>,
}Expand description
[layout]: path conventions. Never hardcode specs/, .derived/, etc.
Fields§
§specs_dir: String§derived_dir: String§standards_dir: String§schemas_dir: String§cargo_workspace: StringRoot Cargo workspace manifest (relative to repo root).
npm_workspaces: Vec<String>Manifests that DECLARE npm/pnpm workspace members. The indexer reads
member globs from whichever exists. The default reads root
package.json#workspaces, fixing the template-encore bug where a
hardcoded public/pnpm-workspace.yaml made all npm packages invisible.
standalone_rust_workspaces: Vec<String>Crates outside the root Cargo workspace.
standalone_npm_packages: Vec<String>npm packages outside the declared workspaces.
Trait Implementations§
Source§impl Clone for LayoutConfig
impl Clone for LayoutConfig
Source§fn clone(&self) -> LayoutConfig
fn clone(&self) -> LayoutConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LayoutConfig
impl Debug for LayoutConfig
Source§impl Default for LayoutConfig
impl Default for LayoutConfig
Source§impl<'de> Deserialize<'de> for LayoutConfigwhere
LayoutConfig: Default,
impl<'de> Deserialize<'de> for LayoutConfigwhere
LayoutConfig: Default,
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 PartialEq for LayoutConfig
impl PartialEq for LayoutConfig
Source§fn eq(&self, other: &LayoutConfig) -> bool
fn eq(&self, other: &LayoutConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LayoutConfig
impl Serialize for LayoutConfig
impl StructuralPartialEq for LayoutConfig
Auto Trait Implementations§
impl Freeze for LayoutConfig
impl RefUnwindSafe for LayoutConfig
impl Send for LayoutConfig
impl Sync for LayoutConfig
impl Unpin for LayoutConfig
impl UnsafeUnpin for LayoutConfig
impl UnwindSafe for LayoutConfig
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