XAMPPRocky / octocrab

A modern, extensible GitHub API Client for Rust.
Other
1.06k stars 258 forks source link

Add PublicEvent and ReleaseEvent #589

Closed LuaKT closed 6 months ago

LuaKT commented 6 months ago

Hello, This adds the ReleaseEvent and PublicEvent from https://docs.github.com/en/rest/using-the-rest-api/github-event-types. The PublicEvent doesn't have a payload so I have used an empty struct, not sure if there's a better way to handle it.

Thanks!

XAMPPRocky commented 6 months ago

Thank you for your PR!