pub struct BvToml {
pub project: ProjectMeta,
pub registry: Option<RegistryConfig>,
pub tools: Vec<ToolDeclaration>,
pub data: BTreeMap<String, DataDeclaration>,
pub hardware: HardwareProfile,
pub runtime: RuntimeConfig,
pub binary_overrides: BTreeMap<String, String>,
pub caches: Vec<CacheMount>,
}Expand description
Contents of bv.toml.
Fields§
§project: ProjectMeta§registry: Option<RegistryConfig>§tools: Vec<ToolDeclaration>§data: BTreeMap<String, DataDeclaration>§hardware: HardwareProfile§runtime: RuntimeConfig§binary_overrides: BTreeMap<String, String>Resolves collisions when two tools expose the same binary name. Maps binary name to the tool id that should own the shim.
caches: Vec<CacheMount>User-declared cache mounts, applied to every bv run invocation
whose tool id matches match. Persists scratch state (model weights,
downloaded indices) across runs. User entries override the host_path
of any matching cache declared by the tool’s manifest.
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