mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-09 03:20:56 +00:00
Extract telemetry from fabro-util into a dedicated fabro-telemetry crate. Replace the synchronous Telemetry struct with a global background buffer that flushes periodically via blocking HTTP (mid-run) and detached subprocess (final flush at exit). The new API is init_cli()/track!()/shutdown(). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
30 lines
629 B
TOML
30 lines
629 B
TOML
[package]
|
|
name = "fabro-util"
|
|
edition.workspace = true
|
|
version.workspace = true
|
|
license.workspace = true
|
|
description = "Shared utilities: secret redaction and terminal styling"
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
console.workspace = true
|
|
regex.workspace = true
|
|
termimad.workspace = true
|
|
aho-corasick.workspace = true
|
|
serde_json.workspace = true
|
|
serde.workspace = true
|
|
tokio.workspace = true
|
|
dirs.workspace = true
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
anyhow.workspace = true
|
|
|
|
[build-dependencies]
|
|
toml = "0.8"
|
|
serde = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
insta = { workspace = true }
|
|
tempfile = "3"
|