posthog-rs 0.5.2

The official Rust client for Posthog (https://posthog.com/).
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
rust-version = "1.78.0"
name = "posthog-rs"
version = "0.5.2"
authors = ["PostHog <engineering@posthog.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The official Rust client for Posthog (https://posthog.com/)."
readme = "README.md"
license = "MIT"
repository = "https://github.com/posthog/posthog-rs"

[features]
async-client = ["tokio"]
default = ["async-client"]
e2e-test = []

[lib]
name = "posthog_rs"
path = "src/lib.rs"

[[example]]
name = "advanced_config"
path = "examples/advanced_config.rs"

[[example]]
name = "feature_flags"
path = "examples/feature_flags.rs"

[[example]]
name = "local_evaluation"
path = "examples/local_evaluation.rs"

[[test]]
name = "test"
path = "tests/test.rs"

[[test]]
name = "test_async"
path = "tests/test_async.rs"

[[test]]
name = "test_blocking"
path = "tests/test_blocking.rs"

[[test]]
name = "test_local_evaluation"
path = "tests/test_local_evaluation.rs"

[dependencies.chrono]
version = "0.4.19"
features = ["serde"]

[dependencies.derive_builder]
version = "0.20.2"

[dependencies.regex]
version = "1.10"

[dependencies.reqwest]
version = "0.13.2"
features = [
    "rustls",
    "blocking",
    "json",
    "gzip",
]
default-features = false

[dependencies.semver]
version = "1.0.24"

[dependencies.serde]
version = "1.0.125"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.64"

[dependencies.sha1]
version = "0.10"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "sync",
    "time",
    "macros",
]
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1.13.2"
features = [
    "serde",
    "v7",
]

[dev-dependencies.ctor]
version = "0.1.26"

[dev-dependencies.dotenv]
version = "0.15.0"

[dev-dependencies.futures]
version = "0.3"

[dev-dependencies.httpmock]
version = "0.7"

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.tokio]
version = "1"
features = ["full"]

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]