Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
micrograd
A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API
Is there a standard crate / tool / practice for simplistic logging with Tokio? I presume it's tokio-tracing but there seems to be many bells and whistles when I'm looking for what amounts to essentially an async stderr with concurrent buffering.
I've been reading through the rocket.rs code to try and figure this out, but if anyone knows how this works for actix web, it would be just as helpful.
The Diesel getting started guide is explicitly written for using PostgreSQL as your database system. It is using some parts of SQL that are not supported by SQLite. You can follow the equivalent SQLite code by looking at this diesel example. In the concrete case that error is caused by the fact that only quite new SQLite versions support returning clauses. These support is behind an off-by-default feature flag and requires using an up to date SQLite version.
I've been trying to reimplement Karpathy's micrograd library in rust as a fun side project.
Apart from clippy (which uses rustc-internal APIs), there are two other projects which can be used to implement lints: rust-analyzer can be extended with more diagnostics, and dylint provides an interface to run custom lints for Rust.