[package]
name = "thinkingdata"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
keywords.workspace = true
categories.workspace = true
description = "Rust SDK for ThinkingData Analytics (TE): API entry (blocking & async) plus the `thinkingdata` CLI. Functional logic lives in thinkingdata-core."
[features]
default = ["blocking"]
blocking = ["thinkingdata-core/blocking", "dep:clap"]
async = ["thinkingdata-core/async"]
full = ["blocking", "async"]
[dependencies]
clap = { workspace = true, optional = true }
serde_json = { workspace = true }
thinkingdata-core = { workspace = true }
[[bin]]
name = "thinkingdata"
path = "src/main.rs"
required-features = ["blocking"]
[[example]]
name = "quickstart"
required-features = ["blocking"]