From 9486cb0653034429ce9cb940d91a311a53e6afc1 Mon Sep 17 00:00:00 2001 From: Paul-Christian Volkmer Date: Sat, 4 Jan 2025 15:34:27 +0100 Subject: [PATCH] refactor: move implementation into lib.rs --- src/{chain.rs => lib.rs} | 0 src/main.rs | 3 +-- 2 files changed, 1 insertion(+), 2 deletions(-) rename src/{chain.rs => lib.rs} (100%) diff --git a/src/chain.rs b/src/lib.rs similarity index 100% rename from src/chain.rs rename to src/lib.rs diff --git a/src/main.rs b/src/main.rs index 464babe..6b391a1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -17,16 +17,15 @@ * along with this program. If not, see . */ -mod chain; mod cli; -use crate::chain::{print_cert, Chain, PrivateKey}; use crate::cli::{Cli, SubCommand}; use clap::Parser; use console::style; use itertools::Itertools; use std::cmp::Ordering; use std::path::Path; +use cert_tools::{print_cert, Chain, PrivateKey}; fn main() -> Result<(), ()> { let cli = Cli::parse();