-
Ah thanks, yup the last comment in https://github.com/rust-lang/rust/issues/20671 is a much more concise version of my issue :)
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
I build on x86, for aarm64/armv7 musl targets, using cross-rs. My issue is, forever and always, tls. Previously I just used openssl = { version = '0.10', features = ["vendored"] } in Cargo.toml.
-
tokio-tungstenite
Future-based Tungstenite for Tokio. Lightweight stream-based WebSocket implementation
I'm using another crate that requires tls, specifically tokio-tungstenite, I'll try your suggestions later today once I get home
-
I'm trying to get a basic Rust webassembly program, then porting it to C via wasm2c. The example works, but when I use wasm-bindgen and analyze it with wasm2wat, I get an import "env". The issue is that in C (wasm2c) it comes out as struct Z_env_instance_t; and I can't instantiate it (as in Z_env_instance_t env; to pass it's address to Z_wasm_client_bg_instantiate.
-
The code I wrote works correctly https://gitlab.com/Boiethios/moonlander-firmware/-/blob/dev/src/bootload.rs but I wondered how bad it is, that is, how it violates the Rust memory model. You've already answered that part, though, thanks for the answer :)
-
Yes, some cases are not yet supported (https://github.com/rust-lang/rustfmt/issues/4914).
-
Kategory
The perfect companion for your Kotlin journey - Inspired by functional, data-oriented and concurrent programming (by arrow-kt)
Are there any more-or-less established functional crates in Rust (similar to Kotlin’s Arrow)?
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Dunno about existing implementations, but it looks like it's a feature they'd accept: https://github.com/orlp/slotmap/issues/73
-
There's a crate with a handy guide for doing just that: https://cxx.rs/
-
serde-aux
An auxiliary serde library providing helpful functions for serialisation and deserialisation for containers, struct fields and others.
If you want to additionally parse strings into numbers, take a look at https://github.com/vityafx/serde-aux (or write a custom deserializer, ofc.).
-
We've built kanin for our use at Issuu. It's working very well for our servers! We are maintaining it, though it fulfills most of our own requirements at the moment. Feel free to post issues/PRs. Kanin only takes care of the server side though.
-
I ended up writing what I called an `AutoFuture`. It takes a `dyn Future`, boxes it, and then polls it to completion. The code is here. It works well for my needs.
-
some time later.. something like this, and I've added a repo in case I mess around with this in the future.
-
You can add #[repr(transparent)] and then call transmute(), or use https://github.com/dtolnay/ref-cast (which is exactly what it does anyway, providing a safe interface).
-
It's quite the different approach, but you could consider using bindgen instead.
-
jlox-rs
Following along the first (Java) part of https://craftinginterpreters.com/, but with Rust, because reasons.
I decided to peak at some other implementation of this project and I saw this https://github.com/abesto/jlox-rs/blob/main/src/ast.rs.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives