From b8c0fbba0b62906823a79e34bb2eadc1fe419d90 Mon Sep 17 00:00:00 2001 From: landrigun Date: Wed, 15 Feb 2023 16:55:41 +0000 Subject: [PATCH] set extract_json_value available in the lib --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a2005be..664e033 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "http" -version = "0.1.2" +version = "0.1.3" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/lib.rs b/src/lib.rs index 049852b..65f12a7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -17,7 +17,7 @@ mod version; pub use body::HTTPBody; pub use message::JSONMessage; -pub use request::HTTPRequest; +pub use request::{HTTPRequest, extract_json_value}; pub use response::HTTPResponse; pub use start_line::HTTPStartLine; pub use status::{HTTPStatusCode, HTTPStatusLine};