You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-29 22:01:14 +03:00
Bump the latest axum rc
This commit is contained in:
@ -8,7 +8,7 @@ license = "Apache-2.0"
|
||||
[dependencies]
|
||||
aws-smithy-http = { version = "0.51.0", optional = true }
|
||||
aws-types = { version = "0.51.0", optional = true }
|
||||
axum = { version = "0.6.0-rc.2", optional = true }
|
||||
axum = { version = "0.6.0-rc.4", optional = true }
|
||||
bytes = "1.2.1"
|
||||
futures-util = "0.3.25"
|
||||
headers = "0.3.8"
|
||||
@ -23,7 +23,7 @@ opentelemetry-semantic-conventions = "0.10.0"
|
||||
rustls = { version = "0.20.7", optional = true }
|
||||
rustls-native-certs = { version = "0.6.2", optional = true }
|
||||
serde = "1.0.147"
|
||||
serde_json = "1.0.87"
|
||||
serde_json = "1.0.88"
|
||||
serde_urlencoded = "0.7.1"
|
||||
thiserror = "1.0.37"
|
||||
tokio = { version = "1.21.2", features = ["sync", "parking_lot"], optional = true }
|
||||
|
@ -27,6 +27,15 @@ pub struct ServerLayer<ReqBody> {
|
||||
_t: PhantomData<ReqBody>,
|
||||
}
|
||||
|
||||
impl<B> Clone for ServerLayer<B> {
|
||||
fn clone(&self) -> Self {
|
||||
Self {
|
||||
listener_name: self.listener_name.clone(),
|
||||
_t: PhantomData,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl<B> ServerLayer<B> {
|
||||
#[must_use]
|
||||
pub fn new(listener_name: Option<String>) -> Self {
|
||||
|
Reference in New Issue
Block a user