summaryrefslogtreecommitdiffstats
path: root/third_party/rust/interrupt-support/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/interrupt-support/src/lib.rs')
-rw-r--r--third_party/rust/interrupt-support/src/lib.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/third_party/rust/interrupt-support/src/lib.rs b/third_party/rust/interrupt-support/src/lib.rs
new file mode 100644
index 0000000000..6d2ef8f8e5
--- /dev/null
+++ b/third_party/rust/interrupt-support/src/lib.rs
@@ -0,0 +1,16 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+#![allow(unknown_lints)]
+#![warn(rust_2018_idioms)]
+
+mod error;
+mod interruptee;
+mod shutdown;
+mod sql;
+
+pub use error::Interrupted;
+pub use interruptee::*;
+pub use shutdown::*;
+pub use sql::*;