delete conduit_bin feature

i dont know what's the point of this

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry authored and June committed 2024-04-02 00:32:41 -04:00
1 parent a0ad911688
commit fec4b3c953
3 files changed
+1 -8

No files matched your search

-3
View File
@@ -68,10 +68,8 @@ pub enum Error {
BadRequest(ErrorKind, &'static str),
#[error("{0}")]
Conflict(&'static str), // This is only needed for when a room alias already exists
#[cfg(feature = "conduit_bin")]
#[error("{0}")]
ExtensionError(#[from] axum::extract::rejection::ExtensionRejection),
#[cfg(feature = "conduit_bin")]
#[error("{0}")]
PathError(#[from] axum::extract::rejection::PathRejection),
#[error("from {0}: {1}")]
@@ -192,7 +190,6 @@ impl From<Infallible> for Error {
fn from(i: Infallible) -> Self { match i {} }
}
#[cfg(feature = "conduit_bin")]
impl axum::response::IntoResponse for Error {
fn into_response(self) -> axum::response::Response { self.to_response().into_response() }
}