Skip to content

Commit

Permalink
Merge pull request #14 from AllexVeldman/axum-router
Browse files Browse the repository at this point in the history
feat: Use Axum for routing and handling requests
  • Loading branch information
AllexVeldman authored Aug 1, 2024
2 parents 05cec8e + b3e23a4 commit ef8b05e
Show file tree
Hide file tree
Showing 9 changed files with 1,306 additions and 266 deletions.
361 changes: 346 additions & 15 deletions Cargo.lock

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,14 @@ sha2 = "0.10.8"
base16ct = { version = "0.2.0", features = ["alloc"] }
urlencoding = "2.1.3"
anyhow = "1.0.86"
http = "1.1.0"
axum = { version = "0.7.5", default-features = false, features = ["multipart","macros"] }

# wasm dependencies
time = { version = "0.3.36", features = ["wasm-bindgen"] }
console_error_panic_hook = "0.1.7"
wasm-bindgen = "0.2.92"
worker = {version = "0.3.0"}
worker = { version = "0.3.0", features = ["http", "axum"] }
tracing-web = "0.1.3"
futures = "0.3.30"

Expand All @@ -49,6 +51,8 @@ opentelemetry-proto = { version ="0.6.0", features = ["gen-tonic-messages", "log
tracing-core = "0.1.32"
prost = "0.12.6"
async-channel = "2.3.1"
tower = "0.4.13"
async-trait = "0.1.81"

[dependencies.web-sys]
version = "0.3.63"
Expand All @@ -61,4 +65,6 @@ features = [
]

[dev-dependencies]
mockito = "1.4.0"
test-case = "3.3.1"
tokio = { version = "1.39.1", features = ["macros"]}
Loading

0 comments on commit ef8b05e

Please sign in to comment.