tea-orm

Crates.iotea-orm
lib.rstea-orm
version2.2.1
sourcesrc
created_at2023-01-15 21:10:43.258799
updated_at2024-10-13 00:57:08.415397
descriptionHelper functions for Sea Orm to help with testing
homepage
repositoryhttps://github.com/JosephLenton/tea-orm
max_upload_size
id759690
size17,618
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: 11

cargo fmt