mirl 9.2.0

Miners Rust Lib - A massive collection of ever growing and changing functions, structs, and enums. Check the description for compatibility and toggleable features! (Most of the lib is controlled by flags/features so the lib can continue to be lightweight despite its size)
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::prelude::FromPatch;

impl<T> FromPatch<T> for tokio::sync::Mutex<T> {
    fn from_value(value: T) -> Self {
        Self::new(value)
    }
}

impl<T> FromPatch<T> for tokio::sync::RwLock<T> {
    fn from_value(value: T) -> Self {
        Self::new(value)
    }
}