tea-orm

Crates.iotea-orm
lib.rstea-orm
version2.0.0
sourcesrc
created_at2023-01-15 21:10:43.258799
updated_at2023-08-13 11:40:18.39583
descriptionHelper functions for Sea Orm to help with testing
homepage
repositoryhttps://github.com/JosephLenton/tea-orm
max_upload_size
id759690
size13,946
Joseph Lenton (JosephLenton)

documentation

https://docs.rs/tea-orm/latest/tea-orm

README

Tea Orm ☕
helper utilities for Sea Orm

crate docs

This is a crate for containing lots of helper functions when working with Sea Orm. Primarily for when writing tests.

For example utilities for quickly making a DB connection, and creating a new blank database for use within a test.

Features

These are Sea Orm specific options for it's runtime.

  • runtime-actix-native-tls - Sets Sea-Orm Migrations to use this runtime.
  • runtime-actix-rustls - Sets Sea-Orm Migrations to use this runtime.
  • runtime-async-std-native-tls - Sets Sea-Orm Migrations to use this runtime.
  • runtime-async-std-rustls - Sets Sea-Orm Migrations to use this runtime.
  • runtime-tokio-native-tls Default - Sets Sea-Orm Migrations to use this runtime.
  • runtime-tokio-rustls - Sets Sea-Orm Migrations to use this runtime.

Limitations

This currently only supports PostgresSQL.

Note that this is a work in progress.

Commit count: 8

cargo fmt