azalea-rs / azalea

A collection of Rust crates for making Minecraft bots, clients, and tools.
https://azalea.matdoes.dev
MIT License
403 stars 50 forks source link

Allow using `azalea-chat` without `azalea-buf` to avoid unstable features #58

Closed Nemo157 closed 1 year ago

Nemo157 commented 1 year ago

We'd like to use azalea-chat in a custom bot to render colored text, but using the stable compiler (https://github.com/booleancoercion/ferrisquery/pull/1). We're not relying on the azalea-buf functionality for this so just disabling that and relying on the json serialization works fine for us. I'm not sure whether this is something you'd want to support upstream, we're fine just relying on a fork if not.

This is technically a breaking change for any users that had azalea-chat.default-features = false and were relying on the `azalea-buf`` functionality.

mat-1 commented 1 year ago

Thank you! Breaking changes aren't an problem since all the crates are still in 0.x :)