Skip to content

Commit ff92969

Browse files
committed
docs: add axum example
1 parent d42ed6c commit ff92969

File tree

4 files changed

+235
-22
lines changed

4 files changed

+235
-22
lines changed

Cargo.lock

Lines changed: 125 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ version = "0.16.0"
2626
[workspace.dependencies]
2727
anyhow = "1.0.86"
2828
async-trait = "0.1.81"
29+
axum = "0.7.5"
2930
blake2 = "0.10.6"
3031
criterion = "0.5.1"
3132
flate2 = "1.0.31"
@@ -45,8 +46,8 @@ reqwest-middleware = "0.3.3"
4546
reqwest-retry = "0.6.1"
4647
reqwest-tracing = "0.5.3"
4748
semver = "1.0.23"
48-
serde = "1.0.205"
49-
serde_json = "1.0.122"
49+
serde = "1.0.206"
50+
serde_json = "1.0.124"
5051
sha1 = "0.10.6"
5152
sha2 = "0.10.8"
5253
sha3 = "0.10.8"

examples/axum_embedded/Cargo.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[package]
2+
edition.workspace = true
3+
name = "axum_embedded"
4+
publish = false
5+
license.workspace = true
6+
version.workspace = true
7+
8+
[dependencies]
9+
anyhow = { workspace = true }
10+
axum = { workspace = true }
11+
postgresql_embedded = { path = "../../postgresql_embedded" }
12+
postgresql_extensions = { path = "../../postgresql_extensions" }
13+
sqlx = { workspace = true, features = ["runtime-tokio"] }
14+
tracing = { workspace = true }
15+
tracing-subscriber = { workspace = true }
16+
tokio = { workspace = true, features = ["full"] }

0 commit comments

Comments
 (0)