fabro/lib/crates/fabro-config/Cargo.toml
Bryan Helmkamp 906868c30c
drop unused test-support feature from fabro-config
SettingsLayer::{test_default, ensure_test_auth_methods} are `pub(crate)`
and only called from fabro-config's own in-crate tests, but their impl
block was gated on `cfg(any(test, feature = "test-support"))`. No
external crate enabled the `test-support` feature, so under
`--all-features` the methods compiled in without reachable callers and
clippy flagged them as dead code. Narrow the gate to `cfg(test)` and
drop the vestigial feature entry.

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

41 lines
917 B
TOML

[package]
name = "fabro-config"
edition.workspace = true
version.workspace = true
publish = false
license.workspace = true
description = "Centralized configuration types for Fabro"
[lib]
doctest = false
[features]
default = []
clap = ["dep:clap", "fabro-types/clap"]
[lints]
workspace = true
[dependencies]
anyhow.workspace = true
clap = { workspace = true, optional = true }
chrono.workspace = true
fabro-macros = { path = "../fabro-macros" }
fabro-proc = { path = "../fabro-proc" }
fabro-types = { path = "../fabro-types" }
fabro-util = { path = "../fabro-util" }
dirs.workspace = true
ipnet = "2.11.0"
serde.workspace = true
serde_json.workspace = true
strsim = "0.11"
tempfile = "3"
toml.workspace = true
tracing.workspace = true
thiserror.workspace = true
ulid.workspace = true
[dev-dependencies]
toml.workspace = true
fabro-types = { path = "../fabro-types", features = ["test-support"] }
temp-env = "0.3"