From b8cec687b23dc65e5d0bbf0896b2f6dc2049c548 Mon Sep 17 00:00:00 2001 From: Jun Kurihara Date: Sat, 25 Nov 2023 00:37:54 +0900 Subject: [PATCH] wip: add stub for message handler --- rpxy-lib/Cargo.toml | 6 +++--- rpxy-lib/src/lib.rs | 1 + rpxy-lib/src/message_handler/mod.rs | 0 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 rpxy-lib/src/message_handler/mod.rs diff --git a/rpxy-lib/Cargo.toml b/rpxy-lib/Cargo.toml index 3469162..583ac59 100644 --- a/rpxy-lib/Cargo.toml +++ b/rpxy-lib/Cargo.toml @@ -84,7 +84,7 @@ socket2 = { version = "0.5.5", features = ["all"], optional = true } # # cache # http-cache-semantics = { path = "../submodules/rusty-http-cache-semantics/", optional = true } -# lru = { version = "0.12.0", optional = true } +# lru = { version = "0.12.1", optional = true } # cookie handling for sticky cookie chrono = { version = "0.4.31", default-features = false, features = [ @@ -96,5 +96,5 @@ base64 = { version = "0.21.5", optional = true } sha2 = { version = "0.10.8", default-features = false, optional = true } -# [dev-dependencies] -# # http and tls +[dev-dependencies] +# http and tls diff --git a/rpxy-lib/src/lib.rs b/rpxy-lib/src/lib.rs index 706f7b2..4e63cbe 100644 --- a/rpxy-lib/src/lib.rs +++ b/rpxy-lib/src/lib.rs @@ -6,6 +6,7 @@ mod error; mod globals; mod hyper_ext; mod log; +mod message_handler; mod name_exp; mod proxy; diff --git a/rpxy-lib/src/message_handler/mod.rs b/rpxy-lib/src/message_handler/mod.rs new file mode 100644 index 0000000..e69de29