diff --git a/Cargo.toml b/Cargo.toml index 251adfa..479bbaf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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] diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..73cb595 --- /dev/null +++ b/src/lib.rs @@ -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;