From fdc1cc7bc3d237ef4976f9f9d2ffc09b7ba164d5 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 1 Aug 2020 15:32:17 +0200 Subject: 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. --- github-suggestion/src/lib.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 github-suggestion/src/lib.rs (limited to 'github-suggestion/src/lib.rs') diff --git a/github-suggestion/src/lib.rs b/github-suggestion/src/lib.rs new file mode 100644 index 0000000..c082736 --- /dev/null +++ b/github-suggestion/src/lib.rs @@ -0,0 +1,11 @@ +#![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; -- cgit v1.2.3