diff options
author | Teddy Wing | 2020-08-01 15:32:17 +0200 |
---|---|---|
committer | Teddy Wing | 2020-08-01 15:32:17 +0200 |
commit | fdc1cc7bc3d237ef4976f9f9d2ffc09b7ba164d5 (patch) | |
tree | 4dc68f07d4a2e7ad8193f2b5f9a90c9fe6792aec /src/lib.rs | |
parent | b218abebdf8a0aed73bfe6f61ab22e51a0f2f43c (diff) | |
download | git-suggestion-fdc1cc7bc3d237ef4976f9f9d2ffc09b7ba164d5.tar.bz2 |
Move library to a separate crate
Keep the binaries in the root crate, and add a new crate for the
`github-suggestion` library.
I want to add some library code to the CLI programs to extract common
functionality between the different binaries.
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/lib.rs b/src/lib.rs deleted file mode 100644 index c082736..0000000 --- a/src/lib.rs +++ /dev/null @@ -1,11 +0,0 @@ -#![warn(rust_2018_idioms)] - - -pub mod client; -pub mod suggestion; - -mod url; - -pub use crate::client::Client; -pub use crate::suggestion::Suggestion; -pub use crate::url::SuggestionUrl; |