Skip to content

Commit

Permalink
Refactor server from warp into axum
Browse files Browse the repository at this point in the history
  • Loading branch information
Eligioo committed Jan 22, 2025
1 parent 251db16 commit c8cbf5a
Show file tree
Hide file tree
Showing 3 changed files with 123 additions and 150 deletions.
13 changes: 6 additions & 7 deletions server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,25 @@ categories.workspace = true
keywords.workspace = true

[dependencies]
axum = { version = "0.8", features = ["ws"] }
axum-extra = { version = "0.10", features = ["typed-header"] }
async-trait = "0.1"
blake2 = "0.10"
bytes = "1.4"
futures = "0.3"
headers = "0.3"
http = "0.2"
log = "0.4"
serde = "1.0"
serde_json = "1.0"
subtle = "2.5"
thiserror = "1.0"
tokio = { version = "1.25", features = ["sync"] }
warp = "0.3"
tokio = { version = "1.43", features = ["sync"] }
tower-http = { version = "0.6", features = ["auth", "cors"] }

nimiq-jsonrpc-core = { workspace = true }

[dev-dependencies]
anyhow = "1.0"
pretty_env_logger = "0.5.0"
tokio = { version = "1.25", features = ["macros", "rt-multi-thread"] }
pretty_env_logger = "0.5"
tokio = { version = "1.43", features = ["macros", "rt-multi-thread"] }

nimiq-jsonrpc-client = { workspace = true }
nimiq-jsonrpc-derive = { workspace = true }
53 changes: 0 additions & 53 deletions server/src/auth_filter.rs

This file was deleted.

Loading

0 comments on commit c8cbf5a

Please sign in to comment.