authen 0.1.0

A robust, modular, high-level, and secure authentication crate for Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# THIS IS LOCAL ENVIRONMENT CONFIGURATION FOR DEVELOPMENT OF THIS CRATE. DO NOT COMMIT THIS FILE.

# ---Postgres Configuration---
# use this to prepare the sqlx cache for offline mode
# docker run --name my-local-postgres -e POSTGRES_USER=myuser -e POSTGRES_PASSWORD=mypassword -e POSTGRES_DB=cryptic -p 5432:5432 -d postgres:latest
# cargo sqlx migrate run
# cargo sqlx prepare -- --features postgres
DATABASE_URL=postgres://myuser:mypassword@localhost:5432/cryptic
# To debug go into the container shell and run `psql -U myuser -d cryptic`

# ---SQLX Configuration---
# Ensure SQLX uses the offline mode for CI to avoid network calls
# This is useful for CI environments where you want to avoid network calls
SQLX_OFFLINE=true