Skip to content

Commit 3a6d13b

Browse files
committed
Enforce that all implementations of the VssHeaderProvider are Send+Sync.
1 parent 727c344 commit 3a6d13b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/headers/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub use lnurl_auth_jwt::LnurlAuthToJwtProvider;
1414

1515
/// Defines a trait around how headers are provided for each VSS request.
1616
#[async_trait]
17-
pub trait VssHeaderProvider {
17+
pub trait VssHeaderProvider: Send + Sync {
1818
/// Returns the HTTP headers to be used for a VSS request.
1919
/// This method is called on each request, and should likely perform some form of caching.
2020
///

0 commit comments

Comments
 (0)