David Pedersen
1fe4558362
Move examples to separate workspace ( #978 )
...
* Move examples to separate workspace
* update commands to run examples
* remove debug
2022-04-29 18:53:41 +02:00
Jonas Platte
79b94b9bd6
Replace set_var usage in examples ( #829 )
...
* examples: Fix inconsistent toml formatting
* examples: Replace set_var usage
2022-03-06 12:37:00 +01:00
David Pedersen
a2b568c7c1
Implement tower::Layer
for Extension
( #801 )
...
* Implement `tower::Layer` for `Extension`
* changelog
2022-03-01 00:39:22 +01:00
Evgenii
0c16ce7649
fix: typo in a comment in a sqlx-postgres example ( #744 )
2022-02-04 08:14:34 +01:00
David Pedersen
a04fc42d75
Rework middleware docs ( #732 )
...
* rework middleware docs
* Apply suggestions from code review
Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
2022-01-30 20:09:18 +01:00
FlakM
32c9ab3c56
Add sqlx example with migrations ( #722 )
...
* Add sqlx example with migrations
Simple use case for sqlx based on tokio postgres example.
Sqlite database is created on execution in ./target directory
and migrations are then run against it.
* sqlx example uses postgres instead of sqlite3
Also removed migrations and database creation code.
2022-01-25 16:20:00 +01:00