make library

This commit is contained in:
programmer programmer 2022-10-24 17:27:48 +02:00
parent 7ebbdfc031
commit f78257a1fc
2 changed files with 17 additions and 0 deletions

View File

@ -3,6 +3,14 @@ name = "qbt"
version = "0.1.0"
edition = "2021"
[lib]
name = "qbt"
path = "src/lib.rs"
[[bin]]
name = "qbt"
path = "src/main.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

9
src/lib.rs Normal file
View File

@ -0,0 +1,9 @@
pub mod action;
pub mod api;
pub mod config;
pub use config::Config;
pub mod cli;
pub use cli::Cli;
pub mod error;
pub use crate::error::{Error, ConfigSnafu as ConfigError};
pub mod utils;