1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Global Store.

use async_lock::Mutex;
use lazy_static::lazy_static;
use std::collections::HashMap;

use crate::models::helpers::Meta;

lazy_static! {
    // Metadata caching for Models.
    pub static ref METADATA: Mutex<HashMap<String, Meta>> = {
        Mutex::new(HashMap::new())
    };

}