Files
firezone/rust/logging/Cargo.toml
Thomas Eizinger ec2599d545 chore(rust): simplify stream logs feature (#9780)
Instead of conditionally enabling the `logs` feature in the Sentry
client, we always enable it and control via the `tracing` integration,
which events should get forwarded to Sentry. The feature-flag check
accesses only shared-memory and is therefore really fast.

We already re-evaluate feature flags on a timer which means this boolean
will flip over automatically and logs will be streamed to Sentry.
2025-07-04 14:51:53 +00:00

30 lines
870 B
TOML

[package]
name = "firezone-logging"
version = "0.1.0"
edition = { workspace = true }
authors = ["Firezone, Inc."]
publish = false
license = { workspace = true }
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = { workspace = true }
firezone-telemetry = { workspace = true }
nu-ansi-term = { workspace = true }
output_vt100 = { workspace = true }
parking_lot = { workspace = true }
sentry-tracing = { workspace = true }
supports-color = { workspace = true }
time = { workspace = true, features = ["formatting"] }
tracing = { workspace = true }
tracing-appender = { workspace = true }
tracing-log = { workspace = true }
tracing-subscriber = { workspace = true, features = ["env-filter"] }
[dev-dependencies]
tempfile = { workspace = true }
thiserror = { workspace = true }
[lints]
workspace = true