Open RobbieMcKinstry opened 1 year ago
I'm also interested in contributing. PostHog is a great product but an incomplete Rust SDK degrades the experience somewhat.
+1
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
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.