Registry / database / eternalfest-user-store

eternalfest-user-store

JSON →
library0.18.2rscratesunverified

Simple user service for Postgres, providing user storage and management.

# Cargo.toml [dependencies] eternalfest_user_store = "0.18.2"
INSTALL
IMPORT
SIG · ETERNALFEST-USER-S
E
eternalfest-user-store
databaserustv0.18.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

UserStore
use eternalfest_user_store::UserStore;

Connects to Postgres and retrieves a user.

use eternalfest_user_store::UserStore; #[tokio::main] async fn main() { let store = UserStore::new("postgres://user:pass@localhost/db").await.unwrap(); let user = store.get_user("alice").await.unwrap(); println!("{:?}", user); }
Debug
Known issues
gotchaRequires a running Postgres instance and async runtime (Tokio).
fix
Ensure Postgres is running and add `tokio` as a dependency with the `full` feature.
affects: *
Upgrade
Version history
0.18.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
Resources
eternalfest-user-store — cargo add eternalfest-user-store · libregistry