[][src]Function scrappy_service::unit_config

pub fn unit_config<T, U, C>(factory: U) -> UnitConfig<T, C> where
    T: ServiceFactory<Config = ()>,
    U: IntoServiceFactory<T>, 

Replace config with unit