PostHog / posthog-rs

MIT License
11 stars 10 forks source link

Accepting Community PRs? #6

Open RobbieMcKinstry opened 1 year ago

RobbieMcKinstry commented 1 year ago

Hello!

Is this repository accepting community PRs? If so, please consider adding a CONTRIBUTING.md file or instructions in the README to guide community members toward making fruitful contributions ^.^ . Some questions worth answering:

It wouldn't take much to improve the surface area of the library. For example, I'm running an Axum webserver, which requires an async runtime. This library doesn't seem to work in an async context because the blocking client drops a held runtime, which isn't allowed. It would be possible to fix this by using a non-blocking reqwest client.

joshua-mo-143 commented 3 months ago

I'm also interested in contributing. PostHog is a great product but an incomplete Rust SDK degrades the experience somewhat.

djmango commented 2 months ago

+1

joshua-mo-143 commented 2 months ago

I found out that you can generate an OpenAPI client library using the OpenAPI generator as Posthog has an OpenAPI spec.

For other things, Shuttle has a fork of posthog-rs that includes an async client: https://github.com/shuttle-hq/posthog-rs