[[bench]]
harness = false
name = "telemetry_benchmarks"
path = "benches/telemetry_benchmarks.rs"
[[bin]]
name = "telemetry-kit"
path = "src/bin/cli.rs"
required-features = ["cli"]
[dependencies.chrono]
features = ["serde"]
version = "0.4"
[dependencies.clap]
features = ["derive", "color", "suggestions"]
optional = true
version = "4.4"
[dependencies.colored]
optional = true
version = "2.1"
[dependencies.dialoguer]
optional = true
version = "0.11"
[dependencies.dirs]
version = "5.0"
[dependencies.hex]
version = "0.4"
[dependencies.hmac]
version = "0.12"
[dependencies.indicatif]
optional = true
version = "0.17"
[dependencies.machine-uid]
version = "0.5"
[dependencies.napi]
features = ["async", "tokio_rt"]
optional = true
version = "2.16"
[dependencies.napi-derive]
optional = true
version = "2.16"
[dependencies.rand]
version = "0.8"
[dependencies.reqwest]
features = ["json"]
version = "0.11"
[dependencies.rusqlite]
features = ["bundled"]
version = "0.30"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10"
[dependencies.telemetry-kit-macros]
optional = true
version = "0.3.0"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
features = ["full"]
optional = true
version = "1.35"
[dependencies.uuid]
features = ["v4", "serde"]
version = "1.6"
[dev-dependencies.criterion]
features = ["async_tokio"]
version = "0.5"
[dev-dependencies.proptest]
version = "1.4"
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.wiremock]
version = "0.6"
[[example]]
name = "auto_sync"
path = "examples/auto_sync.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "e2e_sync_test"
path = "examples/e2e_sync_test.rs"
[[example]]
name = "instrument_macro"
path = "examples/instrument_macro.rs"
[[example]]
name = "interactive_consent"
path = "examples/interactive_consent.rs"
[[example]]
name = "local_only"
path = "examples/local_only.rs"
[[example]]
name = "minimal_consent"
path = "examples/minimal_consent.rs"
[[example]]
name = "privacy"
path = "examples/privacy.rs"
[[example]]
name = "sync_example"
path = "examples/sync_example.rs"
[features]
cli = ["clap", "dialoguer", "indicatif", "colored", "tokio"]
default = ["sync", "privacy"]
macros = ["telemetry-kit-macros"]
napi-bindings = ["napi", "napi-derive", "tokio"]
privacy = []
sync = ["tokio"]
[lib]
name = "telemetry_kit"
path = "src/lib.rs"
[package]
authors = ["Ibrahim Cesar <email@ibrahimcesar.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools", "development-tools::profiling", "network-programming"]
description = "Privacy-first, batteries-included telemetry toolkit for Rust applications with OpenTelemetry"
documentation = "https://docs.telemetry-kit.dev"
edition = "2021"
homepage = "https://github.com/ibrahimcesar/telemetry-kit"
keywords = ["telemetry", "opentelemetry", "observability", "tracing", "metrics"]
license = "MIT OR Apache-2.0"
name = "telemetry-kit"
readme = "README.md"
repository = "https://github.com/ibrahimcesar/telemetry-kit"
rust-version = "1.75.0"
version = "0.3.0"
[[test]]
name = "privacy_integration"
path = "tests/privacy_integration.rs"
[[test]]
name = "sync_integration_test"
path = "tests/sync_integration_test.rs"