Problems with bytes and tokio-uring

Hi to all,
i have changed my rust program to use tokio-uring and the new method of async write in a file, in linux but now i have a little problem

i get a image from reqwest and i can obtain a stream of bytes, but the tokio uring file need a buffer of bytes to do the writing of this bytes in a async way

My problem is that i see in the github seems and optional feature two get bytes and the trait of IObuf to do this but i can't activate this feature in my cargo.toml

Error in the terminal:

error: failed to select a version for tokio-uring.
... required by package scrape_mangatown_reqwest v4.0.0 (/mnt/Cyberdojo/Programacion/Rust/scrape_mangatown_reqwest_json_uring)
versions that meet the requirements =0.1.0 are: 0.1.0

the package scrape_mangatown_reqwest depends on tokio-uring, with features: bytes but tokio-uring does not have these features.

failed to select a version for tokio-uring which could resolve this conflict

My cargo.toml

name = "scrape_mangatown_reqwest"
version = "4.0.0"
authors = ["Guillermo Cabezas <>"]
edition = "2018"

tokio = { version = "1.0.0", features = ["full"]  }
tokio-uring = { version ="0.1.0", features = ["bytes"]}
tokio-util = "0.3.0"
futures = "0.3"
select = "0.5.0"
reqwest = { version = "0.11.0", features = ["rustls-tls","stream"]}
ansi_term = "0.12.1"
url = "2.1.0"
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
bytes = { version = "1", features = ["serde"] }

Can anybody tell me how i can tell rust that te tokio-uring have to be compilled with the bytes to IOBUF

Thanks in advance

The bytes feature is unreleased. You can use it from git or ask to have a release made.

Note: You used the wrong tick for your code block. The correct one is `. If you don't have it on your keyboard, you can also use a tilde ~.

Edited to see the code better, thanks for the info because i was looking at the git, and not see in the git the versions (i know that i was using 0.1.0 with crate)

You can find the released version of the source code by going to the page and pressing the "source" button in the dropdown:

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.