Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ firma-protobuf = "0.1.1"
firma-run = { path = "crates/firma-run" }
firma-sidecar = { path = "crates/firma-sidecar" }
firma-stack = { path = "crates/firma-stack" }
fs-err = "3"
governor = "0.10"
hex = "0.4"
http-body = "1"
Expand Down
2 changes: 2 additions & 0 deletions crates/firma-config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ workspace = true
clap = ["dep:clap"]

[dependencies]
anyhow = { workspace = true }
clap = { workspace = true, optional = true, features = ["derive"] }
dirs = { workspace = true }
fs-err = { workspace = true }
serde = { workspace = true }
thiserror = { workspace = true }
toml = { workspace = true }
Expand Down
6 changes: 1 addition & 5 deletions crates/firma-config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,12 @@
//! paths. Fail-closed: no silent fallback to an empty config.

mod profile;
mod provider;
mod resolver;
mod schema;

/// Canonical config file name shared by every binary.
pub const CONFIG_FILE_NAME: &str = "firma.toml";
/// Application subdir under a platform config root (e.g. `~/.config/firma`).
pub const CONFIG_SUBDIR: &str = "firma";

pub use profile::AgentProfile;
pub use provider::{DirProvider, SystemDirs};
pub use resolver::{ConfigResolveError, ConfigSource, ResolvedConfig, resolve_config};
pub use resolver::{ConfigResolveError, ConfigSource, ResolvedConfig, SystemDirs};
pub use schema::{FirmaConfig, load_section};
59 changes: 0 additions & 59 deletions crates/firma-config/src/provider.rs

This file was deleted.

Loading
Loading