71863753bd
This renames the existing `true`/`false` options to `Crate`/`Never`, then adds a new `Module` option which causes imports to be grouped together by their originating module.
17 lines
380 B
Rust
17 lines
380 B
Rust
// rustfmt-group_imports: StdExternalCrate
|
|
// rustfmt-imports_granularity: Crate
|
|
use alloc::{alloc::Layout, vec::Vec};
|
|
use core::f32;
|
|
use std::sync::Arc;
|
|
|
|
use broker::database::PooledConnection;
|
|
use chrono::Utc;
|
|
use juniper::{FieldError, FieldResult};
|
|
use uuid::Uuid;
|
|
|
|
use super::{
|
|
schema::{Context, Payload},
|
|
update::convert_publish_payload,
|
|
};
|
|
use crate::models::Event;
|