make library
This commit is contained in:
parent
7ebbdfc031
commit
f78257a1fc
|
@ -3,6 +3,14 @@ name = "qbt"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
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
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
9
src/lib.rs
Normal file
9
src/lib.rs
Normal 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;
|
Loading…
Reference in New Issue
Block a user