Our great sponsors
-
It looks to be the same for all the tracing crates. They bump the version in a detached commit and tag it: https://github.com/tokio-rs/tracing/blob/tracing-subscriber-0.3.15/tracing-subscriber/Cargo.toml
-
Maybe phf will come handy?
-
Mergify
Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.
-
rkyv is awesome because it supports full zero-copy deserialization. You can serialize your HashMap to a file. Later you can directly use the HashMap from the file without creating and populating a new HashMap in memory (rkyv directly indexes into the raw bytes). For even faster access times you can even mmap the file.
-
My problem is that both ceph and the rust crate in question utilize the rocksdb store (in rust I use this one) and when I try compiling the project I get multiple definition errors since both the C++ rocksdb and Rust rocksdb are exposing the same functions.
-
-
I'm playing around with the SeaORM implementation of rocket, here, and noticed that the database connection is passed around as a Fairing, however, in the official step by step tutorial, the database connection is managed by state here.
-
I know everyone is different, but hoping to get an approximate idea: how long should it take me to go through the official rust book https://doc.rust-lang.org/book/ ?
-
InfluxDB
Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
-
I see there's even a report for that - https://github.com/serde-rs/serde/issues/2277 - but considering the timeline I guess it might be your own! 😅
-
However, while googling around I found a fork of xdg-utils (where xdg-open comes from) and with it, this script: https://github.com/matthewbauer/xdg-utils-ng/blob/master/scripts/xdg-file-dialog
-
Is there a way to get an accurate line count and compile time? For example https://github.com/alacritty/alacritty. It takes ~50s to compile on my machine. I can't figure out the line count when it includes dependencies
-
My approach would be to use Tokei to count LOC and cargo-tree(1) to find dependencies. You can then locate the dependencies in the registry and count each of their LOC, then combine the results.