diff --git a/src/servers/src/http/mem_prof.rs b/src/servers/src/http/mem_prof.rs index 04b0054c2e..342136eecd 100644 --- a/src/servers/src/http/mem_prof.rs +++ b/src/servers/src/http/mem_prof.rs @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +#[cfg(feature = "mem-prof")] use axum::extract::Query; use axum::http::StatusCode; use axum::response::IntoResponse;