News for hackers. Stuff that matters.
Re:How I Start: Rust by CoffeeDregs on Tuesday March 17, 2020 @04:53PM (#22610297)
Love seeing more Rust. It's good stuff.

    extern crate rocket;
I thought "extern crate XYZ" was old-style? "use XYZ"?
Re:How I Start: Rust by cjbassi on Tuesday March 17, 2020 @05:04PM (#22610411)
It's still fairly common to use in conjunction with

    #[macro_use]
for when you want to easily import all of the macros from a crate across your entire project. But yes, you could do

    use rocket::{get, routes};
instead.