hedgehog-rs

Crates.iohedgehog-rs
lib.rshedgehog-rs
version0.1.8
sourcesrc
created_at2024-05-04 17:05:16.902349
updated_at2024-06-14 17:45:11.967054
descriptionA simple Rust library for interacting with the Posthog API.
homepage
repositoryhttps://github.com/villainwtf/hedgehog
max_upload_size
id1229710
size32,613
(vaperion)

documentation

README

Hedgehog

Hedgehog is a Rust library designed to make it easy to interact with the Posthog API, a powerful open-source product analytics platform.

Notice

This repository contains software that was originally developed for internal use by our organization. We have chosen to open-source this software in the hopes that it may be of use to others.

Please note the following important points:

  • While we are making this software available to the public, we will not be providing external support. If you choose to use this software, please understand that you do so entirely at your own risk. The source code is available for you to use and modify as you wish, within the bounds of the included license.

Why Hedgehog?

There already exists a few Rust libraries for interacting with the Posthog API, but we found them all to be lacking in some way:

  • We wanted a library that was easy to use, and that provided a simple interface for interacting with the API.
  • The official library is a very basic SDK that only has support for capturing events, and is not actively maintained.
  • Other libraries we found were either incomplete, or lacked an async interface.

Supported Posthog Features

  • Identify users
  • Capture events
  • Capture events in batch
  • Record page views
  • Record screen views
  • Evaluate feature flags
  • Include feature flag information when capturing events
  • Feature flag called event
  • Override GeoIP information when capturing events based on IP address
  • Early access features retrieval
  • Early access feature enrollment
Commit count: 10

cargo fmt