mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-29 00:00:18 +02:00
Make it clear how to run all examples (#92)
* Handle errors in websocket example * Make it clear how to run all examples
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
//! Run with
|
||||
//!
|
||||
//! ```not_rust
|
||||
//! cargo run --example tokio_postgres
|
||||
//! ```
|
||||
|
||||
use axum::{extract::Extension, prelude::*, AddExtensionLayer};
|
||||
use bb8::Pool;
|
||||
use bb8_postgres::PostgresConnectionManager;
|
||||
|
||||
Reference in New Issue
Block a user