pub struct BuildConfig {Show 14 fields
pub dataflow: String,
pub coordinator_addr: Option<IpAddr>,
pub coordinator_port: Option<u16>,
pub uv: bool,
pub force_local: bool,
pub strict_types: bool,
pub locked: bool,
pub write_lockfile: bool,
pub lockfile_only: bool,
pub lockfile_override: Option<PathBuf>,
pub parallel: bool,
pub offline: bool,
pub hub_overrides: Vec<String>,
pub working_dir_override: Option<PathBuf>,
}Expand description
Fields§
§dataflow: String§coordinator_addr: Option<IpAddr>§coordinator_port: Option<u16>§uv: bool§force_local: bool§strict_types: bool§locked: bool§write_lockfile: bool§lockfile_only: boolResolve + write the lockfile, then return WITHOUT building any node.
Backs dora hub update: the full resolve/inject/type-check/lockfile
pipeline (so the lockfile is identical to a real build’s), minus the
build. Pair with write_lockfile to persist, or without it for a
resolve-only dry run.
lockfile_override: Option<PathBuf>§parallel: bool§offline: boolSkip network access for hub index refreshes (cache only).
hub_overrides: Vec<String>--hub-override <namespace>/<name>=<path> entries (UC11): substitute a
local checkout for a hub package. Parsed and validated in build.
working_dir_override: Option<PathBuf>Overrides the working directory for cargo invocations and
module expansion. Needed when the dataflow path points at a
rewritten copy (e.g. a tempfile) whose parent can’t resolve the
original build: directives or relative node binaries.
Implementations§
Source§impl BuildConfig
impl BuildConfig
Sourcepub fn from_str_args(
dataflow: String,
uv: Option<bool>,
coordinator_addr: Option<String>,
coordinator_port: Option<u16>,
force_local: bool,
) -> Result<Self>
pub fn from_str_args( dataflow: String, uv: Option<bool>, coordinator_addr: Option<String>, coordinator_port: Option<u16>, force_local: bool, ) -> Result<Self>
Shared constructor for callers that marshal arguments as
strings (coordinator_addr: Option<String>) and optional
booleans (uv: Option<bool>) rather than as pre-parsed
IpAddr / bool. Keeps the addr.parse() + unwrap_or_default
glue in one place instead of duplicating it in every binding
that exposes a simplified build API (PyO3 today, potentially
a C FFI or WASM shim later).
Trait Implementations§
Source§impl Clone for BuildConfig
impl Clone for BuildConfig
Source§fn clone(&self) -> BuildConfig
fn clone(&self) -> BuildConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BuildConfig
impl Debug for BuildConfig
Source§impl Default for BuildConfig
impl Default for BuildConfig
Source§fn default() -> BuildConfig
fn default() -> BuildConfig
Auto Trait Implementations§
impl Freeze for BuildConfig
impl RefUnwindSafe for BuildConfig
impl Send for BuildConfig
impl Sync for BuildConfig
impl Unpin for BuildConfig
impl UnsafeUnpin for BuildConfig
impl UnwindSafe for BuildConfig
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FitForCBox for T
impl<T> FitForCBox for T
type CBoxWrapped = Box_<T>
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request