summary refs log tree commit diff
path: root/src/result.rs
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@gmail.com>2021-03-11 20:15:47 -0800
committerIrene Knapp <ireneista@gmail.com>2021-03-11 20:15:47 -0800
commit86990efcf8fa63decb05f462d745b95e4992dc77 (patch)
tree46990fd1c749ccca0b6477650973d83174e5e264 /src/result.rs
parenta159d4dd29491a1eb88163e63ceb41a903dc47b6 (diff)
refactor everything into smaller modules; move to using async-std; make the read loop async. some stuff doesn't work yet but it needed to be done and this is as clean a state as it's likely to get in, so we're committing it as a base to build on.
Diffstat (limited to 'src/result.rs')
-rw-r--r--src/result.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/result.rs b/src/result.rs
index 8207680..b757636 100644
--- a/src/result.rs
+++ b/src/result.rs
@@ -1,3 +1,5 @@
+#![forbid(unsafe_code)]
+
 use crate::error::Error;
 
 pub type Result<T> = std::result::Result<T, Error>;