You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: lib.rs
    path of file: ./repos/farm/crates/plugin_progress/src
    
    the code of the file until where you have to start completion: use farmfe_core::{
  config::Config, context::CompilationContext, error::Result, parking_lot::Mutex, plugin::Plugin,
};
use indicatif::{ProgressBar, ProgressStyle};
use std::sync::Arc;

pub struct FarmPluginProgress {
  module_count: Arc<Mutex<u32>>,
  progress_bar: ProgressBar,
  first_build: Mutex<bool>,
}

impl FarmPluginProgress {
  pub fn new(_conf
    
  pub fn new(_config: &Config) -> Self {
    let spinner_style =
      ProgressStyle::with_template("{prefix:.bold.dim} {spinner:.green} {wide_msg}")
        .unwrap()
        .tick_chars("⠁⠂⠄⡀⢀⠠⠐⠈ ");

    let progress_bar = ProgressBar::new(1);
    progress_bar.set_style(spinner_style.clone());
    progress_bar.set_prefix("[ building ]");

    Self {
      module_count: Arc::new(Mutex::new(0)),
      progress_bar,
      first_build: Mutex::new(true),
    }
  }