summaryrefslogtreecommitdiff
path: root/.rustfmt.toml
diff options
context:
space:
mode:
authorAllen George <allen.george@gmail.com>2017-01-30 07:15:00 -0500
committerJames E. King, III <jking@apache.org>2017-04-27 08:46:02 -0400
commit0e22c362b967bd3765ee3da349faa789904a0707 (patch)
treecf7271e15659c1181abb6ed8c57b599d79d026f3 /.rustfmt.toml
parent9db23b7be330f47037b4e3e5e374eda5e38b0dfd (diff)
downloadthrift-0e22c362b967bd3765ee3da349faa789904a0707.tar.gz
THRIFT-4176: Implement threaded server for Rust
Client: rs * Create a TIoChannel construct * Separate TTransport into TReadTransport and TWriteTransport * Restructure types to avoid shared ownership * Remove user-visible boxing and ref-counting * Replace TSimpleServer with a thread-pool based TServer This closes #1255
Diffstat (limited to '.rustfmt.toml')
-rw-r--r--.rustfmt.toml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.rustfmt.toml b/.rustfmt.toml
new file mode 100644
index 000000000..2962d47aa
--- /dev/null
+++ b/.rustfmt.toml
@@ -0,0 +1,7 @@
+max_width = 100
+fn_args_layout = "Block"
+array_layout = "Block"
+where_style = "Rfc"
+generics_indent = "Block"
+fn_call_style = "Block"
+reorder_imported_names = true