1#[cfg(feature = "postgresql")]
2use crate::internal::{PostgresFromSQL, PostgresToSQL};
3#[cfg(feature = "sqlite")]
4use crate::internal::{SQLiteFromSQL, SQLiteToSQL};
5
6#[cfg(not(feature = "sqlite"))]
7pub trait Kind<'__from_sql>: PostgresFromSQL<'__from_sql> + PostgresToSQL {}
8
9#[cfg(not(feature = "postgresql"))]
10pub trait Kind<'__from_sql>: SQLiteFromSQL + SQLiteToSQL {}
11
12#[cfg(all(feature = "postgresql", feature = "sqlite"))]
13pub trait Kind<'__from_sql>:
14 PostgresFromSQL<'__from_sql> + PostgresToSQL + SQLiteFromSQL + SQLiteToSQL
15{
16}