V OpenVet
Packages Docs Blog Sign in
cargo / async-trait

async-trait

cargo

Type erasure for async trait methods

1 audit github.com/dtolnay/async-trait

Audits

PE Patrick Elsen 2026-05-27

async-trait@0.1.89

async-trait 0.1.89 is a proc-macro that rewrites async fn in traits/impls into Pin<Box<dyn Future + Send>>-returning methods, restoring dyn Trait object-safety. Pure token rewriting over syn/quote; no unsafe, no I/O, no env or network access; upstream build.rs is correctly excluded from the published artefact. No findings; safe to deploy.

build-exec-deterministicbuild-exec-minimalbuild-exec-no-networkbuild-exec-no-write-outbuild-exec-safehas-binarieshas-build-exechas-fuzz-testshas-install-exechas-integration-testshas-property-testshas-unit-testsimpl-algorithmimpl-concurrencyimpl-cryptoimpl-datastructureimpl-interpreterimpl-jitimpl-parserimpl-protocolis-benignuses-concurrencyuses-cryptouses-environmentuses-execuses-filesystemuses-interpreteruses-jituses-networkuses-unsafe

Package facts

Registry
cargo
Repository
github.com/dtolnay/async-trait
V openvet · supply-chain audits · open source
CLI Source