at

async-trait

cargo install async-trait

58 Versions

0.1.57

4 months ago
  • Add categories to crates.io metadata

0.1.56

6 months ago
  • Fix build errors that involve use parentheses to disambiguate: `(impl 'async_trait + Trait)` (#204)

0.1.55

6 months ago
  • Fix drop order of uncaptured arguments (_) when compiling in 2021 edition's closure capture rules (#199)

0.1.54

6 months ago
  • Fix lifetime issue when using impl Trait in an async function argument type (#177)

0.1.53

8 months ago
  • Improve diagnostic / suggested fixes which involve "consider further restricting this bound" (#194)

0.1.52

1 year ago
  • Eliminate clippy::shadow_some restriction lint from generated code (#184, thanks @c410-f3r)

0.1.51

1 year ago
  • Recognize fully elaborated ::core::marker::Trait supertrait bounds (#170, #171, #173)

0.1.50

2 years ago
  • Make compatible with tokio::select, futures::select and similar macros (#161)

0.1.49

2 years ago
  • Fix for use of self:: as prefix of a path in expression position (#158)

0.1.48

2 years ago
  • Resolve clippy items_after_statements pedantic lint in generated code (#154)

0.1.47

2 years ago
  • Support for impl Trait in associated types (#152)

0.1.46

2 years ago
  • Fix "mismatched types" error in function bodies that perform unsize coercion (#149)

0.1.45

2 years ago
  • Resolve clippy let_unit_value pedantic lint in generated code (#147)

0.1.44

2 years ago
  • Suppress clippy type_complexity lint on complex type in generated code (#145)

0.1.43

2 years ago
  • Switch implementation to async blocks, which have fewer edge cases (#143, thanks @SergioBenitez)

0.1.42

2 years ago
  • Fix Self generic type inserted out of order relative to const generic params (#136, thanks @taiki-e)

0.1.41

2 years ago
  • Fix clippy::used_underscore_binding lint in generated code (#129)

0.1.40

2 years ago
  • Fix handling of Self keyword inside of function-like macro invocations in a trait method's default impl (#124, thanks @taiki-e)

0.1.39

2 years ago
  • Support default impls of methods on traits when the trait has generic type or const parameter with default value (#123, thanks @tyranron)

0.1.38

2 years ago
  • Suppress trivially_copy_pass_by_ref in generated code (#120)

0.1.37

2 years ago
  • Work around unused_parens warning resulting from rustc bug (#118)

0.1.36

2 years ago
  • Avoid clippy needless_lifetimes lint in generated code (#110)

0.1.35

2 years ago
  • Improve support for impls with elided lifetimes in the impl signature (#107, thanks @taiki-e)

0.1.34

2 years ago
  • Better error reporting on use of associated items behind a Self keyword (#103, thanks @taiki-e)
  • Fix errors involving "`self` value is a keyword only available in methods with `self` parameter" in apparently correct code (#105, thanks @taiki-e)

0.1.33

3 years ago
  • Preserve span of errors involving a Self keyword (#102, thanks @taiki-e)

0.1.32

3 years ago
  • Support applications of Self keyword inside macro invocations in impl blocks (#92, #100, thanks @taiki-e)

0.1.31

3 years ago
  • Documentation improvements

0.1.30

3 years ago
  • Fix failure to parse trait objects with missing dyn keyword in Self type of impl block (#89)
  • Remove support_old_nightly unstable feature

0.1.29

3 years ago
  • Avoid triggering more style lints than would be triggered in ordinary trait impls (#85)
  • Handle Self:: in more syntax positions (#87)

0.1.28

3 years ago
  • Support Self:: segment in pattern position (#81)
  • Support self: &Self longhand method receiver syntax (#83)

0.1.27

3 years ago
  • Support nested macro_rules macros that involve self (#68, thanks @taiki-e)

0.1.26

3 years ago
  • Add #[must_use] to async trait methods (#75)

0.1.25

3 years ago
  • Fix using associated constants of the current trait inside of function-like macro invocations (#73)

0.1.24

3 years ago
  • Suppress "this type has already been used as a bound predicate" pedantic lint in generated code (#67, thanks @tyranron)

0.1.23

3 years ago
  • Fix macro expansion errors pointing to the wrong token on curly braces inside input of function-like macros invoked inside async_trait (#65)

0.1.22

3 years ago
  • Support async trait methods with const generics (#56, thanks @Freax13)

0.1.21

3 years ago
  • Fix use of Self in expression position better (#53)

0.1.20

3 years ago
  • Fix use of Self in expression position inside async fn (#53)

0.1.19

3 years ago
  • Suppress missing_docs_in_private_items Clippy restriction lint in generated code (#51)

0.1.18

3 years ago
  • Improve span of errors when async method's future does not implement Send (#49, thanks @Marwes)

0.1.17

3 years ago
  • Fix "cannot find type `AsyncTrait` in this scope" when a trait has both a where-clause mentioning Self and a no-self method with a default implementation (#44, thanks @olegnn)

0.1.16

3 years ago
  • Fix "lifetimes do not match method in trait" when signature in trait contains Self but signature in impl does not (#42)

0.1.15

3 years ago
  • Avoid generated code being disrupted by a user defined module or import named core (#41, thanks @Marwes)

0.1.14

3 years ago
  • Support unsafe traits and unsafe trait impls (#39, thanks @Marwes)

0.1.13

3 years ago
  • Support Self used as expr inside trait method body (#31)

0.1.12

3 years ago
  • Support traits with lifetimes (#30, thanks @taiki-e)

0.1.11

3 years ago
  • Remove #![feature(async_await)] from documentation now that the feature gate is gone in nightly

0.1.10

3 years ago
  • Propagate mutability of mut self argument (#24, thanks @taiki-e)

0.1.9

3 years ago
  • Update to Syn 1.0

0.1.8

3 years ago
  • Avoid used_underscore_binding lint in generated code (#21)

0.1.7

3 years ago
  • Accept #[async_trait(?Send)] to opt out of Send-bounded futures (#10, #14)
  • Fix use of self inside of nested macro invocation (#17)

0.1.6

3 years ago
  • Fix a "lifetime does not appear in bounds" error on certain async signatures (#15)

0.1.5

3 years ago
  • Improve error messages when there are type errors involving self used in an async method body

0.1.4

3 years ago
  • Support Self as an argument type that is not a method receiver (#9)
  • Support arbitrary self types (#11)

0.1.3

3 years ago
  • Support using from no_std crates

0.1.2

3 years ago
  • Fix compile error expanding impl block that has type parameters on the impl (#1)

0.1.1

3 years ago
  • Fix compile error if a where-clause begins with a bound on some associated type of Self (#2)

0.1.0

3 years ago

58 Versions

TagPublished
0.1.574mos ago
0.1.566mos ago
0.1.556mos ago
0.1.546mos ago
0.1.538mos ago
0.1.521yr ago
0.1.511yr ago
0.1.502yrs ago
0.1.492yrs ago
0.1.482yrs ago
0.1.472yrs ago
0.1.462yrs ago
0.1.452yrs ago
0.1.442yrs ago
0.1.432yrs ago
0.1.422yrs ago
0.1.412yrs ago
0.1.402yrs ago
0.1.392yrs ago
0.1.382yrs ago
0.1.372yrs ago
0.1.362yrs ago
0.1.352yrs ago
0.1.342yrs ago
0.1.333yrs ago
0.1.323yrs ago
0.1.313yrs ago
0.1.303yrs ago
0.1.293yrs ago
0.1.283yrs ago
0.1.273yrs ago
0.1.263yrs ago
0.1.253yrs ago
0.1.243yrs ago
0.1.233yrs ago
0.1.223yrs ago
0.1.213yrs ago
0.1.203yrs ago
0.1.193yrs ago
0.1.183yrs ago
0.1.173yrs ago
0.1.163yrs ago
0.1.153yrs ago
0.1.143yrs ago
0.1.133yrs ago
0.1.123yrs ago
0.1.113yrs ago
0.1.103yrs ago
0.1.93yrs ago
0.1.83yrs ago
0.1.73yrs ago
0.1.63yrs ago
0.1.53yrs ago
0.1.43yrs ago
0.1.33yrs ago
0.1.23yrs ago
0.1.13yrs ago
0.1.03yrs ago