These are chat archives for rust-lang/rust

27th
Feb 2019
amitayadav
@amitayadav
Feb 27 05:37
Hi, I am building a micro-service in rust but didn't find the suitable standard project structure. Please help me out.

Is this project structure fine :
project1
-src

   - main.rs

tests
project2
-src

 - lib.rs

-cargo.toml
cargo.toml
where project2 is lib project inside project1

Sylwester Rąpała
@xoac
Feb 27 10:43
is this person some core team or just reserved so much names from crates.io? https://crates.io/users/strake
there is also https://crates.io/crates/flags that looks exactly like bitflags?
matrixbot
@matrixbot
Feb 27 10:51
vvilhonen hey, how do I convert std::io::Read to futures::stream::Stream
Michal 'vorner' Vaner
@vorner
Feb 27 11:01
It is bitflags. The library inside is even called bitflags. Seems like he might be a squatter.
Genysys
@Genysys
Feb 27 11:39
I am trying to install rust up and disable the prompt (using it as part of an installation script)
curl https://sh.rustup.rs -sSf | sh -y
isnt working
Any advice on this would be greatly appreciated
@aswinkarthik thanks :
 curl https://sh.rustup.rs -sSf | sh -- -y
sh: -y: No such file or directory
curl: (23) Failed writing body (0 != 7630)
Aswin Karthik
@aswinkarthik
Feb 27 11:43
It dint work. I am trying an alternative
Found it curl https://sh.rustup.rs -sSf | sh -s -- -y
Genysys
@Genysys
Feb 27 11:43
Thanks!!