sugyan / atrium

Rust libraries for Bluesky's AT Protocol services.
MIT License
218 stars 26 forks source link

Fix firehose example #258

Open Uinelj opened 1 day ago

Uinelj commented 1 day ago

the firehose example currently transitively has dependencies on two versions of cid: v0.10.1 and v0.11.1, which have different types for Cid.

This PR doesn't fix the root issue (haven't had the time to drill down), but adds a newtype + a dependency on the example to convert from the old cid to the new cid. It's merely a band-aid but I think it's important to keep examples working, as it is a great way of getting started.

Thanks a lot for the library btw :)