Remove direct dependency on async_trait (#3382)

Not completely sure it's worth it since some other dependencies still
depend on it. Anyway, proc macros are said to be bad for compile times, I just typed out what the proc macro generates and it's only 8 more lines, and we're already doing it this way in e.g. action_by_contact() and collect_texts_recursive() (the latter needs the boxed future both for the trait and for recursion).
This commit is contained in:
Hocuri
2022-06-02 10:57:19 +02:00
committed by GitHub
parent 80efaa0dfa
commit e2b3339475
4 changed files with 61 additions and 55 deletions

1
Cargo.lock generated
View File

@@ -1077,7 +1077,6 @@ dependencies = [
"async-std",
"async-std-resolver",
"async-tar",
"async-trait",
"backtrace",
"base64 0.13.0",
"bitflags",