소스 검색

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 년 전
부모
커밋
984c08cbad
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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