Nano
Nano
Notice what Itertools requires Iterator: `pub trait Itertools: Iterator`. This can be used to determine the order in which names are resolved. For example, let the compiler allow you to...
I apologize for this possibly inappropriate question, but why does Diesel need dynamic linking at all? (At least in the case of Postgres) I used a [rust-postgres](https://github.com/sfackler/rust-postgres) library and I...
@weiznich Thanks for the clarification
@ssrlive > Here is my code to find out `CARGO_TARGET_DIR`, hope it can help somebody. Thanks for the solution, but unfortunately it doesn't work with [custom profiles](https://doc.rust-lang.org/cargo/reference/profiles.html#custom-profiles) The `PROFILE` variable...
@niklasfi Or you can just "use" this ```rust let _ = rocket::build().mount("/", routes![index]).launch().await; ```
I tried to express this combinator using an existing API ```rust async fn run() { use { futures_lite::{stream, StreamExt}, std::{pin, time::Duration}, tokio::time, }; // an origin stream let stream =...
@Niedzwiedzw @failable I think the point of `futures_concurrency` crate is to provide combinators for concurrency and for other things are other crates with stream combinators like `futures` or `futures_lite`. They...
I think it's worth reconsidering the necessity of this feature. Usually if I need to attach some data to a task, I just move it to a future and use...
> With `futures-rs`, this doesn't work. The equivalent `filter` combinator takes an async closure, and so if you recreate the `Filter` struct each iteration as above, the pending future from...
I ran into a similar issue. A crate don't load into the workspace. The extension says: ``` File info: Does not belong to any crate ``` I tried to rebuild...