turso_core 0.7.2

The Turso database library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::TursoNewExt;
use crate::alloc::Arc;

fn arc<T>(value: T) -> Arc<T> {
    crate::sync::Arc::new(value)
}

impl<T> TursoNewExt<T> for Arc<T> {
    fn new(value: T) -> Self {
        arc(value)
    }
}