solar-core 1.0.0

Core library for cargo-solar command.
Documentation
use std::path::PathBuf;

use crate::{
    Config,
    tool::{Commitalyzer, Licenses, SemverRelease, Vhooks},
};

pub fn universal_default() -> Config {
    Config::new(
        PathBuf::new(),
        Some(Vhooks::new(PathBuf::from("."), ".hooks".to_string(), false)),
        Some(SemverRelease::new(PathBuf::from("."), None)),
        None,
        Some(Licenses::new(
            PathBuf::from("."),
            Some(vec!["MIT".to_string(), "Apache-2.0".to_string()]),
            Some(vec!["MIT".to_string(), "Apache-2.0".to_string()]),
        )),
        None,
        Some(Commitalyzer::new(
            PathBuf::from("."),
            Some("conventional-commits".to_string()),
        )),
        None,
    )
}