Dependency Update, Added examples/basic, CI

Updated the dependencies to the newest version.
Added `AsRef` and `Deref` traits to the extractors.
Moved the example from `README.md` to `examples/basic`.
Added a CI Pipeline.
This commit is contained in:
Paul Zinselmeyer 2024-03-08 17:17:00 +01:00
parent abe316884e
commit 0b34935b5a
Signed by: pfzetto
GPG key ID: B471A1AF06C895FD
7 changed files with 158 additions and 49 deletions

13
examples/basic/Cargo.toml Normal file
View file

@ -0,0 +1,13 @@
[package]
name = "basic"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tokio = { version = "1.36.0", features = ["net", "macros"] }
axum = "0.7.4"
axum-oidc = { path = "./../.." }
tower = "0.4.13"
tower-sessions = "0.11.0"