Closed kozabrada123 closed 12 months ago
Chorus does not compile without the client feature rn: cargo build --no-default-features
client
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:
Removing the feature lock for gateway, as traits like Updateable are imported in lots of types
Updateable
Moving the ratelimits types from api (which is client locked) to types/entities
api
types/entities
(Requesting a review since these are pretty major changes)
Chorus does not compile without the
client
feature rn:cargo build --no-default-features
This is because some types are reliant on client gated code.
This pr fixes that by:
Removing the feature lock for gateway, as traits like
Updateable
are imported in lots of typesMoving the ratelimits types from
api
(which isclient
locked) totypes/entities