Our great sponsors
Solving Advent of Code with jq
Finally, if you still struggle with Advent of Code and have questions about that, feel free to post them here and avoid spoilers (please use >!spoiler!< to hide any parts of solutions you post, it looks like this).
derive(Error) for struct and enum error types
What is the benefit of splitting a proc-macro crate into (usually) two crates, proc_macro_crate and proc_macro_crate_impl? Why not just have one crate? Does it offer any benefits to to overall compilation times? An example of this can be seen in the thiserror crate where there's a thiserror and thiserror_impl crate.
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
An example of how to implement software licensing and device activation in an Electron application
I’m currently developing a commercial product with Rust and I was wondering what the best way to distribute and sell licenses for it is. Should I use a third party like keygen or is there an easy way I could get started on implementing my own. I’m out of my depth when it comes to software licensing so I figure I should ask before assuming it’s a task I can take on myself.
A Rust library for random number generation.
Some wasm targets can’t generate random numbers at all but in the case of the book because you are using wasm in a browser you can use JS to generate random numbers. I believe there’s a way to get the rand crate to use JS as the backend for generating rand but its a bit more convoluted than the easy one-liner that the book suggests.
🚀Memory safe, blazing fast, configurable, minimal hello world written in rust(🚀) in a few lines of code with few(1092🚀) dependencies🚀
https://github.com/mTvare6/hello-world.rs (ok maybe this one is a bit too much lol)
egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
I'd recommend giving egui a try: https://github.com/emilk/egui/. It aims to be very simple to use, and the repo contains several examples.
🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, SQLite, and MSSQL. (by launchbadge)
Datetime types are not supported in the MSSQL driver currently. We intend to fix that when transitioning it to SQLx Pro: https://github.com/launchbadge/sqlx/discussions/1616
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
What’s everyone working on this week (48/2022)?
15 projects | reddit.com/r/rust | 28 Nov 2022
What could be a first project in rust?
3 projects | reddit.com/r/rust | 6 Nov 2022
Planning to make a video on cool Rust apps focused on the end user. Make recommendations!
38 projects | reddit.com/r/rust | 2 Nov 2022
I would like to code in Rust. What can you suggest?
4 projects | reddit.com/r/rust | 4 Dec 2021
Why use Rust on the back end?
5 projects | news.ycombinator.com | 20 Mar 2023