You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But async usage described in next section requires the "async" features.
[dependencies]
rustyrepl = { version="0.2", features = ["async"] }
If feature is not included, build produces the following error
error[E0195]: lifetime parameters or bounds on method `process_command` do not match the trait declaration
--> example\src\main.rs:28:14
|
28 | async fn process_command(&self, command: Cli) -> anyhow::Result<()> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetimes do not match method in trait
The text was updated successfully, but these errors were encountered:
README.md uses the following Cargo instruction
But async usage described in next section requires the "async" features.
If feature is not included, build produces the following error
The text was updated successfully, but these errors were encountered: