Our great sponsors
-
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.
-
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.
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?
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/ ?
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.