Our great sponsors
-
rust-analyzer
Discontinued A Rust compiler front-end for IDEs [Moved to: https://github.com/rust-lang/rust-analyzer] (by rust-analyzer)
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
sqlx
🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite. (by launchbadge)
-
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.
-
tokio
A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
In that case, you can make a rustfmt.toml file and use the ignore configuration option.
I guess likely related to this: https://github.com/rust-analyzer/rust-analyzer/issues/4881
The associated items RFC discusses the difference between input and output types: https://github.com/rust-lang/rfcs/blob/master/text/0195-associated-items.md#clearer-trait-matching
Has anyone tried using rocket and sqlx together? I can't seem to get it working.
From what I understand is that rocket uses tokio.
You can use "Autoref-based stable specialization" or use/mimic the impls crate.
Take a look at egui, it works with pretty much any graphics API (though I don't know why you'd want to use raw unsafe openGL, instead of wgpu).
I found https://crates.io/crates/cached if anyone's interested
When I attempt to use the git path as a dependency for Tokio with `tokio = { git = "https://github.com/tokio-rs/tokio.git" }` instead of simply using the crate with `tokio = "1.3.0"`, I can't get it to work.
It's open source, so you should be able to host your own version: https://github.com/integer32llc/rust-playground
Is that correct? I've written down what I understand as a comment in my code: https://github.com/doup/sdf_2d/blob/master/src/sdf.rs#L13-L18 Is the explanation correct?
If you want some small exercises as you learn: https://github.com/rust-lang/rustlings
The tutorial uses tun_tap but that doesn't work on OS X. there is a fork, but that doesn't seem to work either. Here is my code:
My current end goal is to make a raw Rust binding for libopusenc (it's not the same as just opus, it implements some useful functionality on top of it, and as far as I know, no existing bindings exist for it yet, so I'm thinking of how I can do it).