Skip to content

Commit

Permalink
signing: remove feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
pylbrecht committed Nov 16, 2024
1 parent e595491 commit 13bce77
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ pub mod stacked_table;
pub mod store;
pub mod str_util;
pub mod submodule_store;
#[cfg(feature = "testing")]
pub mod test_signing_backend;
pub mod time_util;
pub mod transaction;
Expand Down
5 changes: 1 addition & 4 deletions lib/src/signing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,12 +183,9 @@ impl Signer {
Box::new(GpgBackend::from_config(settings.config())) as Box<dyn SigningBackend>,
Box::new(SshBackend::from_config(settings.config())) as Box<dyn SigningBackend>,
// Box::new(X509Backend::from_settings(settings)?) as Box<dyn SigningBackend>,
Box::new(TestSigningBackend) as Box<dyn SigningBackend>,
];

if cfg!(feature = "testing") {
backends.push(Box::new(TestSigningBackend) as Box<dyn SigningBackend>);
}

let main_backend = settings
.signing_backend()
.map(|backend| {
Expand Down

0 comments on commit 13bce77

Please sign in to comment.