Use rustfmt to enforce consistent formatting
This change adds a .rustfmt.toml that includes ALL supported settings, 12 of which we have overridden to attempt to cater to our own proclivities. rustfmt is checked in the rust-nightly CI job.
This commit is contained in:
@@ -7,12 +7,15 @@ extern crate futures;
|
||||
extern crate tokio_io;
|
||||
|
||||
// HTTP types
|
||||
|
||||
extern crate http;
|
||||
|
||||
// Buffer utilities
|
||||
|
||||
extern crate bytes;
|
||||
|
||||
// Hash function used for HPACK encoding and tracking stream states.
|
||||
|
||||
extern crate fnv;
|
||||
|
||||
extern crate byteorder;
|
||||
@@ -43,4 +46,4 @@ pub mod server;
|
||||
pub use error::{Error, Reason};
|
||||
|
||||
#[cfg(feature = "unstable")]
|
||||
pub use codec::{Codec, SendError, RecvError, UserError};
|
||||
pub use codec::{Codec, RecvError, SendError, UserError};
|
||||
|
||||
Reference in New Issue
Block a user