Make json an optional feature (default off)
This commit is contained in:
committed by
Sean McArthur
parent
a787fc1b38
commit
24394364eb
@@ -38,6 +38,7 @@ fn test_response_non_utf_8_text() {
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(feature = "json")]
|
||||
fn test_response_json() {
|
||||
let server = server::http(move |_req| async { http::Response::new("\"Hello\"".into()) });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user