Docs.rs
  • db-testkit-0.2.0
    • db-testkit 0.2.0
    • Permalink
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • auser
    • Dependencies
      • async-trait ^0.1.77 normal
      • dotenvy ^0.15.7 normal
      • futures ^0.3.30 normal
      • mysql_async ^0.34.2 normal optional
      • parking_lot ^0.12.1 normal
      • sqlx ^0.8.2 normal optional
      • tempfile ^3.9.0 normal
      • thiserror ^2.0 normal
      • tokio ^1.35.1 normal
      • tokio-postgres ^0.7.10 normal optional
      • tracing ^0.1.40 normal
      • url ^2.5.0 normal
      • uuid ^1.6.1 normal
      • tokio ^1.35.1 dev
      • tracing-subscriber ^0.3 dev
    • Versions
    • 67.53% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

db_testkit0.2.0

Crate Items

  • Macros
  • Structs
  • Enums
  • Traits
  • Functions
  • Type Aliases

List of all items

Structs

  • backends::postgres::PostgresBackend
  • backends::postgres::PostgresConnection
  • backends::postgres::PostgresPool
  • macros::TestDatabase
  • pool::PoolConfig
  • template::DatabaseName
  • template::DatabaseTemplate
  • template::ImmutableDatabase
  • wrapper::Reusable

Enums

  • error::PoolError
  • migrations::SqlSource

Traits

  • backend::Connection
  • backend::DatabaseBackend
  • backend::DatabasePool
  • migrations::RunSql

Macros

  • with_test_db

Functions

  • env::get_postgres_url
  • util::get_db_name

Type Aliases

  • error::Result