fmt update?
Signed-off-by: pep <pep@bouah.net>
This commit is contained in:
parent
1c3af01142
commit
caa92227b2
5 changed files with 5 additions and 5 deletions
|
|
@ -13,8 +13,8 @@
|
|||
// You should have received a copy of the GNU Affero General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use crate::hooks::{format_hook, Hook};
|
||||
use crate::Error;
|
||||
use crate::hooks::{Hook, format_hook};
|
||||
|
||||
use log::debug;
|
||||
use tokio::{signal::ctrl_c, sync::mpsc};
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@
|
|||
// You should have received a copy of the GNU Affero General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use crate::Error;
|
||||
use crate::hooks::types::{
|
||||
Commit, Hook, Issue, IssueAction, IssueAttrs, Note, Push, Repository, User,
|
||||
};
|
||||
use crate::Error;
|
||||
|
||||
pub use ::forgejo_hooks::{Hook as ForgejoHook, Issue as FjIssue, IssueAction as FjIssueAction};
|
||||
|
||||
|
|
|
|||
|
|
@ -15,11 +15,11 @@
|
|||
|
||||
#![allow(deprecated)]
|
||||
|
||||
use crate::Error;
|
||||
use crate::hooks::types::{
|
||||
Commit, Hook, Issue, IssueAction, IssueAttrs, MergeRequest, MergeRequestAction,
|
||||
MergeRequestAttrs, Note, Push, Repository, User, Wiki, WikiAction,
|
||||
};
|
||||
use crate::Error;
|
||||
|
||||
pub use ::gitlab::webhooks::{
|
||||
CommitHookAttrs, IssueAction as GlIssueAction, IssueHook as GlIssueHook,
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ use crate::hooks::Hook;
|
|||
use crate::web::hooks;
|
||||
|
||||
use camino::Utf8PathBuf;
|
||||
use clap::{command, value_parser, Arg};
|
||||
use clap::{Arg, command, value_parser};
|
||||
use hyper::{server::conn::http1, service::service_fn};
|
||||
use hyper_util::rt::tokio::{TokioIo, TokioTimer};
|
||||
use log::error;
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ use std::io::Read;
|
|||
use bytes::{Buf, Bytes};
|
||||
use hmac::{Hmac, Mac};
|
||||
use http_body_util::{BodyExt, Full};
|
||||
use hyper::{body::Incoming, header, Method, Request, Response};
|
||||
use hyper::{Method, Request, Response, body::Incoming, header};
|
||||
use log::{debug, error, trace};
|
||||
use sha2::Sha256;
|
||||
use tokio::sync::mpsc::UnboundedSender;
|
||||
|
|
|
|||
Loading…
Reference in a new issue