pub struct BvToml {
pub project: ProjectMeta,
pub registry: Option<RegistryConfig>,
pub tools: Vec<ToolDeclaration>,
pub data: HashMap<String, DataDeclaration>,
pub hardware: HardwareProfile,
pub runtime: RuntimeConfig,
pub binary_overrides: HashMap<String, String>,
}Expand description
Contents of bv.toml.
Fields§
§project: ProjectMeta§registry: Option<RegistryConfig>§tools: Vec<ToolDeclaration>§data: HashMap<String, DataDeclaration>§hardware: HardwareProfile§runtime: RuntimeConfig§binary_overrides: HashMap<String, String>Resolves collisions when two tools expose the same binary name. Maps binary name to the tool id that should own the shim.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BvToml
impl<'de> Deserialize<'de> for BvToml
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 BvToml
impl RefUnwindSafe for BvToml
impl Send for BvToml
impl Sync for BvToml
impl Unpin for BvToml
impl UnsafeUnpin for BvToml
impl UnwindSafe for BvToml
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