logoalt Hacker News

diziettoday at 9:26 AM2 repliesview on HN

I am fully aware what Cargo.lock is. What I am surprised at is how many dependencies there are.


Replies

kaoDtoday at 9:37 AM

Sorry, the wording confused me.

The project itself seems to be structued around 1.4k micro-crates[0] which I admit is a bit weird. Rust's compilation unit is the crate unlike C's per-file compilation unit, so if this was a 1:1 AI-assisted translation from the original Postgres source this might be an artifact of the translation.

[0] https://github.com/malisper/pgrust/blob/main/Cargo.toml

show 1 reply
r_leetoday at 9:51 AM

it's like node_modules but cooler