Open
Description
I'd like to replace the long, full tokio
manifest header:
//! ```cargo
//! [dependencies]
//! tokio = { version = "1", features = ["full"] }
//! ```
async fn my_async_fn_scope(url: &String) {
todo!()
}
With something like:
// cargo-deps: tokio = { version = "1", features = ["full"] }
async fn my_async_fn_scope(url: &String) {
todo!()
}
But it looks like the extra syntax might not be supported?
error: could not parse embedded manifest: TOML parse error at line 2, column 24
|
2 | tokio = { version = "1"
| ^
invalid inline table
expected `}`
Thanks!
Metadata
Metadata
Assignees
Labels
No labels