pub struct ToolsConfig {
pub python_package_manager: Option<String>,
pub node_package_manager: Option<String>,
pub rust_dev_tools: Option<Vec<String>>,
}Expand description
Top-level [tools] config. Selects which package manager / tool variants
the default per-language pipeline commands target.
All fields are optional; getters return the documented default when unset.
Fields§
§python_package_manager: Option<String>Python package manager. One of: "uv", "pip", "poetry". Default: "uv".
node_package_manager: Option<String>Node package manager. One of: "pnpm", "npm", "yarn". Default: "pnpm".
rust_dev_tools: Option<Vec<String>>Rust dev tools installed by the Rust setup default.
Default: see DEFAULT_RUST_DEV_TOOLS.
Implementations§
Source§impl ToolsConfig
impl ToolsConfig
Sourcepub fn rust_tools(&self) -> Vec<&str>
pub fn rust_tools(&self) -> Vec<&str>
Resolved Rust dev tools (defaults to DEFAULT_RUST_DEV_TOOLS when unset).
Trait Implementations§
Source§impl Clone for ToolsConfig
impl Clone for ToolsConfig
Source§fn clone(&self) -> ToolsConfig
fn clone(&self) -> ToolsConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 ToolsConfig
impl Debug for ToolsConfig
Source§impl Default for ToolsConfig
impl Default for ToolsConfig
Source§fn default() -> ToolsConfig
fn default() -> ToolsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolsConfig
impl<'de> Deserialize<'de> for ToolsConfig
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
Auto Trait Implementations§
impl Freeze for ToolsConfig
impl RefUnwindSafe for ToolsConfig
impl Send for ToolsConfig
impl Sync for ToolsConfig
impl Unpin for ToolsConfig
impl UnsafeUnpin for ToolsConfig
impl UnwindSafe for ToolsConfig
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