#![deny(missing_debug_implementations)]
#![deny(missing_docs, invalid_doc_attributes)]
#![doc = include_str!("../Readme.md")]
use indexmap::IndexMap;
use serde::{Deserialize, Serialize};

mod parser;
mod tags;

/// Indicates the weight of the promotes
#[derive(Clone, Debug, Serialize, Deserialize)]
pub struct CyberWaifuTags {
    tags: IndexMap<String, f32>,
    ratio: f32,
}

impl Default for CyberWaifuTags {
    fn default() -> Self {
        Self { tags: IndexMap::default(), ratio: 0.618 }
    }
}
