Skip to content

Commit

Permalink
import args mod directly in main.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
tbro committed Nov 2, 2023
1 parent 3611a1f commit faaee63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion rustls-cert-gen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
//! applications that verify chain of trust. It can be used for
//! whatever purpose you may need a TLS certificate-chain.
pub mod args;
mod cert;
pub use cert::{BuildParams, Cert};

Expand Down
3 changes: 2 additions & 1 deletion rustls-cert-gen/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use rustls_cert_gen::{args, BuildParams, Cert, Result};
use rustls_cert_gen::{BuildParams, Cert, Result};
mod args;

fn main() -> Result<()> {
let opts = args::options().run();

Check warning on line 5 in rustls-cert-gen/src/main.rs

View check run for this annotation

Codecov / codecov/patch

rustls-cert-gen/src/main.rs#L4-L5

Added lines #L4 - L5 were not covered by tests
Expand Down

0 comments on commit faaee63

Please sign in to comment.