polyphony-chat / chorus

A Rust library for interacting with multiple Polyphony- and Spacebar-Compatible instances at once.
https://crates.io/crates/chorus
Mozilla Public License 2.0
16 stars 7 forks source link

Fix failing build w/o client and move ratelimits #426

Closed kozabrada123 closed 12 months ago

kozabrada123 commented 12 months ago

Chorus does not compile without the client feature rn: cargo build --no-default-features

For more information about this error, try `rustc --explain E0432`.
error: could not compile `chorus` (lib) due to 11 previous errors

This is because some types are reliant on client gated code.

This pr fixes that by:

kozabrada123 commented 12 months ago

(Requesting a review since these are pretty major changes)