thinkingdata-core 0.1.1

Core implementation of the ThinkingData Analytics Rust SDK: data model, validation, and log/batch/debug consumers with blocking and async APIs.
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 = "2024"
name = "thinkingdata-core"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core implementation of the ThinkingData Analytics Rust SDK: data model, validation, and log/batch/debug consumers with blocking and async APIs."
readme = "README.md"
keywords = [
    "thinkingdata",
    "analytics",
    "sdk",
    "tracking",
    "te",
]
categories = ["api-bindings"]
license = "Apache-2.0"
repository = "https://github.com/houseme/thinkingdata"
resolver = "2"

[features]
async = ["dep:async-trait"]
blocking = []
default = ["blocking"]

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

[[example]]
name = "async_track"
path = "examples/async_track.rs"
required-features = ["async"]

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

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

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

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

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

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

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

[dependencies.async-trait]
version = "0.1.92"
optional = true

[dependencies.flate2]
version = "1.1.11"

[dependencies.jiff]
version = "1.0.0"

[dependencies.regex]
version = "1.13.1"

[dependencies.reqwest]
version = "0.13.5"
features = ["form"]

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

[dependencies.serde_json]
version = "1.0.154"

[dependencies.thiserror]
version = "2.0.21"

[dependencies.tokio]
version = "1.54.1"
features = [
    "macros",
    "rt-multi-thread",
    "sync",
    "time",
]

[dependencies.url]
version = "2.5.8"

[dependencies.uuid]
version = "1.29.3"
features = ["v4"]

[dev-dependencies.flate2]
version = "1.1.11"

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

[dev-dependencies.tokio]
version = "1.54.1"
features = [
    "macros",
    "rt-multi-thread",
    "sync",
    "time",
    "test-util",
]