Crate bref

source ·
Expand description

Bref is a simple URL shortener that generates a unique key for each URL and stores it in a local database.

It is designed to be used as as standalone server, but can be used as a library.

Usage

use bref::Bref;

#[tokio::main]
async fn main() -> Result<()> {
  Bref::default().run().await
}

Structs