-
Notifications
You must be signed in to change notification settings - Fork 889
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
ExternalCrate
import grouping style
This creates two groups: 1. `std`, `core`, `alloc` and external crates, 2. `self`, `super` and `crate` imports.
- Loading branch information
1 parent
34f9ca2
commit b036bb4
Showing
5 changed files
with
81 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// rustfmt-group_imports: ExternalCrate | ||
use chrono::Utc; | ||
use super::update::convert_publish_payload; | ||
|
||
use juniper::{FieldError, FieldResult}; | ||
use uuid::Uuid; | ||
use alloc::alloc::Layout; | ||
|
||
use std::sync::Arc; | ||
|
||
use broker::database::PooledConnection; | ||
|
||
use super::schema::{Context, Payload}; | ||
use core::f32; | ||
use crate::models::Event; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// rustfmt-group_imports: ExternalCrate | ||
use alloc::alloc::Layout; | ||
use broker::database::PooledConnection; | ||
use chrono::Utc; | ||
use core::f32; | ||
use juniper::{FieldError, FieldResult}; | ||
use std::sync::Arc; | ||
use uuid::Uuid; | ||
|
||
use super::schema::{Context, Payload}; | ||
use super::update::convert_publish_payload; | ||
use crate::models::Event; |