DEV Community

Intro to Web Development with Rust for NodeJS Developers

Bastian Gruber on March 18, 2019

You can find the second article in this series ("deploy your first Rust app") over here. Rust is different. You can pick up Python or Ruby over ...
Collapse
 
pigozzifr profile image
Francesco Pigozzi • Edited

Great article! I came across all the struggles you just listed coming from a NodeJs point of view. It's amazing to find another developer who appreciates Rust and tries to spread its knowledge with folks.

Collapse
 
johncsimon profile image
John Simon

you might get something like this when you try to cargo build withh reqwest

error: failed to run custom build command for `openssl-sys v0.9.42`
process didn't exit successfully: `/home/john/git/rust/webapptest/target/debug/build/openssl-sys-ee15cf4bf02eea9b/build-script-main` (exit code: 101)

and this

Make sure you also have the development packages of openssl installed.
For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora.

so ... sudo apt-get install libssl-dev ... rebuild and it runs!

Collapse
 
gruberb profile image
Bastian Gruber

I ran this on macOS, so thanks for checking it on Ubuntu!

Collapse
 
rhymes profile image
rhymes

Hi Bastian, great intro, thank you!

I think it would be worth to link all your posts in a DEV series.

If you use editor v1 you can do it like this:

how to use a series in editor v1

If instead you use editor v2:

how to use a series in editor v2

Collapse
 
gruberb profile image
Bastian Gruber

Thank you so much for this tip! I started a series! Do you know if there is a "front page" for series?

Collapse
 
rhymes profile image
rhymes

I believe series are ordered chronologically, so the first post marked as part of the series is the front page.

Collapse
 
matthieudesprez profile image
Matthieu Desprez

Thanks that's a great introduction to Rust from a NodeJs developer perspective ! I've recently started to learn Rust and your articles will be very helpful to me.