fabro/lib/crates/fabro-util/Cargo.toml
Bryan Helmkamp 0781e3a2c1
test(cli): suppress browser launch under spawned fabro test subprocesses
Add FABRO_SUPPRESS_OPEN_BROWSER env knob via fabro_util::browser::try_open.
apply_test_isolation now sets it, so install-mode and auth-login tests that
spawn a real fabro binary no longer pop real browser windows. All six
open::that call sites route through the helper; consolidates the direct
open crate dep into fabro-util.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-22 07:50:34 -04:00

36 lines
704 B
TOML

[package]
name = "fabro-util"
edition.workspace = true
version.workspace = true
publish = false
license.workspace = true
description = "Shared utilities: secret redaction and terminal styling"
[lib]
doctest = false
[lints]
workspace = true
[dependencies]
console.workspace = true
rand.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
open = "5"
[build-dependencies]
toml = "0.8"
serde = { workspace = true }
[dev-dependencies]
insta = { workspace = true }
tempfile = "3"