Skip to content

Commit 358ceb7

Browse files
committed
chore: implement send and sync traits
An instance of the `AntReleaseRepoActions` cannot be instantiated in an async block without implementing `Send` and `Sync`.
1 parent 669f678 commit 358ceb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ pub struct AutonomiReleaseInfo {
159159
}
160160

161161
#[async_trait]
162-
pub trait AntReleaseRepoActions: Sync + Send {
162+
pub trait AntReleaseRepoActions: Send + Sync {
163163
async fn get_latest_version(&self, release_type: &ReleaseType) -> Result<Version>;
164164
async fn download_release_from_s3(
165165
&self,

0 commit comments

Comments
 (0)