Browse Source

aya: fix unused async-io dependency linter error

Not using the `dep:` syntax created a Cargo feature flag for async-io,
though this feature alone does nothing without the `async_std` or
`async_tokio` features.
Tuetuopay 1 year ago
parent
commit
984c08cbad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      aya/Cargo.toml

+ 1 - 1
aya/Cargo.toml

@@ -30,7 +30,7 @@ tempfile = { workspace = true }
 [features]
 default = []
 async_tokio = ["tokio/net"]
-async_std = ["async-io"]
+async_std = ["dep:async-io"]
 
 [package.metadata.docs.rs]
 all-features = true