thingd 0.80.0

Core primitives for thingd, an object-shaped local memory engine for apps and agents.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Database connector implementations for `Postgres` and `MySQL`.
//!
//! These connectors use `sqlx` internally with a `tokio::runtime::Runtime`
//! to provide a synchronous `PullStream` interface compatible with the
//! `Connector` trait.

#[cfg(feature = "connectors")]
mod mysql;
#[cfg(feature = "connectors")]
mod postgres;

#[cfg(feature = "connectors")]
pub use mysql::MysqlConnector;
#[cfg(feature = "connectors")]
pub use postgres::PostgresConnector;