rust/tests/target/configs/group_imports/StdExternalCrate-merge_imports.rs
Geoffry Song 71863753bd Rename merge_imports to imports_granularity and add a Module option.
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.
2021-01-17 11:48:47 -06:00

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;