pub(crate) fn serve_options(
serve: &ServeArgs,
config: Option<PathBuf>,
bin_dir: Option<PathBuf>,
standalone: bool,
) -> Result<DevOptions, DevError>Expand description
Build DevOptions from the shared serve flags.
config is Some only for waratah start (its explicit --config
address table); standalone always derives the ring from
{config-dir}/cluster.toml or the local defaults. bin_dir likewise
only matters when storage children are spawned. standalone selects the
in-process client wiring inside dev::start.