pub fn register_dependency_constructor_with_scope(
name: &str,
module_path: &str,
cons: DependencyConstructor,
dependencies: Vec<String>,
scope: DepScope,
worker_fn: Option<WorkerReconstructor>,
cloneable_codec: Option<CloneableCodec>,
hosted_codec: Option<CloneableCodec>,
rpc_factory: Option<RpcFactory>,
)