diff options
| author | Matthieu <matthieu@developershouse.xyz> | 2021-10-18 11:54:43 +0400 |
|---|---|---|
| committer | Matthieu <matthieu@developershouse.xyz> | 2021-10-18 11:54:43 +0400 |
| commit | cf84d9526027fd9a9fdd98b2d3b471d6655abe76 (patch) | |
| tree | ec898336fd8c69cd18f58b344a7144d9d50fff4e /webhook/src/handler/make_service.rs | |
| parent | b94b0552f81e667bec31352901bbc8c76f1b4216 (diff) | |
remove dependcy on libsodium (deprecated)
Diffstat (limited to 'webhook/src/handler/make_service.rs')
| -rw-r--r-- | webhook/src/handler/make_service.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/webhook/src/handler/make_service.rs b/webhook/src/handler/make_service.rs index deeb2fe..9e90436 100644 --- a/webhook/src/handler/make_service.rs +++ b/webhook/src/handler/make_service.rs @@ -7,10 +7,12 @@ use std::{ sync::Arc, task::{Context, Poll}, }; +use ed25519_dalek::PublicKey; pub struct MakeSvc { pub settings: Arc<Config>, pub nats: Arc<Connection>, + pub public_key: Arc<PublicKey> } impl<T> Service<T> for MakeSvc { @@ -26,6 +28,7 @@ impl<T> Service<T> for MakeSvc { ready(Ok(HandlerService { config: self.settings.clone(), nats: self.nats.clone(), + public_key: self.public_key.clone() })) } } |
