David Pedersen
6703f8634c
Remove B
type param: Follow ups ( #1789 )
...
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
Co-authored-by: Michael Scofield <mscofield0@tutanota.com>
2023-04-21 17:45:31 +02:00
Jonas Platte
dc480f7b0e
Re-integrate examples into the root workspace ( #1466 )
...
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-03-10 12:02:11 +01:00
tottoto
6c133be5b7
Refactor initializing tracing-subscriber in examples ( #1596 )
...
* Refactor initializing tracing-subscriber
* Revert "Refactor initializing tracing-subscriber"
This reverts commit 0876260bf9
in favor of tracing_subscriber::registry.
* Use EnvFilter::try_from_default_env in chat example
* Use EnvFilter::try_from_default_env in examples
2022-11-30 10:46:19 +01:00
Valentin Brandl
ee0b71a4ac
Start second server on different port for metrics endpoint ( #1444 )
...
* Start second server on different port for metrics endpoint
* Don't track metrics on metrics server
2022-10-08 01:28:32 +02:00
David Pedersen
93251fa203
Bump MSRV to 1.56 and update to the 2021 edition ( #1098 )
2022-06-17 20:11:35 +02:00
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
zys864
768d8a8218
Fix minor issues in some examples ( #806 )
...
* remove unused `axum`'s dependency:`tokio-util`
* fix `examples/todos`'s `async fn todos_index` iter_overeager_cloned
* Add docs to `/examples/async-graphql`, just like other xamples.
* remove `examples/async-graphql` unused dependencies `tracing-subscriber` and `trace`
* `examples/chat` deps `trace` and `tracing-subscriber` never be used. Add trace `debug` to `chat`
* remove `examples/print-request-response` unused dependency `axum-extra`
* remove `examples/prometheus-metrics` unused dependency `axum-extra`
* remove `examples/reverse-proxy` unused dependencies `tracing-subscriber` and `trace`
* `examples/chat` fmt fix
2022-03-01 09:30:09 +00:00
David Pedersen
409a6651f5
Update dependencies ( #753 )
2022-02-12 17:16:14 +00:00
David Pedersen
9004a14302
Move middleware::from_fn
into axum ( #719 )
...
* Move `middleware::from_fn` into axum
* changelog
* fix feature
* Rephrase changelog a bit
2022-01-25 10:19:06 +01:00
David Pedersen
5698fb8be9
Add metrics example ( #671 )
2021-12-28 15:58:48 +01:00