someguynamedjosh / ouroboros

Easy self-referential struct generation for Rust.
Apache License 2.0
524 stars 33 forks source link

Remove dependency on the `itertools` crate #109

Closed dnaka91 closed 3 months ago

dnaka91 commented 7 months ago

This crate was only used in two small places in the ouroboros_macro crate which could be easily replaced with stdlib variants.

Removing it might help compile times a bit.

Found this rather randomly as I wondered why itertools shows up in my depedency tree, saw the macro crate uses it and replaced it as I saw the few places where it's used are trivial.

Boshen commented 3 months ago

@someguynamedjosh Do you mind publishing a new release for this? This should reduce our compilation speed by a little bit. Cheers!