[package]
name = "bloop-sdk"
version = "0.2.0"
edition = "2021"
description = "Bloop error reporting and LLM tracing SDK for Rust"
license = "MIT"
repository = "https://github.com/jaikoo/bloop-rust"
[dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = "1"
hmac = "0.12"
sha2 = "0.10"
hex = "0.4"
uuid = { version = "1", features = ["v4"] }
ureq = { version = "2", features = ["json"], optional = true }
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"], optional = true }
tokio = { version = "1", features = ["time", "sync", "rt"], optional = true }
async-openai = { version = "0.27", optional = true }
[features]
default = ["blocking"]
blocking = ["dep:ureq"]
async = ["dep:reqwest", "dep:tokio"]
openai = ["dep:async-openai", "async"]
[dev-dependencies]
tokio = { version = "1", features = ["full"] }