diff --git a/README.md b/README.md index d0b922b..4a0a69f 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,9 @@ actix-web-grants

+![Crates.io](https://img.shields.io/crates/v/post_maker?color=%23069060&style=for-the-badge) +![Crates.io](https://img.shields.io/crates/l/post_maker?style=for-the-badge) + > Post Maker helps you to make post for instagram and other social media apps easily and in massive amount. ## Installing diff --git a/src/dialog.rs b/src/dialog.rs index b6fbe7e..2aca064 100644 --- a/src/dialog.rs +++ b/src/dialog.rs @@ -1,3 +1,17 @@ +/* + This file is part of Post Maker. + Post Maker is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + Post Maker is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + You should have received a copy of the GNU General Public License + along with Post Maker. If not, see +*/ + pub(crate) use fltk::dialog::{color_chooser_with_default, ColorMode}; use fltk::{app::get_mouse, dialog}; diff --git a/src/macros.rs b/src/macros.rs index 3dd30ad..fd6e789 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -1,3 +1,17 @@ +/* + This file is part of Post Maker. + Post Maker is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + Post Maker is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + You should have received a copy of the GNU General Public License + along with Post Maker. If not, see +*/ + #[macro_export] macro_rules! rw_read { ($var:expr) => { diff --git a/src/result_ext.rs b/src/result_ext.rs index 77be7ad..1e6c1b3 100644 --- a/src/result_ext.rs +++ b/src/result_ext.rs @@ -1,6 +1,19 @@ -use std::{fmt::Debug, panic::Location}; +/* + This file is part of Post Maker. + Post Maker is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + Post Maker is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + You should have received a copy of the GNU General Public License + along with Post Maker. If not, see +*/ use crate::utils; +use std::{fmt::Debug, panic::Location}; pub trait ResultExt { fn expect_log(self, msg: &str) -> T;