ruma / synapse-admin-api

Ruma API declarations for the synapse admin API
MIT License
8 stars 5 forks source link

feat: Shared-secret MAC calculation #16

Closed stoically closed 2 years ago

stoically commented 2 years ago

I've put the whole requests behind the feature gate, as the request can't be made without the MAC at all.

Wondering, is compiling all features here part of the github workflow, since that doesn't seem to be the case? As otherwise it might break easily in the future.

Follow-up from https://github.com/matrix-org/matrix-rust-sdk/issues/929#issuecomment-1213042513

stoically commented 2 years ago

On the other hand, maybe consumers want to calculate the MAC themselves for some reason. So I'll change the feature gate.