Skip to main content

Developing Websites

  • Chapter
  • First Online:
Practical Rust Web Projects

Abstract

There is no denying that the web is one of the most popular platforms on Earth now. There are over 1.7 billion websites on the World Wide Web. And if you look at job boards for developers, web developers take up a large proportion of it. There are already many established programming languages for building the backend: Java, PHP, Python, Ruby, Node.js, and Go, just to name a few. But Rust fits perfectly into the web domain because of a few reasons:

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 16.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://tokio.rs/

  2. 2.

    https://www.infoq.com/presentations/rust-2019/

  3. 3.

    https://rust-lang.github.io/async-book/01_getting_started/01_chapter.html

  4. 4.

    https://cwe.mitre.org/data/definitions/548.html

  5. 5.

    Quoting the official tagline: “Serde is a framework for serializing and deserializing Rust data structures efficiently and generically.”

  6. 6.

    https://diesel.rs/

  7. 7.

    https://docs.docker.com/engine/install/debian/

  8. 8.

    https://hub.docker.com/_/postgres

  9. 9.

    The psql version you get from apt-get might not match your PostgreSQL server version. For most of the operations we are doing in this book, the version mismatch won’t cause any problem. But if you are experiencing issues, try installing the psql client with the matching version from https://www.postgresql.org/download/.

  10. 10.

    The username postgres is the default created by the postgres:12.3-alphine image.

  11. 11.

    https://github.com/sfackler/r2d2

  12. 12.

    https://github.com/actix/actix-web/issues/1454

  13. 13.

    https://tools.ietf.org/html/rfc7231#section-6.4.4

  14. 14.

    https://hyper.rs/

  15. 15.

    https://www.getzola.org/

  16. 16.

    https://cobalt-org.github.io/

  17. 17.

    https://rocket.rs/

  18. 18.

    https://github.com/seanmonstar/warp

  19. 19.

    https://gotham.rs/

  20. 20.

    https://github.com/carllerche/tower-web

  21. 21.

    http://github.com/iron/iron

  22. 22.

    https://nickel-org.github.io/

  23. 23.

    https://github.com/http-rs/tide

  24. 24.

    https://github.com/tomaka/rouille

  25. 25.

    https://github.com/thruster-rs/Thruster

  26. 26.

    https://tera.netlify.app/

  27. 27.

    https://github.com/cobalt-org/liquid-rust

  28. 28.

    https://github.com/djc/askama

  29. 29.

    https://github.com/bheisler/TinyTemplate

  30. 30.

    https://maud.lambda.xyz/

  31. 31.

    https://github.com/kaj/ructe

  32. 32.

    https://github.com/ivanceras/rustorm

  33. 33.

    https://github.com/blackbeam/rust-mysql-simple

  34. 34.

    https://github.com/sfackler/rust-postgres

  35. 35.

    https://github.com/mongodb/mongo-rust-driver

  36. 36.

    https://github.com/mitsuhiko/redis-rs

  37. 37.

    https://github.com/aisk/rust-memcache

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Shing Lyu

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Lyu, S. (2021). Developing Websites. In: Practical Rust Web Projects. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-6589-5_2

Download citation

Publish with us

Policies and ethics