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.
Does anybody know any interesting details about how crates.io publishing works? And what the best way is to properly vet Rust source code pulled from crates.io?
And finally, you can try to think about another design. Rust penalizes certain programming patterns a lot so it is usually better to just avoid them. If you are writing a game you might want to consider the ECS pattern, see for example this video: https://youtu.be/aKLntZcp27M It has been used with great succes in the Bevy engine: https://bevyengine.org
Here's the repo with all the "working" code so far, with the suspect code being the one in Chunk::try_from<&[u8]> in chunk.rs, which is called by Png::try_from<&[u8]> in png.rs.