Registry / async / async-trait-with-sync

async-trait-with-sync

JSON →
library0.1.36rscratesunverified

`async-trait` with `Sync` patch

# Cargo.toml [dependencies] async-trait-with-sync = "0.1.36"
INSTALL
IMPORT
SIG · ASYNC-TRAIT-WITH-S
A
async-trait-with-sync
asyncrustv0.1.36
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

async_trait
use async_trait_with_sync::async_trait;

Defines an async trait with Sync support.

use async_trait_with_sync::async_trait; #[async_trait] pub trait MyTrait { async fn do_something(&self); } fn main() {}
Debug
Known issues
gotchaThis is a patched version; may diverge from upstream async-trait.
fix
Use only if you need Sync on async trait objects.
affects: >=0.1.0
Upgrade
Version history
0.1.36latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
43 hits · last 30 days
node
36
OpenAI (training)
1
Resources
async-trait-with-sync — cargo add async-trait-with-sync · libregistry