1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/// Treats tuples as a list which can be appended to. e.g.
/// `(a,).tuple_append(b) == (a, b)`
pub trait TupleAppend<T> {
    type Output;

    fn tuple_append(self, right: T) -> Self::Output;
}

pub trait TupleSize {
    const SIZE: usize;
}

#[cfg(any(feature = "postgres", feature = "sqlite"))]
mod once_cell;

#[cfg(any(feature = "postgres", feature = "sqlite"))]
pub(crate) use self::once_cell::OnceCell;