this post was submitted on 12 Oct 2024
31 points (100.0% liked)
Rust
5999 readers
20 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Some shallow observations without really getting into the code:
misc
labeler/ResNet50_nsfw_model.pth
in the repository really necessary?(I like my
--filter=tree:0
clones to be maximally fast and small.)rsky-crypto
anyhow
in library code.multibase
dependency much either. I know thatbase64
at least got re-written since that crate's last update (Nov 6, 2020).rsky-feedgen
serde_cbor
is long dead (I was a user myself).serde_cbor
andserde_ipld_dagcbor
are dependencies anyway.lazy_static
toonce_cell
a long time ago. And your use is available in std on stable Rust today.rsky-firehose
$CURRENT_YEAR
is meh anyway. But I guess that comes from IPLD.rsky-identity
anyhow
in library code.rsky-pds
*base*
dependencies does one need? All of them of course!rsky-syntax
lazy_static
andanyhow
again.That's all from a code organization and ecosystem PoV. Otherwise, things look normal and not fancy (which is good).
Unfortunately, I don't have the time to look beyond that at this moment.
Appreciate the review! I’ve forwarded it to the dev :)